	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_get_arg
_exec_get_arg:                          ## @exec_get_arg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rsi), %r15d
	movq	8(%rsi), %rax
	movq	_PRES_REGTAB_COUNT@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r12), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_exec_get_reg_value
	callq	_lrint
	movl	%eax, %esi
LBB0_2:
	movl	%r15d, %edi
	callq	_get_offset_reg
	movl	%eax, %r14d
	addl	%r13d, %r14d
	addl	4(%r12), %r14d
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_get_reg_offset
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movl	(%rax,%r15,4), %r8d
	cmpl	%r8d, %r12d
	jb	LBB0_8
## %bb.3:
	movq	%rbx, %r13
	movq	_PRES_REGTAB_CONST@GOTPCREL(%rip), %rax
	movl	%r8d, %ebx
	cmpl	(%rax), %r15d
	jne	LBB0_6
## %bb.4:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	leal	(%rbx,%rbx), %eax
	cmpl	%r8d, %ebx
	jb	LBB0_5
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_WARN
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ebx
	movq	%r13, %rax
	movq	(%r13), %rax
	cmpl	(%rax,%r15,4), %edx
	jae	LBB0_9
## %bb.7:
	movl	%r15d, %edi
	movl	%edx, %esi
	callq	_get_offset_reg
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_get_reg_components
	movl	%eax, %ecx
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r14d
	addl	%ebx, %r14d
	movq	%r13, %rbx
LBB0_8:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_exec_get_reg_value             ## TAILCALL
LBB0_9:
	xorps	%xmm0, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRES_REGTAB_COUNT,8,3          ## @PRES_REGTAB_COUNT
	.comm	_PRES_REGTAB_CONST,4,2          ## @PRES_REGTAB_CONST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrapping register index %u, table %u, wrap_size %u, table size %u.\n"

	.no_dead_strip	_exec_get_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_get_arg
_exec_get_arg:                          ; @exec_get_arg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w19, [x1]
	ldr	x1, [x1, #8]
Lloh0:
	adrp	x8, _PRES_REGTAB_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRES_REGTAB_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w1, #0
	b	LBB0_3
LBB0_2:
	ldr	w2, [x22, #16]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_exec_get_reg_value
	bl	_lrint
	mov	x1, x0
LBB0_3:
	mov	x0, x19
	bl	_get_offset_reg
	ldr	w8, [x22, #4]
	add	w9, w0, w21
	add	w21, w9, w8
	mov	x0, x19
	mov	x1, x21
	bl	_get_reg_offset
	ldr	x8, [x20]
	ldr	w4, [x8, x19, lsl #2]
	cmp	w0, w4
	b.lo	LBB0_9
; %bb.4:
	mov	x22, x0
Lloh3:
	adrp	x8, _PRES_REGTAB_CONST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PRES_REGTAB_CONST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x23, x4
	cmp	w19, w8
	b.ne	LBB0_7
; %bb.5:
	mov	w8, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	lsl	w8, w8, #1
	cmp	w23, w4
	b.lo	LBB0_6
LBB0_7:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x19
	mov	x3, x23
	bl	_WARN
	udiv	w8, w22, w23
	msub	w1, w8, w23, w22
	ldr	x8, [x20]
	ldr	w8, [x8, x19, lsl #2]
	cmp	w1, w8
	b.hs	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_get_offset_reg
	mov	x22, x0
	mov	x0, x19
	bl	_get_reg_components
	udiv	w8, w21, w0
	msub	w8, w8, w0, w21
	add	w21, w8, w22
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_exec_get_reg_value
LBB0_10:
	movi	d0, #0000000000000000
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PRES_REGTAB_COUNT,8,3          ; @PRES_REGTAB_COUNT
	.comm	_PRES_REGTAB_CONST,4,2          ; @PRES_REGTAB_CONST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrapping register index %u, table %u, wrap_size %u, table size %u.\n"

	.no_dead_strip	_exec_get_arg
.subsections_via_symbols
