	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_zip_archive
_write_zip_archive:                     ## @write_zip_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_archive_zip_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	leaq	4(%r14), %rdi
	movq	_zip_date@GOTPCREL(%rip), %rsi
	movq	_zip_time@GOTPCREL(%rip), %rdx
	callq	_dos_time
	movq	_zip_dir@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_strbuf_init
	movq	_write_zip_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_write_archive_entries
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_write_zip_trailer
LBB0_2:
	movq	_zip_dir@GOTPCREL(%rip), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_archive_zip_config,4,2         ## @archive_zip_config
	.comm	_zip_date,4,2                   ## @zip_date
	.comm	_zip_time,4,2                   ## @zip_time
	.comm	_zip_dir,4,2                    ## @zip_dir
	.comm	_write_zip_entry,4,2            ## @write_zip_entry
	.no_dead_strip	_write_zip_archive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_zip_archive
_write_zip_archive:                     ; @write_zip_archive
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _archive_zip_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _archive_zip_config@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
	add	x0, x19, #4
Lloh3:
	adrp	x1, _zip_date@GOTPAGE
Lloh4:
	ldr	x1, [x1, _zip_date@GOTPAGEOFF]
Lloh5:
	adrp	x2, _zip_time@GOTPAGE
Lloh6:
	ldr	x2, [x2, _zip_time@GOTPAGEOFF]
	bl	_dos_time
Lloh7:
	adrp	x0, _zip_dir@GOTPAGE
Lloh8:
	ldr	x0, [x0, _zip_dir@GOTPAGEOFF]
	mov	w1, #0
	bl	_strbuf_init
Lloh9:
	adrp	x8, _write_zip_entry@GOTPAGE
Lloh10:
	ldr	x8, [x8, _write_zip_entry@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_archive_entries
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_write_zip_trailer
LBB0_2:
Lloh12:
	adrp	x0, _zip_dir@GOTPAGE
Lloh13:
	ldr	x0, [x0, _zip_dir@GOTPAGEOFF]
	bl	_strbuf_release
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_archive_zip_config,4,2         ; @archive_zip_config
	.comm	_zip_date,4,2                   ; @zip_date
	.comm	_zip_time,4,2                   ; @zip_time
	.comm	_zip_dir,4,2                    ; @zip_dir
	.comm	_write_zip_entry,4,2            ; @write_zip_entry
	.no_dead_strip	_write_zip_archive
.subsections_via_symbols
