	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsck_obj_buffer
_fsck_obj_buffer:                       ## @fsck_obj_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r9
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %edx
	movq	%rdi, %rbx
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_parse_object_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_REACHABLE@GOTPCREL(%rip), %rcx
	movq	_SEEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	(%rax), %edx
	movl	%edx, (%rax)
	movq	_HAS_OBJ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fsck_obj                       ## TAILCALL
LBB0_1:
	movq	_ERROR_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errors_found@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_ERROR_OBJECT,4,2               ## @ERROR_OBJECT
	.comm	_errors_found,4,2               ## @errors_found
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: object corrupt or missing"

	.comm	_REACHABLE,4,2                  ## @REACHABLE
	.comm	_SEEN,4,2                       ## @SEEN
	.comm	_HAS_OBJ,4,2                    ## @HAS_OBJ
	.no_dead_strip	_fsck_obj_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsck_obj_buffer
_fsck_obj_buffer:                       ; @fsck_obj_buffer
	.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
	mov	x5, x4
	mov	x20, x3
	mov	x19, x2
	mov	x2, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x3, x19
	mov	x4, x20
	bl	_parse_object_buffer
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _REACHABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REACHABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SEEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SEEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
Lloh9:
	adrp	x9, _HAS_OBJ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HAS_OBJ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	mov	x1, x20
	mov	x2, x19
	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	_fsck_obj
LBB0_2:
Lloh12:
	adrp	x8, _ERROR_OBJECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR_OBJECT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _errors_found@GOTPAGE
Lloh16:
	ldr	x9, [x9, _errors_found@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
	mov	x0, x21
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	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	_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_ERROR_OBJECT,4,2               ; @ERROR_OBJECT
	.comm	_errors_found,4,2               ; @errors_found
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: object corrupt or missing"

	.comm	_REACHABLE,4,2                  ; @REACHABLE
	.comm	_SEEN,4,2                       ; @SEEN
	.comm	_HAS_OBJ,4,2                    ; @HAS_OBJ
	.no_dead_strip	_fsck_obj_buffer
.subsections_via_symbols
