-
Notifications
You must be signed in to change notification settings - Fork 0
/
max.s
37 lines (37 loc) · 934 Bytes
/
max.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 12, 0 sdk_version 12, 3
.globl _max1 ## -- Begin function max1
.p2align 4, 0x90
_max1: ## @max1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
cmpl %esi, %edi
cmovgl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _max2 ## -- Begin function max2
.p2align 4, 0x90
_max2: ## @max2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %eax
cmpl %esi, %edi
cmovgl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols