	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_object
_check_object:                          ## @check_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_IN_PACK
	testq	%rax, %rax
	je	LBB0_35
## %bb.1:
	movq	%r13, %rdi
	callq	_IN_PACK
	movq	%rax, %rbx
	movq	$0, -48(%rbp)
	movl	(%r13), %edx
	leaq	-48(%rbp), %rsi
	leaq	-96(%rbp), %rcx
	movq	%rax, %rdi
	callq	_use_pack
	movq	-96(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rax, %rdi
	callq	_unpack_object_header_buffer
	testq	%rax, %rax
	je	LBB0_34
## %bb.2:
	movq	%rax, %r15
	movl	-60(%rbp), %esi
	movl	%esi, 4(%r13)
	cmpl	$128, %esi
	je	LBB0_10
## %bb.3:
	cmpl	$129, %esi
	jne	LBB0_13
## %bb.4:
	movl	(%r13), %edx
	addl	%r15d, %edx
	leaq	-48(%rbp), %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_use_pack
	movq	%rax, %r12
	movzbl	(%rax), %eax
	movl	%eax, %ebx
	andl	$127, %ebx
	movl	$1, %r14d
	testb	%al, %al
	js	LBB0_15
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	testl	%ebx, %ebx
	jle	LBB0_21
## %bb.6:
	movl	(%r13), %esi
	subl	%ebx, %esi
	testl	%esi, %esi
	jle	LBB0_21
## %bb.7:
	movq	_reuse_delta@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_24
## %bb.8:
	cmpl	$0, 36(%r13)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
## %bb.9:
	xorl	%r12d, %r12d
	jmp	LBB0_27
LBB0_10:
	movq	_reuse_delta@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.11:
	cmpl	$0, 36(%r13)
	je	LBB0_22
LBB0_19:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_13:
	movq	%r13, %rdi
	callq	_oe_set_type
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_SET_SIZE
	movq	%r15, 8(%r13)
	movq	%r13, %rdi
	callq	_oe_type
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_34
## %bb.14:
	movq	%r13, %rdi
	callq	_oe_type
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_34
	jmp	LBB0_38
LBB0_15:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%ebx, %edi
	movl	$7, %esi
	callq	_MSB
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movzbl	(%r12,%r14), %eax
	incq	%r14
	shll	$7, %ebx
	movl	%eax, %ecx
	andl	$127, %ecx
	orl	%ecx, %ebx
	testb	%al, %al
	js	LBB0_16
	jmp	LBB0_5
LBB0_20:
	leaq	L_.str.1(%rip), %rdi
LBB0_21:
	callq	__
	movl	%eax, %ebx
	leaq	24(%r13), %rdi
	callq	_oid_to_hex
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_error
	jmp	LBB0_34
LBB0_22:
	movl	(%r13), %edx
	addl	%r15d, %edx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_use_pack
	movq	%rax, %r12
LBB0_23:
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	addq	%rax, %r15
	jmp	LBB0_28
LBB0_24:
	xorl	%r12d, %r12d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_25:
	movq	%rbx, %rdi
	callq	_find_pack_revindex
	testq	%rax, %rax
	je	LBB0_34
## %bb.26:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nth_packed_object_sha1
	movq	%rax, %r12
LBB0_27:
	addq	%r14, %r15
LBB0_28:
	movq	%r15, 8(%r13)
	leaq	-80(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_can_reuse_delta
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	movl	4(%r13), %esi
	movq	%r13, %rdi
	callq	_oe_set_type
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_SET_SIZE
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_SET_DELTA_SIZE
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.30:
	movq	%r13, %rdi
	callq	_SET_DELTA
	movq	-80(%rbp), %rdi
	movl	28(%rdi), %eax
	movl	%eax, 32(%r13)
	movq	%r13, %rsi
	callq	_SET_DELTA_CHILD
	jmp	LBB0_38
LBB0_31:
	movq	%r13, %rdi
	callq	_oe_type
	testq	%rax, %rax
	je	LBB0_34
## %bb.32:
	movl	(%r13), %edx
	addl	8(%r13), %edx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_size_from_delta
	movq	%rax, -88(%rbp)
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_SET_SIZE
	jmp	LBB0_38
LBB0_34:
	leaq	-48(%rbp), %rdi
	callq	_unuse_pack
LBB0_35:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r13), %rsi
	leaq	-88(%rbp), %rdx
	callq	_oid_object_info
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_oe_set_type
	cmpq	$0, 16(%r13)
	je	LBB0_39
## %bb.36:
	movq	-88(%rbp), %rsi
	movq	%r13, %rdi
	callq	_SET_SIZE
	jmp	LBB0_39
LBB0_37:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_SET_DELTA_EXT
LBB0_38:
	leaq	-48(%rbp), %rdi
	callq	_unuse_pack
LBB0_39:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_OBJ_BLOB,8,3                   ## @OBJ_BLOB
	.comm	_reuse_delta,4,2                ## @reuse_delta
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"delta base offset overflow in pack for %s"

L_.str.2:                               ## @.str.2
	.asciz	"delta base offset out of bound for %s"

	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_check_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_object
_check_object:                          ; @check_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	bl	_IN_PACK
	cbz	x0, LBB0_35
; %bb.1:
	mov	x0, x19
	bl	_IN_PACK
	mov	x20, x0
	str	xzr, [sp, #32]
	ldr	w2, [x19]
	add	x1, sp, #32
	add	x3, sp, #16
	bl	_use_pack
	ldr	x1, [sp, #16]
	add	x2, sp, #12
	mov	x3, sp
	bl	_unpack_object_header_buffer
	cbz	x0, LBB0_34
; %bb.2:
	mov	x21, x0
	ldr	w1, [sp, #12]
	str	w1, [x19, #4]
	cmp	w1, #128
	b.eq	LBB0_9
; %bb.3:
	cmp	w1, #129
	b.ne	LBB0_12
; %bb.4:
	ldr	w8, [x19]
	add	w2, w8, w21
	add	x1, sp, #32
	mov	x0, x20
	mov	x3, #0
	bl	_use_pack
	ldrb	w9, [x0]
	and	w8, w9, #0x7f
	tbnz	w9, #7, LBB0_14
; %bb.5:
	mov	w25, #1
LBB0_6:
	ldr	w9, [x19]
	sub	w1, w9, w8
	cmp	w8, #1
	ccmp	w1, #1, #8, ge
	b.ge	LBB0_18
; %bb.7:
Lloh0:
	adrp	x22, l_.str.2@PAGE
Lloh1:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x22
	bl	__
	mov	x20, x0
	add	x0, x19, #24
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x20
	bl	_error
	b	LBB0_34
LBB0_9:
Lloh2:
	adrp	x8, _reuse_delta@GOTPAGE
Lloh3:
	ldr	x8, [x8, _reuse_delta@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.10:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_22
LBB0_11:
	mov	x22, #0
	b	LBB0_23
LBB0_12:
	mov	x0, x19
	bl	_oe_set_type
	ldr	x1, [sp]
	mov	x0, x19
	bl	_SET_SIZE
	str	x21, [x19, #8]
	mov	x0, x19
	bl	_oe_type
Lloh5:
	adrp	x8, _OBJ_COMMIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OBJ_COMMIT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_34
; %bb.13:
	mov	x0, x19
	bl	_oe_type
Lloh8:
	adrp	x8, _OBJ_BLOB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OBJ_BLOB@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_34
	b	LBB0_31
LBB0_14:
	mov	x23, x0
	mov	w26, #1
Lloh11:
	adrp	x22, l_.str.1@PAGE
Lloh12:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	adds	w24, w8, #1
	b.hs	LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x24
	mov	w1, #7
	bl	_MSB
	cbnz	w0, LBB0_8
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x25, x26, #1
	ldrb	w9, [x23, x26]
	mov	x8, x9
	bfi	w8, w24, #7, #25
	mov	x26, x25
	tbnz	w9, #7, LBB0_15
	b	LBB0_6
LBB0_18:
Lloh13:
	adrp	x8, _reuse_delta@GOTPAGE
Lloh14:
	ldr	x8, [x8, _reuse_delta@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	w8, LBB0_20
; %bb.19:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_32
LBB0_20:
	mov	x22, #0
LBB0_21:
	add	x8, x25, x21
	b	LBB0_24
LBB0_22:
	ldr	w8, [x19]
	add	w2, w8, w21
	add	x1, sp, #32
	mov	x0, x20
	mov	x3, #0
	bl	_use_pack
	mov	x22, x0
LBB0_23:
Lloh16:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh17:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	add	x8, x21, x8
LBB0_24:
	str	x8, [x19, #8]
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x19
	bl	_can_reuse_delta
	cbz	x0, LBB0_27
; %bb.25:
	ldr	w1, [x19, #4]
	mov	x0, x19
	bl	_oe_set_type
	ldr	x1, [sp]
	mov	x0, x19
	bl	_SET_SIZE
	ldr	x1, [sp]
	mov	x0, x19
	bl	_SET_DELTA_SIZE
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_30
; %bb.26:
	mov	x0, x19
	bl	_SET_DELTA
	ldr	x0, [sp, #24]
	ldr	w8, [x0, #28]
	str	w8, [x19, #32]
	mov	x1, x19
	bl	_SET_DELTA_CHILD
	b	LBB0_31
LBB0_27:
	mov	x0, x19
	bl	_oe_type
	cbz	x0, LBB0_34
; %bb.28:
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	add	w2, w8, w9
	add	x1, sp, #32
	mov	x0, x20
	bl	_get_size_from_delta
	str	x0, [sp, #40]
	cbz	x0, LBB0_34
; %bb.29:
	mov	x1, x0
	mov	x0, x19
	bl	_SET_SIZE
	b	LBB0_31
LBB0_30:
	mov	x0, x19
	mov	x1, x22
	bl	_SET_DELTA_EXT
LBB0_31:
	add	x0, sp, #32
	bl	_unuse_pack
	b	LBB0_37
LBB0_32:
	mov	x0, x20
	bl	_find_pack_revindex
	cbz	x0, LBB0_34
; %bb.33:
	ldr	w1, [x0]
	mov	x0, x20
	bl	_nth_packed_object_sha1
	mov	x22, x0
	b	LBB0_21
LBB0_34:
	add	x0, sp, #32
	bl	_unuse_pack
LBB0_35:
Lloh19:
	adrp	x8, _the_repository@GOTPAGE
Lloh20:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	add	x1, x19, #24
	add	x2, sp, #40
	bl	_oid_object_info
	mov	x1, x0
	mov	x0, x19
	bl	_oe_set_type
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_37
; %bb.36:
	ldr	x1, [sp, #40]
	mov	x0, x19
	bl	_SET_SIZE
LBB0_37:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_OBJ_BLOB,8,3                   ; @OBJ_BLOB
	.comm	_reuse_delta,4,2                ; @reuse_delta
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"delta base offset overflow in pack for %s"

l_.str.2:                               ; @.str.2
	.asciz	"delta base offset out of bound for %s"

	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_check_object
.subsections_via_symbols
