	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsck_object                    ## -- Begin function fsck_object
	.p2align	4, 0x90
_fsck_object:                           ## @fsck_object
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rax
	movq	(%rdi), %r8
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %r8
	jne	LBB0_2
## %bb.7:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_fsck_blob                      ## TAILCALL
LBB0_6:
	movq	_FSCK_MSG_BAD_OBJECT_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rax
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	popq	%rbp
	jmp	_report                         ## TAILCALL
LBB0_2:
	movq	_OBJ_TREE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %r8
	jne	LBB0_3
## %bb.8:
	movq	%rax, %rdi
	movq	%rcx, %rsi
	popq	%rbp
	jmp	_fsck_tree                      ## TAILCALL
LBB0_3:
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %r8
	jne	LBB0_4
## %bb.9:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_fsck_commit                    ## TAILCALL
LBB0_4:
	movq	_OBJ_TAG@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %r8
	jne	LBB0_5
## %bb.10:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_fsck_tag                       ## TAILCALL
LBB0_5:
	movq	_FSCK_MSG_UNKNOWN_TYPE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leaq	L_.str.1(%rip), %r9
	movq	%rcx, %rdi
	movq	%rax, %rsi
	movq	%r9, %rcx
	xorl	%eax, %eax
	popq	%rbp
	jmp	_report                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FSCK_MSG_BAD_OBJECT_SHA1,4,2   ## @FSCK_MSG_BAD_OBJECT_SHA1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no valid object to fsck"

	.comm	_OBJ_BLOB,8,3                   ## @OBJ_BLOB
	.comm	_OBJ_TREE,8,3                   ## @OBJ_TREE
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
	.comm	_FSCK_MSG_UNKNOWN_TYPE,4,2      ## @FSCK_MSG_UNKNOWN_TYPE
L_.str.1:                               ## @.str.1
	.asciz	"unknown type '%d' (internal fsck error)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsck_object                    ; -- Begin function fsck_object
	.p2align	2
_fsck_object:                           ; @fsck_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, x0
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OBJ_BLOB@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_fsck_blob
LBB0_3:
Lloh3:
	adrp	x8, _FSCK_MSG_BAD_OBJECT_SHA1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSCK_MSG_BAD_OBJECT_SHA1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, l_.str@PAGE
Lloh7:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x3
	mov	x1, #0
	mov	x3, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_report
LBB0_4:
Lloh8:
	adrp	x10, _OBJ_TREE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _OBJ_TREE@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x8
	mov	x1, x3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_fsck_tree
LBB0_6:
Lloh11:
	adrp	x10, _OBJ_COMMIT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _OBJ_COMMIT@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_fsck_commit
LBB0_8:
Lloh14:
	adrp	x10, _OBJ_TAG@GOTPAGE
Lloh15:
	ldr	x10, [x10, _OBJ_TAG@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_fsck_tag
LBB0_10:
Lloh17:
	adrp	x10, _FSCK_MSG_UNKNOWN_TYPE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _FSCK_MSG_UNKNOWN_TYPE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x10]
	str	x9, [sp]
Lloh20:
	adrp	x9, l_.str.1@PAGE
Lloh21:
	add	x9, x9, l_.str.1@PAGEOFF
	mov	x0, x3
	mov	x1, x8
	mov	x3, x9
	bl	_report
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FSCK_MSG_BAD_OBJECT_SHA1,4,2   ; @FSCK_MSG_BAD_OBJECT_SHA1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no valid object to fsck"

	.comm	_OBJ_BLOB,8,3                   ; @OBJ_BLOB
	.comm	_OBJ_TREE,8,3                   ; @OBJ_TREE
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
	.comm	_FSCK_MSG_UNKNOWN_TYPE,4,2      ; @FSCK_MSG_UNKNOWN_TYPE
l_.str.1:                               ; @.str.1
	.asciz	"unknown type '%d' (internal fsck error)"

.subsections_via_symbols
