	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dolookup
_dolookup:                              ## @dolookup
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_checkactivedir
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_curinum@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, -40(%rbp)
	movq	_findino@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%r14, -64(%rbp)
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_curinode@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-64(%rbp), %rsi
	callq	_ckinode
	movq	_FOUND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movl	-56(%rbp), %edi
	movl	%edi, (%r15)
	callq	_ginode
	movl	%eax, (%r12)
	xorl	%edi, %edi
	callq	_printactive
	movl	$1, %ebx
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_warnx
LBB0_4:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curinum,4,2                    ## @curinum
	.comm	_findino,4,2                    ## @findino
	.comm	_DATA,4,2                       ## @DATA
	.comm	_IGNORE,4,2                     ## @IGNORE
	.comm	_curinode,4,2                   ## @curinode
	.comm	_FOUND,4,2                      ## @FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name `%s' not found in current inode directory"

	.no_dead_strip	_dolookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dolookup
_dolookup:                              ; @dolookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	bl	_checkactivedir
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x20, _curinum@GOTPAGE
Lloh1:
	ldr	x20, [x20, _curinum@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _findino@GOTPAGE
Lloh3:
	ldr	x9, [x9, _findino@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #20]
	str	x19, [sp]
Lloh5:
	adrp	x8, _DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IGNORE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IGNORE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #12]
Lloh11:
	adrp	x21, _curinode@GOTPAGE
Lloh12:
	ldr	x21, [x21, _curinode@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, sp
	bl	_ckinode
Lloh13:
	adrp	x8, _FOUND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FOUND@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [sp, #8]
	str	w0, [x20]
	bl	_ginode
	str	w0, [x21]
	mov	w0, #0
	bl	_printactive
	mov	w0, #1
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warnx
	mov	w0, #0
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_curinum,4,2                    ; @curinum
	.comm	_findino,4,2                    ; @findino
	.comm	_DATA,4,2                       ; @DATA
	.comm	_IGNORE,4,2                     ; @IGNORE
	.comm	_curinode,4,2                   ; @curinode
	.comm	_FOUND,4,2                      ; @FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name `%s' not found in current inode directory"

	.no_dead_strip	_dolookup
.subsections_via_symbols
