	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_empty_file2
_test_empty_file2:                      ## @test_empty_file2
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	%rax, %rdi
	callq	_archive_read_support_format_raw
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	(%r15), %r14d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_empty
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_errno
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_error_string
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualString
	movl	(%r15), %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_archive_read_open_filename
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_errno
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_error_string
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_next_header
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_errno
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_error_string
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	%rbx, %rdi
	callq	_archive_read_free
	addq	$8, %rsp
	popq	%rbx
	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	"emptyfile"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_empty_file2
_test_empty_file2:                      ; @test_empty_file2
	.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
	bl	_archive_read_new
	mov	x19, x0
Lloh0:
	adrp	x21, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w20, [x21]
	bl	_archive_read_support_format_raw
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	ldr	w20, [x21]
	mov	x0, x19
	bl	_archive_read_support_format_empty
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_errno
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_error_string
	mov	x1, x0
	mov	x0, #0
	bl	_assertEqualString
	ldr	w20, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_archive_read_open_filename
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_errno
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_error_string
	mov	x1, x0
	mov	x0, #0
	bl	_assertEqualString
Lloh4:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_errno
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_error_string
	mov	x1, x0
	mov	x0, #0
	bl	_assertEqualString
	mov	x0, x19
	bl	_archive_read_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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.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	"emptyfile"

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