	.file	"extr_test_compat_solaris_pax_sparse.c_test_compat_solaris_pax_sparse_2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"hole"
.LC1:
	.string	"cue"
.LC2:
	.string	"staff"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"This sparse file should have two data blocks"
	.align 8
.LC4:
	.string	"The data blocks should not include the hole"
	.align 8
.LC5:
	.string	"Last 31 bytes should be all 'c'"
	.text
	.p2align 4
	.type	test_compat_solaris_pax_sparse_2, @function
test_compat_solaris_pax_sparse_2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edx, 23086
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	movdqa	xmm0, XMMWORD PTR .LC6[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	mov	WORD PTR 116[rsp], dx
	lea	r12, 80[rsp]
	lea	r14, 24[rsp]
	movaps	XMMWORD PTR 80[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC7[rip]
	mov	DWORD PTR 112[rsp], 2019651630
	movaps	XMMWORD PTR 96[rsp], xmm0
	mov	BYTE PTR 118[rsp], 0
	call	archive_read_new@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	setne	dil
	call	assert@PLT
	mov	rdi, rbp
	call	archive_read_support_filter_all@PLT
	mov	esi, DWORD PTR ARCHIVE_OK[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	assertEqualIntA@PLT
	mov	rdi, rbp
	call	archive_read_support_format_all@PLT
	mov	esi, DWORD PTR ARCHIVE_OK[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	assertEqualIntA@PLT
	mov	rdi, r12
	call	extract_reference_file@PLT
	mov	edx, 10240
	mov	rsi, r12
	mov	rdi, rbp
	call	archive_read_open_filename@PLT
	mov	esi, DWORD PTR ARCHIVE_OK[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	assertEqualIntA@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	archive_read_next_header@PLT
	mov	esi, DWORD PTR ARCHIVE_OK[rip]
	mov	rdi, rbp
	mov	edx, eax
	mov	ebx, eax
	call	assertEqualIntA@PLT
	cmp	DWORD PTR ARCHIVE_OK[rip], ebx
	je	.L2
	mov	rdi, rbp
	call	archive_read_free@PLT
.L1:
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rsp]
	lea	r12, 20[rsp]
	lea	rbx, 16[rsp]
	lea	r13, 40[rsp]
	call	archive_entry_pathname@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	assertEqualString@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_mtime@PLT
	mov	edi, 1310416789
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_uid@PLT
	mov	edi, 101
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_uname@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	assertEqualString@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_gid@PLT
	mov	edi, 10
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_gname@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	call	assertEqualString@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_mode@PLT
	mov	edi, 33188
	mov	esi, eax
	call	assertEqualInt@PLT
	lea	rdi, .LC3[rip]
	call	failure@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	archive_entry_sparse_reset@PLT
	mov	edi, 2
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	mov	rsi, rbx
	call	archive_entry_sparse_next@PLT
	mov	edi, DWORD PTR ARCHIVE_OK[rip]
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, 393216
	call	assertEqualInt@PLT
	mov	esi, DWORD PTR 20[rsp]
	mov	edi, 131072
	call	assertEqualInt@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	mov	rsi, rbx
	lea	r12, 32[rsp]
	call	archive_entry_sparse_next@PLT
	mov	edi, DWORD PTR ARCHIVE_OK[rip]
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, 786432
	call	assertEqualInt@PLT
	mov	esi, DWORD PTR 20[rsp]
	mov	edi, 32799
	call	assertEqualInt@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rcx, rbx
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	archive_read_data_block@PLT
	cmp	eax, DWORD PTR ARCHIVE_OK[rip]
	jne	.L20
	lea	rdi, .LC4[rip]
	call	failure@PLT
	mov	eax, DWORD PTR 16[rsp]
	xor	edi, edi
	cmp	eax, 393215
	jle	.L5
	movsx	rdx, eax
	add	rdx, QWORD PTR 40[rsp]
	mov	edi, 1
	cmp	rdx, 524288
	jbe	.L5
	cmp	eax, 786431
	jle	.L11
	xor	edi, edi
	cmp	rdx, 819231
	setbe	dil
.L5:
	call	assert@PLT
	mov	rdx, QWORD PTR 40[rsp]
	movsx	rax, DWORD PTR 16[rsp]
	add	rax, rdx
	cmp	rax, 819231
	jne	.L14
	cmp	rdx, 30
	jbe	.L14
	lea	r8, 48[rsp]
	sub	rdx, 31
	add	rdx, QWORD PTR 32[rsp]
	mov	esi, 99
	mov	rdi, r8
	mov	r15, rdx
	mov	edx, 31
	mov	QWORD PTR 8[rsp], r8
	call	memset@PLT
	lea	rdi, .LC5[rip]
	call	failure@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	edx, 31
	mov	rdi, r15
	mov	rsi, r8
	call	assertEqualMem@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rsi, r14
	mov	rdi, rbp
	call	archive_read_next_header@PLT
	mov	esi, DWORD PTR ARCHIVE_EOF[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	assertEqualIntA@PLT
	mov	r12d, DWORD PTR ARCHIVE_FILTER_COMPRESS[rip]
	xor	esi, esi
	mov	rdi, rbp
	call	archive_filter_code@PLT
	mov	edi, eax
	mov	esi, r12d
	call	assertEqualInt@PLT
	mov	r12d, DWORD PTR ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE[rip]
	mov	rdi, rbp
	call	archive_format@PLT
	mov	edi, eax
	mov	esi, r12d
	call	assertEqualInt@PLT
	mov	rdi, rbp
	call	archive_read_close@PLT
	mov	edi, DWORD PTR ARCHIVE_OK[rip]
	mov	esi, eax
	call	assertEqualInt@PLT
	mov	rdi, rbp
	call	archive_read_free@PLT
	mov	edi, DWORD PTR ARCHIVE_OK[rip]
	mov	esi, eax
	call	assertEqualInt@PLT
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
.L11:
	xor	edi, edi
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	test_compat_solaris_pax_sparse_2, .-test_compat_solaris_pax_sparse_2
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE,4,4
	.comm	ARCHIVE_FILTER_COMPRESS,4,4
	.comm	ARCHIVE_EOF,4,4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC6:
	.quad	7885630734175790452
	.quad	7020108460477145456
	.align 16
.LC7:
	.quad	6879355566074063218
	.quad	3629731371198541939
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_test_compat_solaris_pax_sparse.c_test_compat_solaris_pax_sparse_2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"hole\000"
	.align	2
.LC2:
	.ascii	"cue\000"
	.align	2
.LC3:
	.ascii	"staff\000"
	.align	2
.LC4:
	.ascii	"This sparse file should have two data blocks\000"
	.align	2
.LC5:
	.ascii	"The data blocks should not include the hole\000"
	.align	2
.LC6:
	.ascii	"Last 31 bytes should be all 'c'\000"
	.align	2
.LC0:
	.ascii	"test_compat_solaris_pax_sparse_2.pax.Z\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_compat_solaris_pax_sparse_2, %function
test_compat_solaris_pax_sparse_2:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	lr, .L18
	sub	sp, sp, #100
	add	ip, sp, #52
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	ldr	r3, .L18+4
	str	r0, [ip], #4
	strh	r1, [ip], #2	@ movhi
	lsr	r1, r1, #16
	ldr	r3, [r3]
	str	r3, [sp, #92]
	mov	r3,#0
	strb	r1, [ip]
	bl	archive_read_new
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r5, .L18+8
	bl	assert
	mov	r0, r4
	ldr	r6, [r5]
	bl	archive_read_support_filter_all
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	assertEqualIntA
	mov	r0, r4
	ldr	r6, [r5]
	bl	archive_read_support_format_all
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	assertEqualIntA
	add	r0, sp, #52
	bl	extract_reference_file
	mov	r2, #10240
	add	r1, sp, #52
	mov	r0, r4
	ldr	r6, [r5]
	bl	archive_read_open_filename
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	assertEqualIntA
	mov	r1, sp
	mov	r0, r4
	ldr	r7, [r5]
	bl	archive_read_next_header
	mov	r6, r0
	mov	r2, r0
	mov	r1, r7
	mov	r0, r4
	bl	assertEqualIntA
	ldr	r3, [r5]
	cmp	r3, r6
	beq	.L2
	mov	r0, r4
	bl	archive_read_free
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #92]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #100
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r0, [sp]
	bl	archive_entry_pathname
	mov	r1, r0
	ldr	r0, .L18+12
	bl	assertEqualString
	ldr	r0, [sp]
	bl	archive_entry_mtime
	mov	r1, r0
	ldr	r0, .L18+16
	bl	assertEqualInt
	ldr	r0, [sp]
	bl	archive_entry_uid
	mov	r1, r0
	mov	r0, #101
	bl	assertEqualInt
	ldr	r0, [sp]
	bl	archive_entry_uname
	mov	r1, r0
	ldr	r0, .L18+20
	bl	assertEqualString
	ldr	r0, [sp]
	bl	archive_entry_gid
	mov	r1, r0
	mov	r0, #10
	bl	assertEqualInt
	ldr	r0, [sp]
	bl	archive_entry_gname
	mov	r1, r0
	ldr	r0, .L18+24
	bl	assertEqualString
	ldr	r0, [sp]
	bl	archive_entry_mode
	mov	r1, r0
	ldr	r0, .L18+28
	bl	assertEqualInt
	ldr	r0, .L18+32
	bl	failure
	ldr	r0, [sp]
	bl	archive_entry_sparse_reset
	mov	r1, r0
	mov	r0, #2
	bl	assertEqualInt
	add	r2, sp, #8
	add	r1, sp, #4
	ldr	r0, [sp]
	ldr	r6, [r5]
	bl	archive_entry_sparse_next
	mov	r1, r0
	mov	r0, r6
	bl	assertEqualInt
	ldr	r1, [sp, #4]
	mov	r0, #393216
	bl	assertEqualInt
	ldr	r1, [sp, #8]
	mov	r0, #131072
	bl	assertEqualInt
	add	r2, sp, #8
	add	r1, sp, #4
	ldr	r0, [sp]
	ldr	r6, [r5]
	bl	archive_entry_sparse_next
	mov	r1, r0
	mov	r0, r6
	bl	assertEqualInt
	ldr	r1, [sp, #4]
	mov	r0, #786432
	bl	assertEqualInt
	ldr	r1, [sp, #8]
	ldr	r0, .L18+36
	bl	assertEqualInt
	ldr	r7, .L18+40
	ldr	r6, .L18+44
	ldr	r8, .L18+48
.L6:
	add	r3, sp, #4
	mov	r0, r4
	add	r2, sp, #16
	add	r1, sp, #12
	bl	archive_read_data_block
	ldr	r3, [r5]
	cmp	r0, r3
	bne	.L17
	mov	r0, r7
	bl	failure
	ldr	r3, [sp, #4]
	cmp	r3, #393216
	blt	.L11
	ldr	r0, [sp, #16]
	add	r0, r3, r0
	cmp	r0, #524288
	movls	r0, #1
	bls	.L5
	cmp	r3, #786432
	blt	.L11
	cmp	r0, r6
	movhi	r0, #0
	movls	r0, #1
.L5:
	bl	assert
	ldr	r2, [sp, #16]
	ldr	r3, [sp, #4]
	cmp	r2, #30
	add	r3, r2, r3
	sub	r3, r3, r6
	clz	r3, r3
	lsr	r3, r3, #5
	movls	r3, #0
	cmp	r3, #0
	beq	.L6
	ldr	r9, [sp, #12]
	sub	r3, r2, #31
	mov	r1, #99
	mov	r2, #31
	add	r0, sp, #20
	add	r9, r9, r3
	bl	memset
	mov	r0, r8
	bl	failure
	mov	r0, r9
	mov	r2, #31
	add	r1, sp, #20
	bl	assertEqualMem
	b	.L6
.L11:
	mov	r0, #0
	b	.L5
.L17:
	ldr	r3, .L18+52
	mov	r1, sp
	mov	r0, r4
	ldr	r6, [r3]
	bl	archive_read_next_header
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	assertEqualIntA
	mov	r1, #0
	mov	r0, r4
	bl	archive_filter_code
	ldr	r3, .L18+56
	ldr	r1, [r3]
	bl	assertEqualInt
	mov	r0, r4
	bl	archive_format
	ldr	r3, .L18+60
	ldr	r1, [r3]
	bl	assertEqualInt
	mov	r0, r4
	ldr	r6, [r5]
	bl	archive_read_close
	mov	r1, r0
	mov	r0, r6
	bl	assertEqualInt
	mov	r0, r4
	ldr	r5, [r5]
	bl	archive_read_free
	mov	r1, r0
	mov	r0, r5
	bl	assertEqualInt
	b	.L1
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	.LC7
	.word	ARCHIVE_OK
	.word	.LC1
	.word	1310416789
	.word	.LC2
	.word	.LC3
	.word	33188
	.word	.LC4
	.word	32799
	.word	.LC5
	.word	819231
	.word	.LC6
	.word	ARCHIVE_EOF
	.word	ARCHIVE_FILTER_COMPRESS
	.word	ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE
	.size	test_compat_solaris_pax_sparse_2, .-test_compat_solaris_pax_sparse_2
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE,4,4
	.comm	ARCHIVE_FILTER_COMPRESS,4,4
	.comm	ARCHIVE_EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
