	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_object                   ## -- Begin function parse_object
	.p2align	4, 0x90
_parse_object:                          ## @parse_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_lookup_replace_object
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_lookup_object
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	jne	LBB0_17
## %bb.2:
	movq	(%rbx), %rax
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_repo_has_object_file
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_4:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_repo_has_object_file
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_oid_object_info
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_check_object_signature
	testq	%rax, %rax
	js	LBB0_14
## %bb.7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_lookup_blob
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_parse_blob_buffer
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lookup_object                  ## TAILCALL
LBB0_8:
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_repo_read_object_file
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movq	%rax, %r12
	movq	-56(%rbp), %rbx
	movl	-44(%rbp), %edi
	callq	_type_name
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_check_object_signature
	testq	%rax, %rax
	js	LBB0_13
## %bb.10:
	movl	-44(%rbp), %edx
	movq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r9
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %r8
	callq	_parse_object_buffer
	movq	%rax, %rbx
	cmpl	$0, -48(%rbp)
	jne	LBB0_17
## %bb.11:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_17
LBB0_13:
	movq	%r12, %rdi
	callq	_free
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r15, %rdi
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r14, %rdi
LBB0_15:
	callq	_oid_to_hex
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_error
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_BLOB,8,3                   ## @OBJ_BLOB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash mismatch %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_object                   ; -- Begin function parse_object
	.p2align	2
_parse_object:                          ; @parse_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_lookup_replace_object
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_lookup_object
	cbz	x0, LBB0_4
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_16
; %bb.2:
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_repo_has_object_file
	cbnz	x0, LBB0_6
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_repo_has_object_file
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_oid_object_info
Lloh3:
	adrp	x8, _OBJ_BLOB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OBJ_BLOB@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
LBB0_6:
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_check_object_signature
	tbnz	x0, #63, LBB0_13
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_lookup_blob
	mov	x1, #0
	mov	w2, #0
	bl	_parse_blob_buffer
	mov	x0, x20
	mov	x1, x19
	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
	add	sp, sp, #80
	b	_lookup_object
LBB0_8:
	add	x2, sp, #4
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_repo_read_object_file
	cbz	x0, LBB0_15
; %bb.9:
	mov	x22, x0
	ldr	x23, [sp, #8]
	ldr	w0, [sp, #4]
	bl	_type_name
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_check_object_signature
	tbnz	x0, #63, LBB0_12
; %bb.10:
	ldr	w2, [sp, #4]
	ldr	x3, [sp, #8]
	mov	x5, sp
	mov	x0, x20
	mov	x1, x19
	mov	x4, x22
	bl	_parse_object_buffer
	mov	x23, x0
	ldr	w8, [sp]
	cbnz	w8, LBB0_16
; %bb.11:
	mov	x0, x22
	bl	_free
	b	LBB0_16
LBB0_12:
	mov	x0, x22
	bl	_free
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
	mov	x0, x21
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	b	LBB0_14
LBB0_13:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x20
LBB0_14:
	bl	_error
LBB0_15:
	mov	x23, #0
LBB0_16:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_BLOB,8,3                   ; @OBJ_BLOB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash mismatch %s"

.subsections_via_symbols
