	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mzap_lookup
_mzap_lookup:                           ## @mzap_lookup
	.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, %r15
	movslq	(%rdi), %rax
	shlq	$9, %rax
	movq	_MZAP_ENT_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rsi
	orq	%rcx, %rsi
	shrq	$32, %rsi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	decl	%eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movq	_zap_scratch@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r14
	movl	4(%r14,%rbx,8), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%r12, %rbx
	jne	LBB0_5
LBB0_8:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_6:
	movl	(%r14,%rbx,8), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zap_scratch,8,3                ## @zap_scratch
	.comm	_MZAP_ENT_LEN,8,3               ## @MZAP_ENT_LEN
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_mzap_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mzap_lookup
_mzap_lookup:                           ; @mzap_lookup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldrsw	x8, [x0]
	lsl	x8, x8, #9
Lloh0:
	adrp	x9, _MZAP_ENT_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MZAP_ENT_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	udiv	x8, x8, x9
	sub	w21, w8, #1
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x22, #0
	mov	x23, #0
Lloh3:
	adrp	x8, _zap_scratch@GOTPAGE
Lloh4:
	ldr	x8, [x8, _zap_scratch@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x24]
	add	x8, x25, x22
	ldr	w0, [x8, #4]
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	add	x22, x22, #8
	cmp	x23, x21
	b.ne	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x25, x22]
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_zap_scratch,8,3                ; @zap_scratch
	.comm	_MZAP_ENT_LEN,8,3               ; @MZAP_ENT_LEN
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_mzap_lookup
.subsections_via_symbols
