	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_file_new
__zip_file_new:                         ## @_zip_file_new
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$32, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	(%rbx), %rcx
	movq	8(%rbx), %r15
	leaq	1(%rcx), %rdx
	cmpq	%r15, %rdx
	jge	LBB0_4
## %bb.3:
	movq	16(%rbx), %rax
	jmp	LBB0_7
LBB0_1:
	addq	$24, %rbx
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
	jmp	LBB0_8
LBB0_4:
	addq	$10, %r15
	movq	16(%rbx), %rdi
	leal	(,%r15,8), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	%r15d, %ecx
	movq	%rcx, 8(%rbx)
	movq	%rax, 16(%rbx)
	movq	(%rbx), %rcx
	leaq	1(%rcx), %rdx
LBB0_7:
	movq	%rdx, (%rbx)
	movq	%r14, (%rax,%rcx,8)
	movq	%rbx, 24(%r14)
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	__zip_error_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	jmp	LBB0_8
LBB0_5:
	addq	$24, %rbx
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
	movq	%r14, %rdi
	callq	_free
	xorl	%r14d, %r14d
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_MEMORY,4,2              ## @ZIP_ER_MEMORY
	.no_dead_strip	__zip_file_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zip_file_new
__zip_file_new:                         ; @_zip_file_new
	.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	x20, x0
	mov	w0, #32
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldp	x8, x10, [x20]
	add	x9, x8, #1
	cmp	x9, x10
	b.ge	LBB0_4
; %bb.2:
	ldr	x0, [x20, #16]
	b	LBB0_6
LBB0_3:
	add	x0, x20, #24
Lloh0:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	__zip_error_set
	b	LBB0_8
LBB0_4:
	add	x21, x10, #10
	ldr	x0, [x20, #16]
	lsl	w1, w21, #3
	bl	_realloc
	cbz	x0, LBB0_7
; %bb.5:
	and	x8, x21, #0xffffffff
	stp	x8, x0, [x20, #8]
	ldr	x8, [x20]
	add	x9, x8, #1
LBB0_6:
	str	x9, [x20]
	str	x19, [x0, x8, lsl #3]
	add	x0, x19, #16
	str	x20, [x19, #24]
	bl	__zip_error_init
	stp	xzr, xzr, [x19]
	b	LBB0_8
LBB0_7:
	add	x0, x20, #24
Lloh3:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	__zip_error_set
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_MEMORY,4,2              ; @ZIP_ER_MEMORY
	.no_dead_strip	__zip_file_new
.subsections_via_symbols
