	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_only_empty_file
_test_only_empty_file:                  ## @test_only_empty_file
	.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
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_malloc
	movq	%rax, %r14
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_archive_write_new
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_archive_write_set_format_7zip
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_archive_write_add_filter_none
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %ebx
	leaq	-64(%rbp), %rcx
	movl	$1000, %edx                     ## imm = 0x3E8
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_write_open_memory
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$10, %edx
	callq	_archive_entry_set_mtime
	movq	%rbx, %rdi
	callq	_archive_entry_mtime
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_entry_mtime_nsec
	movl	$10, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$20, %edx
	callq	_archive_entry_set_atime
	movq	%rbx, %rdi
	callq	_archive_entry_atime
	movl	$2, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_entry_atime_nsec
	movl	$20, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$100, %edx
	callq	_archive_entry_set_ctime
	movq	%rbx, %rdi
	callq	_archive_entry_ctime
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_entry_ctime_nsec
	movl	$100, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	leaq	L_.str(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_entry_copy_pathname
	movq	%rbx, %rdi
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	$493, %r12d                     ## imm = 0x1ED
	movl	(%rax), %esi
	orl	%r12d, %esi
	movq	%rbx, %rdi
	callq	_archive_entry_set_mode
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	orl	%r12d, %r14d
	movq	%rbx, %rdi
	callq	_archive_entry_mode
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movl	(%r15), %r14d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_archive_write_header
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_entry_free
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_archive_write_close
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_archive_write_free
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-64(%rbp), %rsi
	movl	$102, %edi
	callq	_assertEqualInt
	leaq	l_.str.1(%rip), %rsi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$32, %edx
	callq	_assertEqualMem
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %r14d
	movq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$7, %ecx
	callq	_read_open_memory_seek
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %r14d
	leaq	-48(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_archive_read_next_header
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	-48(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_mtime_nsec
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_atime
	movl	$2, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_atime_nsec
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_ctime
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_ctime_nsec
	movl	$100, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str(%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
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-48(%rbp), %rdi
	callq	_archive_entry_size
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movq	%r13, %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_7ZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_archive_format
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_close
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_free
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	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	"empty"

	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"7z\274\257'\034\000\003\000[X%\000\000\000\000\000\000\000\000F\000\000\000\000\000\000\000\217\316\035\363"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_FILTER_NONE,4,2        ## @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_FORMAT_7ZIP,4,2        ## @ARCHIVE_FORMAT_7ZIP
	.no_dead_strip	_test_only_empty_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_only_empty_file
_test_only_empty_file:                  ; @test_only_empty_file
	.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	w0, #1000
	bl	_malloc
	mov	x19, x0
	bl	_archive_write_new
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w20, [x24]
	mov	x0, x21
	bl	_archive_write_set_format_7zip
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x24]
	mov	x0, x21
	bl	_archive_write_add_filter_none
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x24]
	mov	x3, sp
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1000
	bl	_archive_write_open_memory
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
	bl	_archive_entry_new
	mov	x22, x0
	str	x0, [sp, #8]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x22
	mov	w1, #1
	mov	w2, #10
	bl	_archive_entry_set_mtime
	mov	x0, x22
	bl	_archive_entry_mtime
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x22
	bl	_archive_entry_mtime_nsec
	mov	x1, x0
	mov	w0, #10
	bl	_assertEqualInt
	mov	x0, x22
	mov	w1, #2
	mov	w2, #20
	bl	_archive_entry_set_atime
	mov	x0, x22
	bl	_archive_entry_atime
	mov	x1, x0
	mov	w0, #2
	bl	_assertEqualInt
	mov	x0, x22
	bl	_archive_entry_atime_nsec
	mov	x1, x0
	mov	w0, #20
	bl	_assertEqualInt
	mov	x0, x22
	mov	w1, #0
	mov	w2, #100
	bl	_archive_entry_set_ctime
	mov	x0, x22
	bl	_archive_entry_ctime
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x22
	bl	_archive_entry_ctime_nsec
	mov	x1, x0
	mov	w0, #100
	bl	_assertEqualInt
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x20
	bl	_archive_entry_copy_pathname
	mov	x0, x22
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualString
Lloh4:
	adrp	x25, _AE_IFREG@GOTPAGE
Lloh5:
	ldr	x25, [x25, _AE_IFREG@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	w26, #493
	orr	w1, w8, w26
	mov	x0, x22
	bl	_archive_entry_set_mode
Lloh6:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w23, w8, w26
	mov	x0, x22
	bl	_archive_entry_mode
	mov	x1, x0
	mov	x0, x23
	bl	_assertEqualInt
	ldr	w23, [x24]
	mov	x0, x21
	mov	x1, x22
	bl	_archive_write_header
	mov	x1, x0
	mov	x0, x23
	bl	_assertEqualInt
	mov	x0, x22
	bl	_archive_entry_free
	ldr	w22, [x24]
	mov	x0, x21
	bl	_archive_write_close
	mov	x1, x0
	mov	x0, x22
	bl	_assertEqualInt
	ldr	w22, [x24]
	mov	x0, x21
	bl	_archive_write_free
	mov	x1, x0
	mov	x0, x22
	bl	_assertEqualInt
	ldr	x1, [sp]
	mov	w0, #102
	bl	_assertEqualInt
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #32
	bl	_assertEqualMem
	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_format_all
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_assertEqualIntA
	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]
	ldr	x2, [sp]
	mov	x0, x21
	mov	x1, x19
	mov	w3, #7
	bl	_read_open_memory_seek
	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
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime_nsec
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime
	mov	x1, x0
	mov	w0, #2
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime_nsec
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime_nsec
	mov	x1, x0
	mov	w0, #100
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualString
	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_size
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
Lloh11:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	add	x1, sp, #8
	mov	x0, x21
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
Lloh14:
	adrp	x8, _ARCHIVE_FILTER_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARCHIVE_FILTER_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_archive_filter_code
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
Lloh17:
	adrp	x8, _ARCHIVE_FORMAT_7ZIP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_FORMAT_7ZIP@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_archive_format
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x24]
	mov	x0, x21
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	ldr	w20, [x24]
	mov	x0, x21
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	mov	x0, x19
	bl	_free
	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
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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	"empty"

	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"7z\274\257'\034\000\003\000[X%\000\000\000\000\000\000\000\000F\000\000\000\000\000\000\000\217\316\035\363"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_FILTER_NONE,4,2        ; @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_FORMAT_7ZIP,4,2        ; @ARCHIVE_FORMAT_7ZIP
	.no_dead_strip	_test_only_empty_file
.subsections_via_symbols
