	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_io_zip_alloc_zipfileobj      ## -- Begin function r_io_zip_alloc_zipfileobj
	.p2align	4, 0x90
_r_io_zip_alloc_zipfileobj:             ## @r_io_zip_alloc_zipfileobj
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	callq	_r_io_zip_open_archive
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%rax, %rdi
	callq	_zip_get_num_files
	testq	%rax, %rax
	jle	LBB0_8
## %bb.3:
	movq	%rax, %r15
	xorl	%r12d, %r12d
	leaq	-72(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_zip_stat_init
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_zip_stat_index
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	leaq	-72(%rbp), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	callq	_r_io_zip_create_new_file
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_r_io_zip_slurp_file
	testq	%r14, %r14
	jne	LBB0_9
LBB0_8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	callq	_r_io_zip_create_new_file
	movq	%rax, %r14
LBB0_9:
	movq	%rbx, %rdi
	callq	_zip_close
	jmp	LBB0_10
LBB0_1:
	xorl	%r14d, %r14d
LBB0_10:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r_io_zip_alloc_zipfileobj      ; -- Begin function r_io_zip_alloc_zipfileobj
	.p2align	2
_r_io_zip_alloc_zipfileobj:             ; @r_io_zip_alloc_zipfileobj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	bl	_r_io_zip_open_archive
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	bl	_zip_get_num_files
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x25, x0
	mov	x26, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	cmp	x25, x26
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_zip_stat_init
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x26
	mov	w2, #0
	bl	_zip_stat_index
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.6:
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x19
	bl	_r_io_zip_create_new_file
	mov	x25, x0
	bl	_r_io_zip_slurp_file
	cbnz	x25, LBB0_8
LBB0_7:
	mov	x0, x24
	mov	x1, x23
	mov	x2, #0
	mov	x3, x22
	mov	x4, x20
	mov	x5, x19
	bl	_r_io_zip_create_new_file
	mov	x25, x0
LBB0_8:
	mov	x0, x21
	bl	_zip_close
	b	LBB0_10
LBB0_9:
	mov	x25, #0
LBB0_10:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
