	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function export_object
_export_object:                         ## @export_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	%rcx, %rbx
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movq	_O_WRONLY@GOTPCREL(%rip), %rcx
	movq	_O_CREAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_open
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movl	%eax, %r14d
	movq	%r13, %rbx
	leaq	-48(%rbp), %r13
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.3:
	movl	%r15d, %edi
	callq	_type_name
	movq	%rax, %rsi
	jmp	LBB0_4
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_errno                    ## TAILCALL
LBB0_2:
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	movq	%r13, %rdi
	callq	_argv_array_push
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_argv_array_push
	movl	$1, -56(%rbp)
	movl	%r14d, -52(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_run_command
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ## @CHILD_PROCESS_INIT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to open %s for writing"

L_.str.1:                               ## @.str.1
	.asciz	"--no-replace-objects"

L_.str.2:                               ## @.str.2
	.asciz	"cat-file"

L_.str.3:                               ## @.str.3
	.asciz	"-p"

L_.str.4:                               ## @.str.4
	.asciz	"cat-file reported failure"

	.no_dead_strip	_export_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function export_object
_export_object:                         ; @export_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	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [sp]
	ldr	w8, [x8, #8]
	str	w8, [sp, #8]
Lloh2:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x3
	mov	w2, #438
	bl	_open
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x8, sp
	add	x23, x8, #8
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
	cbz	w22, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_type_name
	mov	x1, x0
	b	LBB0_5
LBB0_3:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x23
	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
	b	_error_errno
LBB0_4:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	mov	x0, x23
	bl	_argv_array_push
	mov	x0, x19
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x23
	bl	_argv_array_push
	mov	w8, #1
	stp	w8, w20, [sp]
	mov	x0, sp
	bl	_run_command
	cbz	x0, LBB0_7
; %bb.6:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ; @CHILD_PROCESS_INIT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to open %s for writing"

l_.str.1:                               ; @.str.1
	.asciz	"--no-replace-objects"

l_.str.2:                               ; @.str.2
	.asciz	"cat-file"

l_.str.3:                               ; @.str.3
	.asciz	"-p"

l_.str.4:                               ; @.str.4
	.asciz	"cat-file reported failure"

	.no_dead_strip	_export_object
.subsections_via_symbols
