	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookuparg                      ## -- Begin function lookuparg
	.p2align	4, 0x90
_lookuparg:                             ## @lookuparg
	.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
	movq	(%rsi), %rax
	movq	_NAME@GOTPCREL(%rip), %rcx
	movl	$-1, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.2:
	movq	(%rcx), %rbx
	cmpq	8(%rcx), %rbx
	jae	LBB0_8
## %bb.3:
	movq	%rsi, %r12
	movq	%rbx, %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$24, %rbx
	addq	$24, %r13
	cmpq	8(%rcx), %rbx
	jae	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdx
	cmpq	8(%r12), %rdx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rdi
	movq	16(%r12), %rsi
	callq	_strncmp
	movq	(%r15), %rcx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	subq	(%rcx), %r13
	shrq	$3, %r13
	imull	$-1431655765, %r13d, %r14d      ## imm = 0xAAAAAAAB
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAME,8,3                       ## @NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookuparg                      ; -- Begin function lookuparg
	.p2align	2
_lookuparg:                             ; @lookuparg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAME@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.2:
	ldp	x21, x9, [x8]
	cmp	x21, x9
	b.hs	LBB0_8
; %bb.3:
	mov	x19, x1
	mov	x22, x21
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #24
	ldr	x9, [x8, #8]
	add	x21, x21, #24
	cmp	x22, x9
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x22, #8]
	ldr	x9, [x19, #8]
	cmp	x2, x9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22, #16]
	ldr	x1, [x19, #16]
	bl	_strncmp
	ldr	x8, [x20]
	cbnz	x0, LBB0_4
; %bb.7:
	ldr	x8, [x8]
	sub	x8, x21, x8
	lsr	x8, x8, #3
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	mul	w0, w8, w9
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME,8,3                       ; @NAME
.subsections_via_symbols
