	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zap_lookup
_zap_lookup:                            ## @zap_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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_SPA_MINBLOCKSHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	movq	%r9, %r13
	movq	%r8, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	_zap_scratch@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	movq	%rax, %r8
	callq	_dnode_read
	testl	%eax, %eax
	je	LBB0_1
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_zap_scratch@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	_ZBT_MICRO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mzap_lookup                    ## TAILCALL
LBB0_2:
	movq	_ZBT_HEADER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_3
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r15, %r8
	movq	%r13, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fzap_lookup                    ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_printf
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_SPA_MINBLOCKSHIFT,8,3          ## @SPA_MINBLOCKSHIFT
	.comm	_zap_scratch,8,3                ## @zap_scratch
	.comm	_ZBT_MICRO,8,3                  ## @ZBT_MICRO
	.comm	_ZBT_HEADER,8,3                 ## @ZBT_HEADER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ZFS: invalid zap_type=%d\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_zap_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zap_lookup
_zap_lookup:                            ; @zap_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
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _SPA_MINBLOCKSHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPA_MINBLOCKSHIFT@GOTPAGEOFF]
	ldr	x9, [x1]
Lloh2:
	ldr	x8, [x8]
	lsl	x4, x9, x8
Lloh3:
	adrp	x25, _zap_scratch@GOTPAGE
Lloh4:
	ldr	x25, [x25, _zap_scratch@GOTPAGEOFF]
	ldr	x3, [x25]
	mov	w2, #0
	bl	_dnode_read
	cbz	w0, LBB0_2
LBB0_1:
	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
LBB0_2:
	ldr	x8, [x25]
	ldr	x1, [x8]
Lloh5:
	adrp	x8, _ZBT_MICRO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZBT_MICRO@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x19
	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
	b	_mzap_lookup
LBB0_4:
Lloh8:
	adrp	x8, _ZBT_HEADER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZBT_HEADER@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x20
	mov	x5, x19
	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
	b	_fzap_lookup
LBB0_6:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_printf
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SPA_MINBLOCKSHIFT,8,3          ; @SPA_MINBLOCKSHIFT
	.comm	_zap_scratch,8,3                ; @zap_scratch
	.comm	_ZBT_MICRO,8,3                  ; @ZBT_MICRO
	.comm	_ZBT_HEADER,8,3                 ; @ZBT_HEADER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ZFS: invalid zap_type=%d\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_zap_lookup
.subsections_via_symbols
