	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_archive                  ## -- Begin function write_archive
	.p2align	4, 0x90
_write_archive:                         ## @write_archive
	.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
	movl	%r9d, %r14d
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	_remote_allow_unreachable@GOTPCREL(%rip), %rsi
	callq	_git_config_get_bool
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	movq	%r13, -48(%rbp)
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %r8
	movl	%r14d, %r9d
	callq	_parse_archive_args
	movq	_startup_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_setup_git_directory
LBB0_2:
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_parse_treeish_arg
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_pathspec_arg
	movq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	*(%rdi)
	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	"uploadarchive.allowunreachable"

	.comm	_remote_allow_unreachable,4,2   ## @remote_allow_unreachable
	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_startup_info,8,3               ## @startup_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_archive                  ; -- Begin function write_archive
	.p2align	2
_write_archive:                         ; @write_archive
	.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	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x24, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, _remote_allow_unreachable@GOTPAGE
Lloh3:
	ldr	x1, [x1, _remote_allow_unreachable@GOTPAGEOFF]
	bl	_git_config_get_bool
Lloh4:
	adrp	x8, _git_default_config@GOTPAGE
Lloh5:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
	str	x23, [sp]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x24
	mov	x1, x20
	mov	x4, x22
	mov	x5, x19
	bl	_parse_archive_args
Lloh7:
	adrp	x8, _startup_info@GOTPAGE
Lloh8:
	ldr	x8, [x8, _startup_info@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_setup_git_directory
LBB0_2:
	mov	x1, sp
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_parse_treeish_arg
	add	x0, x20, #8
	mov	x1, sp
	bl	_parse_pathspec_arg
	ldr	x0, [sp, #8]
	ldr	x8, [x0]
	mov	x1, sp
	blr	x8
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uploadarchive.allowunreachable"

	.comm	_remote_allow_unreachable,4,2   ; @remote_allow_unreachable
	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_startup_info,8,3               ; @startup_info
.subsections_via_symbols
