	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_unreachable_object
_check_unreachable_object:              ## @check_unreachable_object
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movq	_HAS_OBJ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r12
	movq	_show_unreachable@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.16:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_printable_type
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_describe_object
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf_ln                      ## TAILCALL
LBB0_2:
	movq	_USED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_show_dangling@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_printable_type
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_describe_object
	movl	%r14d, %edi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_printf_ln
LBB0_5:
	movq	_write_lost_and_found@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.6:
	movq	8(%r12), %rax
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	%r12, %rdi
	callq	_describe_object
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_git_pathdup
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_safe_create_leading_directories_const
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_xfopen
	movq	%rax, %r15
	movq	8(%r12), %rax
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_fileno
	addq	$16, %r12
	movl	%eax, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_stream_blob_to_fd
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_die_errno
	jmp	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	callq	_describe_object
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_12:
	movq	%r15, %rdi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_die_errno
LBB0_14:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HAS_OBJ,4,2                    ## @HAS_OBJ
	.comm	_show_unreachable,8,3           ## @show_unreachable
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unreachable %s %s"

	.comm	_USED,4,2                       ## @USED
	.comm	_show_dangling,8,3              ## @show_dangling
L_.str.1:                               ## @.str.1
	.asciz	"dangling %s %s"

	.comm	_write_lost_and_found,8,3       ## @write_lost_and_found
L_.str.2:                               ## @.str.2
	.asciz	"lost-found/%s/%s"

	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
L_.str.3:                               ## @.str.3
	.asciz	"commit"

L_.str.4:                               ## @.str.4
	.asciz	"other"

L_.str.5:                               ## @.str.5
	.asciz	"could not create lost-found"

L_.str.6:                               ## @.str.6
	.asciz	"w"

	.comm	_OBJ_BLOB,8,3                   ## @OBJ_BLOB
L_.str.7:                               ## @.str.7
	.asciz	"could not write '%s'"

L_.str.8:                               ## @.str.8
	.asciz	"%s\n"

L_.str.9:                               ## @.str.9
	.asciz	"could not finish '%s'"

	.no_dead_strip	_check_unreachable_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_unreachable_object
_check_unreachable_object:              ; @check_unreachable_object
	.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	w8, [x0]
Lloh0:
	adrp	x9, _HAS_OBJ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HAS_OBJ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x9, _show_unreachable@GOTPAGE
Lloh4:
	ldr	x9, [x9, _show_unreachable@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_printable_type
	mov	x21, x0
	mov	x0, x19
	bl	_describe_object
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	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
	b	_printf_ln
LBB0_3:
Lloh8:
	adrp	x9, _USED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _USED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
	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
LBB0_5:
Lloh11:
	adrp	x8, _show_dangling@GOTPAGE
Lloh12:
	ldr	x8, [x8, _show_dangling@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_printable_type
	mov	x21, x0
	mov	x0, x19
	bl	_describe_object
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_printf_ln
LBB0_7:
Lloh16:
	adrp	x8, _write_lost_and_found@GOTPAGE
Lloh17:
	ldr	x8, [x8, _write_lost_and_found@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.8:
	ldr	x8, [x19, #8]
Lloh19:
	adrp	x9, _OBJ_COMMIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _OBJ_COMMIT@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, l_.str.4@PAGE
Lloh23:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh24:
	adrp	x11, l_.str.3@PAGE
Lloh25:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x8, x9
	csel	x20, x11, x10, eq
	mov	x0, x19
	bl	_describe_object
	mov	x2, x0
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_git_pathdup
	mov	x20, x0
	bl	_safe_create_leading_directories_const
	cbz	x0, LBB0_10
; %bb.9:
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	bl	_error
	b	LBB0_16
LBB0_10:
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_xfopen
	mov	x21, x0
	ldr	x8, [x19, #8]
Lloh32:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh33:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x21
	bl	_fileno
	add	x1, x19, #16
	mov	x2, #0
	mov	w3, #1
	bl	_stream_blob_to_fd
	cbz	x0, LBB0_14
; %bb.12:
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die_errno
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_describe_object
	mov	x2, x0
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_fprintf
LBB0_14:
	mov	x0, x21
	bl	_fclose
	cbz	x0, LBB0_16
; %bb.15:
Lloh39:
	adrp	x0, l_.str.9@PAGE
Lloh40:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die_errno
LBB0_16:
	mov	x0, x20
	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
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_HAS_OBJ,4,2                    ; @HAS_OBJ
	.comm	_show_unreachable,8,3           ; @show_unreachable
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unreachable %s %s"

	.comm	_USED,4,2                       ; @USED
	.comm	_show_dangling,8,3              ; @show_dangling
l_.str.1:                               ; @.str.1
	.asciz	"dangling %s %s"

	.comm	_write_lost_and_found,8,3       ; @write_lost_and_found
l_.str.2:                               ; @.str.2
	.asciz	"lost-found/%s/%s"

	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
l_.str.3:                               ; @.str.3
	.asciz	"commit"

l_.str.4:                               ; @.str.4
	.asciz	"other"

l_.str.5:                               ; @.str.5
	.asciz	"could not create lost-found"

l_.str.6:                               ; @.str.6
	.asciz	"w"

	.comm	_OBJ_BLOB,8,3                   ; @OBJ_BLOB
l_.str.7:                               ; @.str.7
	.asciz	"could not write '%s'"

l_.str.8:                               ; @.str.8
	.asciz	"%s\n"

l_.str.9:                               ; @.str.9
	.asciz	"could not finish '%s'"

	.no_dead_strip	_check_unreachable_object
.subsections_via_symbols
