	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_big_entries
_test_big_entries:                      ## @test_big_entries
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	$1000000, %edi                  ## imm = 0xF4240
	callq	_malloc
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_archive_write_new
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r13, %rdi
	callq	*%rbx
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assertA
	movq	%r13, %rdi
	callq	_archive_write_add_filter_none
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assertA
	leaq	-48(%rbp), %rcx
	movl	$1000000, %edx                  ## imm = 0xF4240
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_write_open_memory
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assertA
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_entry_copy_pathname
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_archive_entry_set_size
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_archive_entry_set_filetype
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_archive_write_header
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_archive_error_string
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
LBB0_2:
	movq	%rbx, %rdi
	callq	_archive_entry_free
	movq	%r13, %rdi
	callq	_archive_write_free
	movq	%r14, %rdi
	callq	_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_test_big_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_big_entries
_test_big_entries:                      ; @test_big_entries
	.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	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w0, #16960
	movk	w0, #15, lsl #16
	bl	_malloc
	mov	x19, x0
	bl	_archive_write_new
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	blr	x23
	cmp	w0, #0
	cset	w0, eq
	bl	_assertA
	mov	x0, x20
	bl	_archive_write_add_filter_none
	cmp	x0, #0
	cset	w0, eq
	bl	_assertA
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w2, #16960
	movk	w2, #15, lsl #16
	bl	_archive_write_open_memory
	cmp	x0, #0
	cset	w0, eq
	bl	_assertA
	bl	_archive_entry_new
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_archive_entry_copy_pathname
	mov	x0, x23
	mov	x1, x22
	bl	_archive_entry_set_size
Lloh2:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_archive_entry_set_filetype
	mov	x0, x20
	mov	x1, x23
	bl	_archive_write_header
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
Lloh5:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_archive_error_string
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
LBB0_2:
	mov	x0, x23
	bl	_archive_entry_free
	mov	x0, x20
	bl	_archive_write_free
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_test_big_entries
.subsections_via_symbols
