	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_padded_archive
_verify_padded_archive:                 ## @verify_padded_archive
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_extract_reference_file
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_slurpfile
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	%r13, %rdi
	callq	_archive_read_support_format_zip_seekable
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r14), %r15d
	movq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_read_open_memory_seek
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r14), %r12d
	leaq	-48(%rbp), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	-48(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	$420, %r12d                     ## imm = 0x1A4
	movl	(%rax), %ebx
	orl	%r12d, %ebx
	movq	-48(%rbp), %rdi
	callq	_archive_entry_mode
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_size
	movl	$6, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	(%r14), %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	-48(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	-48(%rbp), %rdi
	callq	_archive_entry_mode
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_size
	movl	$6, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r14), %ebx
	movq	%r13, %rdi
	callq	_archive_read_close
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r14), %ebx
	movq	%r13, %rdi
	callq	_archive_read_free
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file0"

	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
L_.str.1:                               ## @.str.1
	.asciz	"file1"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.no_dead_strip	_verify_padded_archive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_padded_archive
_verify_padded_archive:                 ; @verify_padded_archive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_extract_reference_file
	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
Lloh0:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_support_format_zip_seekable
	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, #1
	bl	_read_open_memory_seek
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x1, sp
	mov	x0, x20
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	x0, [sp]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assertEqualString
Lloh4:
	adrp	x23, _AE_IFREG@GOTPAGE
Lloh5:
	ldr	x23, [x23, _AE_IFREG@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	w24, #420
	orr	w21, w8, w24
	ldr	x0, [sp]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	ldr	x0, [sp]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #6
	bl	_assertEqualInt
	ldr	w21, [x22]
	mov	x1, sp
	mov	x0, x20
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	x0, [sp]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_assertEqualString
	ldr	w8, [x23]
	orr	w21, w8, w24
	ldr	x0, [sp]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	ldr	x0, [sp]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #6
	bl	_assertEqualInt
Lloh8:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	mov	x1, sp
	mov	x0, x20
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_close
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x20
	bl	_archive_read_free
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x19
	bl	_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file0"

	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
l_.str.1:                               ; @.str.1
	.asciz	"file1"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.no_dead_strip	_verify_padded_archive
.subsections_via_symbols
