	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_object_buffer            ## -- Begin function parse_object_buffer
	.p2align	4, 0x90
_parse_object_buffer:                   ## @parse_object_buffer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	$0, (%r9)
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_lookup_blob
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_parse_blob_buffer
LBB0_3:
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_21
LBB0_4:
	movq	%r9, %r12
	movl	%edx, %r14d
	movq	_OBJ_TREE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_11
## %bb.5:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_lookup_tree
	testq	%rax, %rax
	je	LBB0_20
## %bb.6:
	movq	%rax, %rbx
	cmpl	$0, 8(%rax)
	je	LBB0_7
## %bb.8:
	cmpq	$0, (%rbx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_21
	jmp	LBB0_9
LBB0_11:
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_16
## %bb.12:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_lookup_commit
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r15, %r14
	movq	%r15, %rdx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	_parse_commit_buffer
	testq	%rax, %rax
	jne	LBB0_20
## %bb.14:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_get_cached_commit_buffer
	testl	%eax, %eax
	jne	LBB0_21
## %bb.15:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_set_commit_buffer
	movl	$1, (%r12)
	jmp	LBB0_21
LBB0_16:
	movq	_OBJ_TAG@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_19
## %bb.17:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_lookup_tag
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_parse_tag_buffer
	jmp	LBB0_3
LBB0_19:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_warning
	jmp	LBB0_20
LBB0_7:
	movq	$0, (%rbx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_9:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_tree_buffer
	testq	%rax, %rax
	je	LBB0_10
LBB0_20:
	xorl	%ebx, %ebx
LBB0_21:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$1, (%r12)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
	.comm	_OBJ_TREE,4,2                   ## @OBJ_TREE
	.comm	_OBJ_COMMIT,4,2                 ## @OBJ_COMMIT
	.comm	_OBJ_TAG,4,2                    ## @OBJ_TAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"object %s has unknown type id %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_object_buffer            ; -- Begin function parse_object_buffer
	.p2align	2
_parse_object_buffer:                   ; @parse_object_buffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x20, x3
	mov	x19, x1
	mov	x23, x0
	str	wzr, [x5]
Lloh0:
	adrp	x8, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_BLOB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x23
	mov	x1, x19
	bl	_lookup_blob
	mov	x19, x0
	cbz	x0, LBB0_19
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_parse_blob_buffer
	cbnz	x0, LBB0_18
	b	LBB0_19
LBB0_3:
	mov	x22, x5
	mov	x24, x2
Lloh3:
	adrp	x8, _OBJ_TREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OBJ_TREE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x23
	mov	x1, x19
	bl	_lookup_tree
	mov	x19, x0
	cbz	x0, LBB0_19
; %bb.5:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_16
; %bb.6:
	ldr	x8, [x19]
	cbnz	x8, LBB0_19
	b	LBB0_17
LBB0_7:
Lloh6:
	adrp	x8, _OBJ_COMMIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OBJ_COMMIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_12
; %bb.8:
	mov	x0, x23
	mov	x1, x19
	bl	_lookup_commit
	mov	x19, x0
	cbz	x0, LBB0_19
; %bb.9:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #1
	bl	_parse_commit_buffer
	cbnz	x0, LBB0_18
; %bb.10:
	mov	x0, x23
	mov	x1, x19
	mov	x2, #0
	bl	_get_cached_commit_buffer
	cbnz	w0, LBB0_19
; %bb.11:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_set_commit_buffer
	b	LBB0_20
LBB0_12:
Lloh9:
	adrp	x8, _OBJ_TAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OBJ_TAG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w24
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x23
	mov	x1, x19
	bl	_lookup_tag
	mov	x19, x0
	cbz	x0, LBB0_19
; %bb.14:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_parse_tag_buffer
	cbnz	x0, LBB0_18
	b	LBB0_19
LBB0_15:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_warning
	b	LBB0_18
LBB0_16:
	str	xzr, [x19]
LBB0_17:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_parse_tree_buffer
	cbz	x0, LBB0_20
LBB0_18:
	mov	x19, #0
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	w8, #1
	str	w8, [x22]
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
	.comm	_OBJ_TREE,4,2                   ; @OBJ_TREE
	.comm	_OBJ_COMMIT,4,2                 ; @OBJ_COMMIT
	.comm	_OBJ_TAG,4,2                    ; @OBJ_TAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"object %s has unknown type id %d"

.subsections_via_symbols
