	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_allocate_new
__zip_allocate_new:                     ## @_zip_allocate_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	-40(%rbp), %rdi
	callq	__zip_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_3
## %bb.5:
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	callq	_zip_discard
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_1:
	leaq	-40(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_7:
	callq	_set_error
	jmp	LBB0_8
LBB0_3:
	movq	$0, 8(%rbx)
LBB0_4:
	movl	%r15d, (%rbx)
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_MEMORY,4,2              ## @ZIP_ER_MEMORY
	.no_dead_strip	__zip_allocate_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zip_allocate_new
__zip_allocate_new:                     ; @_zip_allocate_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	bl	__zip_new
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.1:
	cbz	x22, LBB0_5
; %bb.2:
	mov	x0, x22
	bl	_strdup
	str	x0, [x20, #8]
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_zip_discard
Lloh0:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_set_error
	mov	x20, #0
	b	LBB0_7
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	bl	_set_error
	b	LBB0_7
LBB0_5:
	str	xzr, [x20, #8]
LBB0_6:
	str	w21, [x20]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_MEMORY,4,2              ; @ZIP_ER_MEMORY
	.no_dead_strip	__zip_allocate_new
.subsections_via_symbols
