	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_object
_filter_object:                         ## @filter_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	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	leaq	-52(%rbp), %rsi
	movq	%rdx, %rdi
	movq	%r8, %rdx
	callq	_read_object_file
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rbx
	movl	-52(%rbp), %eax
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.3:
	movl	%r12d, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%r15), %rdx
	movq	(%r13), %rcx
	movq	_the_index@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %r8
	movq	%rbx, %rsi
	callq	_convert_to_working_tree
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rdi
	callq	_free
	movq	-48(%rbp), %rax
	movq	%rax, (%r13)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movq	%rax, (%r15)
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r14, %r15
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movl	%r14d, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_error
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot read object %s '%s'"

	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_the_index,4,2                  ## @the_index
	.no_dead_strip	_filter_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_object
_filter_object:                         ; @filter_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	x20, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	add	x1, sp, #12
	mov	x0, x2
	mov	x2, x4
	bl	_read_object_file
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x23
	bl	_S_ISREG
	cbz	x0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp]
	ldr	x2, [x19]
	ldr	x3, [x20]
Lloh6:
	adrp	x0, _the_index@GOTPAGE
Lloh7:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	mov	x4, sp
	mov	x1, x21
	bl	_convert_to_working_tree
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x19]
	bl	_free
	ldr	x8, [sp]
	str	x8, [x20]
	mov	x0, sp
	mov	x1, #0
	bl	_strbuf_detach
	str	x0, [x19]
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
	mov	x0, x22
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_error
LBB0_7:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot read object %s '%s'"

	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_the_index,4,2                  ; @the_index
	.no_dead_strip	_filter_object
.subsections_via_symbols
