	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_winzip_aes
_test_winzip_aes:                       ## @test_winzip_aes
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -572(%rbp)                ## 4-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_archive_write_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	callq	_archive_write_set_format_zip
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	callq	_archive_write_add_filter_none
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_write_set_options
	cmpl	%eax, %r14d
	jne	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_archive_write_free
	movq	%r15, %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
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_archive_read_open_filename
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_archive_read_has_encrypted_entries
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r12d
	leaq	-568(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_next_header
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	$420, %r12d                     ## imm = 0x1A4
	movl	(%rax), %r14d
	orl	%r12d, %r14d
	movq	-568(%rbp), %rdi
	callq	_archive_entry_mode
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-568(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_assertEqualString
	movq	-568(%rbp), %rdi
	callq	_archive_entry_size
	movl	$6818, %edi                     ## imm = 0x1AA2
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-568(%rbp), %rdi
	callq	_archive_entry_is_data_encrypted
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-568(%rbp), %rdi
	callq	_archive_entry_is_metadata_encrypted
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_read_has_encrypted_entries
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-560(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$512, %edx                      ## imm = 0x200
	callq	_archive_read_data
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_file_count
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	leaq	-568(%rbp), %rsi
	callq	_archive_read_next_header
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FILTER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_archive_filter_code
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FORMAT_ZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_archive_format
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_close
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_free
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_add_passphrase
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_add_passphrase
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_add_passphrase
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_archive_read_open_filename
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_has_encrypted_entries
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	leaq	-568(%rbp), %rsi
	callq	_archive_read_next_header
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	-568(%rbp), %rdi
	callq	_archive_entry_mode
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-568(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_assertEqualString
	movq	-568(%rbp), %rdi
	callq	_archive_entry_size
	movl	$6818, %edi                     ## imm = 0x1AA2
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-568(%rbp), %rdi
	callq	_archive_entry_is_data_encrypted
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-568(%rbp), %rdi
	callq	_archive_entry_is_metadata_encrypted
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_read_has_encrypted_entries
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	cmpl	$0, -572(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_archive_zlib_version
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	leaq	-560(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$512, %edx                      ## imm = 0x200
	callq	_archive_read_data
	movl	$512, %edi                      ## imm = 0x200
	movl	%eax, %esi
	callq	_assertEqualInt
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_skipping
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_archive_write_free             ## TAILCALL
LBB0_6:
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-560(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$19, %edx
	callq	_archive_read_data
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_error_string
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdi
	callq	_assertEqualString
	movq	%rbx, %rdi
	callq	_archive_errno
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
LBB0_7:
	movq	%rbx, %rdi
	callq	_archive_file_count
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-568(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_next_header
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FILTER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_archive_filter_code
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FORMAT_ZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_archive_format
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_close
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_free
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zip:encryption=aes256"

L_.str.1:                               ## @.str.1
	.asciz	"This system does not have cryptographic liberary"

	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,4,2 ## @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
L_.str.2:                               ## @.str.2
	.asciz	"README"

	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_FILTER_NONE,4,2        ## @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_FORMAT_ZIP,4,2         ## @ARCHIVE_FORMAT_ZIP
L_.str.3:                               ## @.str.3
	.asciz	"invalid_pass"

L_.str.4:                               ## @.str.4
	.asciz	"invalid_phrase"

L_.str.5:                               ## @.str.5
	.asciz	"password"

L_.str.6:                               ## @.str.6
	.asciz	"Unsupported ZIP compression method (deflation)"

	.no_dead_strip	_test_winzip_aes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_winzip_aes
_test_winzip_aes:                       ; @test_winzip_aes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #544
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_archive_write_new
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh3:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w22, [x24]
	mov	x0, x21
	bl	_archive_write_set_format_zip
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
	ldr	w22, [x24]
	mov	x0, x21
	bl	_archive_write_add_filter_none
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
	ldr	w22, [x24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_archive_write_set_options
	cmp	w22, w0
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_archive_write_free
	mov	x0, x20
	bl	_extract_reference_file
	bl	_archive_read_new
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w22, [x24]
	mov	x0, x21
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
	ldr	w22, [x24]
	mov	x0, x21
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
	ldr	w22, [x24]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #10240
	bl	_archive_read_open_filename
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
Lloh7:
	adrp	x28, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGE
Lloh8:
	ldr	x28, [x28, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGEOFF]
	ldr	w22, [x28]
	mov	x0, x21
	bl	_archive_read_has_encrypted_entries
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
	ldr	w22, [x24]
	add	x1, sp, #8
	mov	x0, x21
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
Lloh9:
	adrp	x25, _AE_IFREG@GOTPAGE
Lloh10:
	ldr	x25, [x25, _AE_IFREG@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	w26, #420
	orr	w22, w8, w26
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	x0, x22
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh11:
	adrp	x22, l_.str.2@PAGE
Lloh12:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #6818
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_is_data_encrypted
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_is_metadata_encrypted
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x21
	bl	_archive_read_has_encrypted_entries
	mov	x2, x0
	mov	x0, x21
	mov	w1, #1
	bl	_assertEqualIntA
Lloh13:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
	add	x1, sp, #16
	mov	x0, x21
	mov	w2, #512
	bl	_archive_read_data
	mov	x1, x0
	mov	x0, x23
	bl	_assertEqualInt
	mov	x0, x21
	bl	_archive_file_count
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
Lloh16:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	add	x1, sp, #8
	mov	x0, x21
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
Lloh19:
	adrp	x8, _ARCHIVE_FILTER_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_FILTER_NONE@GOTPAGEOFF]
Lloh21:
	ldr	w23, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_archive_filter_code
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
Lloh22:
	adrp	x27, _ARCHIVE_FORMAT_ZIP@GOTPAGE
Lloh23:
	ldr	x27, [x27, _ARCHIVE_FORMAT_ZIP@GOTPAGEOFF]
	ldr	w23, [x27]
	mov	x0, x21
	bl	_archive_format
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x24]
	mov	x0, x21
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x23
	bl	_assertEqualInt
	ldr	w23, [x24]
	mov	x0, x21
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x23
	bl	_assertEqualInt
	bl	_archive_read_new
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w23, [x24]
	mov	x0, x21
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x24]
	mov	x0, x21
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x24]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_archive_read_add_passphrase
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x24]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_archive_read_add_passphrase
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x24]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_archive_read_add_passphrase
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x24]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #10240
	bl	_archive_read_open_filename
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w20, [x28]
	mov	x0, x21
	bl	_archive_read_has_encrypted_entries
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x24]
	add	x1, sp, #8
	mov	x0, x21
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w8, [x25]
	orr	w20, w8, w26
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x22
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #6818
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_is_data_encrypted
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_is_metadata_encrypted
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x21
	bl	_archive_read_has_encrypted_entries
	mov	x2, x0
	mov	x0, x21
	mov	w1, #1
	bl	_assertEqualIntA
	cbz	w19, LBB0_3
; %bb.2:
	bl	_archive_zlib_version
	cbz	x0, LBB0_6
LBB0_3:
	add	x1, sp, #16
	mov	x0, x21
	mov	w2, #512
	bl	_archive_read_data
	mov	x1, x0
	mov	w0, #512
	bl	_assertEqualInt
	b	LBB0_7
LBB0_4:
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_skipping
	ldur	x8, [x29, #-96]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.5:
	mov	x0, x21
	add	sp, sp, #544
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_archive_write_free
LBB0_6:
Lloh35:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh37:
	ldr	w19, [x8]
	add	x1, sp, #16
	mov	x0, x21
	mov	w2, #19
	bl	_archive_read_data
	mov	x1, x0
	mov	x0, x19
	bl	_assertEqualInt
	mov	x0, x21
	bl	_archive_error_string
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_assertEqualString
	mov	x0, x21
	bl	_archive_errno
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
LBB0_7:
	mov	x0, x21
	bl	_archive_file_count
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
Lloh40:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh42:
	ldr	w19, [x8]
	add	x1, sp, #8
	mov	x0, x21
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_assertEqualIntA
Lloh43:
	adrp	x8, _ARCHIVE_FILTER_NONE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ARCHIVE_FILTER_NONE@GOTPAGEOFF]
Lloh45:
	ldr	w19, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_archive_filter_code
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_assertEqualIntA
	ldr	w19, [x27]
	mov	x0, x21
	bl	_archive_format
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_assertEqualIntA
	ldr	w19, [x24]
	mov	x0, x21
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x19
	bl	_assertEqualInt
	ldr	w19, [x24]
	mov	x0, x21
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x19
	bl	_assertEqualInt
	ldur	x8, [x29, #-96]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #544
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zip:encryption=aes256"

l_.str.1:                               ; @.str.1
	.asciz	"This system does not have cryptographic liberary"

	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,4,2 ; @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
l_.str.2:                               ; @.str.2
	.asciz	"README"

	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_FILTER_NONE,4,2        ; @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_FORMAT_ZIP,4,2         ; @ARCHIVE_FORMAT_ZIP
l_.str.3:                               ; @.str.3
	.asciz	"invalid_pass"

l_.str.4:                               ; @.str.4
	.asciz	"invalid_phrase"

l_.str.5:                               ; @.str.5
	.asciz	"password"

l_.str.6:                               ; @.str.6
	.asciz	"Unsupported ZIP compression method (deflation)"

	.no_dead_strip	_test_winzip_aes
.subsections_via_symbols
