	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function use_wt_file
_use_wt_file:                           ## @use_wt_file
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rsi
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addstr
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_add_path
	movl	-48(%rbp), %edi
	leaq	-40(%rbp), %rsi
	callq	_lstat
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	-40(%rbp), %edi
	callq	_S_ISLNK
	testl	%eax, %eax
	je	LBB0_2
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-48(%rbp), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	xorl	%ebx, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	$0, (%rsp)
	movq	_the_index@GOTPCREL(%rip), %rdi
	leaq	-32(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	movl	%eax, %edx
	movq	%r15, %r9
	callq	_index_fd
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_is_null_oid
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_oidcpy
	movl	$1, %ebx
	jmp	LBB0_7
LBB0_6:
	callq	_oideq
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_the_index,4,2                  ## @the_index
	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
	.no_dead_strip	_use_wt_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function use_wt_file
_use_wt_file:                           ; @use_wt_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
	mov	x20, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #24
	bl	_strbuf_addstr
	ldr	w1, [sp, #28]
	add	x0, sp, #24
	mov	x2, x20
	bl	_add_path
	ldr	w0, [sp, #24]
	add	x1, sp, #16
	bl	_lstat
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #16]
	bl	_S_ISLNK
	cbz	w0, LBB0_4
LBB0_2:
	mov	w20, #0
LBB0_3:
	add	x0, sp, #24
	bl	_strbuf_release
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	w0, [sp, #24]
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_2
; %bb.5:
	mov	x2, x0
Lloh6:
	adrp	x8, _OBJ_BLOB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OBJ_BLOB@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x0, _the_index@GOTPAGE
Lloh10:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	add	x1, sp, #8
	add	x3, sp, #16
	mov	x5, x20
	mov	w6, #0
	bl	_index_fd
	mov	w20, #0
	cbnz	w0, LBB0_3
; %bb.6:
	mov	x0, x19
	bl	_is_null_oid
	add	x1, sp, #8
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_oidcpy
	mov	w20, #1
	b	LBB0_3
LBB0_8:
	mov	x0, x19
	bl	_oideq
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_the_index,4,2                  ; @the_index
	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
	.no_dead_strip	_use_wt_file
.subsections_via_symbols
