	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loose_object_info
_loose_object_info:                     ## @loose_object_info
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_HEADER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_hashclr
LBB0_2:
	cmpq	$0, (%rbx)
	jne	LBB0_6
## %bb.3:
	cmpl	$0, 40(%rbx)
	jne	LBB0_6
## %bb.4:
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 32(%rbx)
	je	LBB0_38
LBB0_6:
	leaq	-72(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_map_loose_object
	testq	%rax, %rax
	je	LBB0_44
## %bb.7:
	movq	%rax, %r15
	cmpq	$0, 8(%rbx)
	leaq	-88(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movq	%rax, 8(%rbx)
LBB0_9:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	-72(%rbp), %rcx
	movq	%rcx, (%rax)
LBB0_11:
	movq	_OBJECT_INFO_ALLOW_UNKNOWN_TYPE@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rdx
	testl	%r13d, (%rax)
	je	LBB0_15
## %bb.12:
	leaq	-52(%rbp), %rdi
	leaq	-112(%rbp), %r9
	movq	%r15, %rsi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_unpack_loose_header_to_strbuf
	testq	%rax, %rax
	jns	LBB0_18
## %bb.13:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_17
LBB0_15:
	leaq	-52(%rbp), %rdi
	movq	%r15, %rsi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_unpack_loose_header
	testq	%rax, %rax
	jns	LBB0_18
## %bb.16:
	leaq	L_.str.1(%rip), %rdi
LBB0_17:
	callq	__
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_oid_to_hex
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_error
	testl	%eax, %eax
	js	LBB0_27
LBB0_18:
	cmpq	$0, -104(%rbp)
	je	LBB0_21
## %bb.19:
	movq	-112(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_parse_loose_header_extended
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_24
## %bb.20:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_23
LBB0_21:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_parse_loose_header_extended
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_24
## %bb.22:
	leaq	L_.str.3(%rip), %rdi
LBB0_23:
	callq	__
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_oid_to_hex
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_error
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_28
LBB0_24:
	cmpq	$0, 32(%rbx)
	je	LBB0_28
## %bb.25:
	movq	8(%rbx), %rax
	movq	(%rax), %rdx
	leaq	-52(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_unpack_loose_rest
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jne	LBB0_29
## %bb.26:
	leaq	-52(%rbp), %rdi
	callq	_git_inflate_end
	movq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_munmap
	movl	$-1, %r12d
	jmp	LBB0_30
LBB0_27:
	movl	%eax, %r12d
LBB0_28:
	leaq	-52(%rbp), %rdi
	callq	_git_inflate_end
LBB0_29:
	movq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_munmap
	testl	%r12d, %r12d
	je	LBB0_37
LBB0_30:
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	-88(%rbp), %rcx
	je	LBB0_32
## %bb.31:
	movl	%r12d, (%rax)
LBB0_32:
	cmpq	%rcx, 8(%rbx)
	jne	LBB0_34
LBB0_33:
	movq	$0, 8(%rbx)
LBB0_34:
	leaq	-112(%rbp), %rdi
	callq	_strbuf_release
	movq	_OI_LOOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	%r12d, %eax
	sarl	$31, %eax
	andl	%r12d, %eax
	jmp	LBB0_35
LBB0_37:
	xorl	%r12d, %r12d
	leaq	-88(%rbp), %rcx
	cmpq	%rcx, 8(%rbx)
	jne	LBB0_34
	jmp	LBB0_33
LBB0_38:
	cmpq	$0, 16(%rbx)
	je	LBB0_42
LBB0_39:
	leaq	-88(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_stat_loose_object
	testq	%rax, %rax
	js	LBB0_44
## %bb.40:
	movq	16(%rbx), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_35
## %bb.41:
	movq	-88(%rbp), %rdx
	movq	%rdx, (%rcx)
	jmp	LBB0_35
LBB0_44:
	movl	$-1, %eax
LBB0_35:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_45
## %bb.36:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_OBJECT_INFO_QUICK@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_39
## %bb.43:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_quick_has_loose
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
	jmp	LBB0_35
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_HEADER_LEN,4,2             ## @MAX_HEADER_LEN
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_OBJECT_INFO_QUICK,4,2          ## @OBJECT_INFO_QUICK
	.comm	_OBJECT_INFO_ALLOW_UNKNOWN_TYPE,4,2 ## @OBJECT_INFO_ALLOW_UNKNOWN_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to unpack %s header with --allow-unknown-type"

L_.str.1:                               ## @.str.1
	.asciz	"unable to unpack %s header"

L_.str.2:                               ## @.str.2
	.asciz	"unable to parse %s header with --allow-unknown-type"

L_.str.3:                               ## @.str.3
	.asciz	"unable to parse %s header"

	.comm	_OI_LOOSE,4,2                   ## @OI_LOOSE
	.no_dead_strip	_loose_object_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loose_object_info
_loose_object_info:                     ; @loose_object_info
	.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
	sub	sp, sp, #64
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_HEADER_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_HEADER_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh10:
	ldr	q0, [x8]
	stur	q0, [x29, #-112]
	ldr	x0, [x2, #48]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_hashclr
LBB0_2:
	ldr	x8, [x19]
	cbnz	x8, LBB0_6
; %bb.3:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_6
; %bb.4:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_34
LBB0_6:
	sub	x2, x29, #80
	mov	x0, x22
	mov	x1, x20
	bl	_map_loose_object
	cbz	x0, LBB0_38
; %bb.7:
	mov	x22, x0
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_9
; %bb.8:
	sub	x8, x29, #120
	str	x8, [x19, #8]
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.10:
	ldur	x9, [x29, #-80]
	str	x9, [x8]
LBB0_11:
Lloh11:
	adrp	x8, _OBJECT_INFO_ALLOW_UNKNOWN_TYPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OBJECT_INFO_ALLOW_UNKNOWN_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldur	x2, [x29, #-80]
	sub	x0, x29, #84
	tst	w8, w23
	b.eq	LBB0_14
; %bb.12:
	sub	x5, x29, #112
	mov	x1, x22
	mov	x3, x21
	mov	x4, x24
	bl	_unpack_loose_header_to_strbuf
	tbz	x0, #63, LBB0_17
; %bb.13:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_16
LBB0_14:
	mov	x1, x22
	mov	x3, x21
	mov	x4, x24
	bl	_unpack_loose_header
	tbz	x0, #63, LBB0_17
; %bb.15:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_16:
	bl	__
	mov	x24, x0
	mov	x0, x20
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x24
	bl	_error
	tbnz	w0, #31, LBB0_26
LBB0_17:
	ldur	x8, [x29, #-104]
	cbz	x8, LBB0_20
; %bb.18:
	ldur	x0, [x29, #-112]
	mov	x1, x19
	mov	x2, x23
	bl	_parse_loose_header_extended
	mov	x24, x0
	tbz	w0, #31, LBB0_23
; %bb.19:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_22
LBB0_20:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_parse_loose_header_extended
	mov	x24, x0
	tbz	w0, #31, LBB0_23
; %bb.21:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_22:
	bl	__
	mov	x23, x0
	mov	x0, x20
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x23
	bl	_error
	mov	x24, x0
	tbnz	w0, #31, LBB0_27
LBB0_23:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_27
; %bb.24:
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
	sub	x0, x29, #84
	mov	x1, x21
	mov	x3, x20
	bl	_unpack_loose_rest
	ldr	x8, [x19, #32]
	str	w0, [x8]
	cbnz	w0, LBB0_28
; %bb.25:
	sub	x0, x29, #84
	bl	_git_inflate_end
	ldur	x1, [x29, #-80]
	mov	x0, x22
	bl	_munmap
	mov	w24, #-1
	b	LBB0_29
LBB0_26:
	mov	x24, x0
LBB0_27:
	sub	x0, x29, #84
	bl	_git_inflate_end
LBB0_28:
	ldur	x1, [x29, #-80]
	mov	x0, x22
	bl	_munmap
	cbz	w24, LBB0_31
LBB0_29:
	ldr	x8, [x19]
	cbz	x8, LBB0_31
; %bb.30:
	str	w24, [x8]
LBB0_31:
	ldr	x8, [x19, #8]
	sub	x9, x29, #120
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
	str	xzr, [x19, #8]
LBB0_33:
	sub	x0, x29, #112
	bl	_strbuf_release
Lloh22:
	adrp	x8, _OI_LOOSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OI_LOOSE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	cmp	w24, #0
	csel	w0, w24, wzr, lt
	b	LBB0_39
LBB0_34:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_41
LBB0_35:
	sub	x2, x29, #120
	sub	x3, x29, #80
	mov	x0, x22
	mov	x1, x20
	bl	_stat_loose_object
	tbnz	x0, #63, LBB0_38
; %bb.36:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_43
; %bb.37:
	mov	w0, #0
	ldur	x9, [x29, #-120]
	str	x9, [x8]
	b	LBB0_39
LBB0_38:
	mov	w0, #-1
LBB0_39:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.40:
	sub	sp, x29, #64
	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_41:
Lloh28:
	adrp	x8, _OBJECT_INFO_QUICK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OBJECT_INFO_QUICK@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_35
; %bb.42:
	mov	x0, x22
	mov	x1, x20
	bl	_quick_has_loose
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_39
LBB0_43:
	mov	w0, #0
	b	LBB0_39
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_HEADER_LEN,4,2             ; @MAX_HEADER_LEN
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_OBJECT_INFO_QUICK,4,2          ; @OBJECT_INFO_QUICK
	.comm	_OBJECT_INFO_ALLOW_UNKNOWN_TYPE,4,2 ; @OBJECT_INFO_ALLOW_UNKNOWN_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to unpack %s header with --allow-unknown-type"

l_.str.1:                               ; @.str.1
	.asciz	"unable to unpack %s header"

l_.str.2:                               ; @.str.2
	.asciz	"unable to parse %s header with --allow-unknown-type"

l_.str.3:                               ; @.str.3
	.asciz	"unable to parse %s header"

	.comm	_OI_LOOSE,4,2                   ; @OI_LOOSE
	.no_dead_strip	_loose_object_info
.subsections_via_symbols
