	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function batch_object_write
_batch_object_write:                    ## @batch_object_write
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	cmpl	$0, 8(%rcx)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r12
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rdx
	movq	_OBJECT_INFO_LOOKUP_REPLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	callq	_oid_object_info_extended
	testq	%rax, %rax
	js	LBB0_2
LBB0_5:
	movq	%rbx, %rdi
	callq	_strbuf_reset
	movl	8(%r15), %esi
	movq	_expand_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_strbuf_expand
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	callq	_batch_write
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_print_object_or_die
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_batch_write                    ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testq	%r12, %r12
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_oid_to_hex
	movq	%rax, %r12
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJECT_INFO_LOOKUP_REPLACE,4,2 ## @OBJECT_INFO_LOOKUP_REPLACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s missing\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_expand_format,4,2              ## @expand_format
L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.no_dead_strip	_batch_object_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function batch_object_write
_batch_object_write:                    ; @batch_object_write
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	w8, [x3, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, x19, #4
Lloh3:
	adrp	x8, _OBJECT_INFO_LOOKUP_REPLACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OBJECT_INFO_LOOKUP_REPLACE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, x19
	bl	_oid_object_info_extended
	tbnz	x0, #63, LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_strbuf_reset
	ldr	w1, [x20, #8]
Lloh6:
	adrp	x8, _expand_format@GOTPAGE
Lloh7:
	ldr	x8, [x8, _expand_format@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_strbuf_expand
	mov	x0, x21
	mov	w1, #10
	bl	_strbuf_addch
	ldr	x1, [x21]
	ldr	w2, [x21, #8]
	mov	x0, x20
	bl	_batch_write
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_print_object_or_die
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #1
	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	_batch_write
LBB0_4:
	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
	ret
LBB0_5:
	cbnz	x22, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_oid_to_hex
	mov	x22, x0
LBB0_7:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_printf
Lloh13:
	adrp	x8, _stdout@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	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	_fflush
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJECT_INFO_LOOKUP_REPLACE,4,2 ; @OBJECT_INFO_LOOKUP_REPLACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s missing\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_expand_format,4,2              ; @expand_format
l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.no_dead_strip	_batch_object_write
.subsections_via_symbols
