	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_info_zip_ux
_test_info_zip_ux:                      ## @test_info_zip_ux
	.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
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_extract_reference_file
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_archive_read_open_filename
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_verify_info_zip_ux
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	callq	_slurpfile
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r12), %r15d
	movq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$108, %ecx
	callq	_read_open_memory
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_verify_info_zip_ux
	movq	%r14, %rdi
	callq	_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test_read_format_zip_ux.zip"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_test_info_zip_ux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_info_zip_ux
_test_info_zip_ux:                      ; @test_info_zip_ux
	.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
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_extract_reference_file
	bl	_archive_read_new
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh2:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #10240
	bl	_archive_read_open_filename
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x20
	mov	w1, #1
	bl	_verify_info_zip_ux
	add	x0, sp, #8
	mov	x1, x19
	bl	_slurpfile
	mov	x19, x0
	bl	_archive_read_new
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #108
	bl	_read_open_memory
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x20
	mov	w1, #0
	bl	_verify_info_zip_ux
	mov	x0, x19
	bl	_free
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test_read_format_zip_ux.zip"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_test_info_zip_ux
.subsections_via_symbols
