	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_splitted_file
_test_splitted_file:                    ## @test_splitted_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	L___const.test_splitted_file.test_txt(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movabsq	$2829543486614901, %rax         ## imm = 0xA0D746E656D75
	movq	%rax, -131(%rbp)
	leaq	_test_splitted_file.reffiles(%rip), %r14
	movq	%r14, %rdi
	callq	_extract_reference_files
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r12, %rdi
	callq	_archive_read_support_filter_all
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assertA
	movq	%r12, %rdi
	callq	_archive_read_support_format_all
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assertA
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_archive_read_open_filenames
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assertA
	leaq	-152(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.4(%rip), %r13
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_ctime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_atime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_size
	movl	$20, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mode
	movl	$33188, %edi                    ## imm = 0x81A4
	movl	%eax, %esi
	callq	_assertEqualInt
	leaq	-112(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$20, %edx
	callq	_archive_read_data
	xorl	%edi, %edi
	cmpl	$20, %eax
	sete	%dil
	callq	_assertA
	leaq	-144(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$20, %edx
	callq	_assertEqualMem
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_ctime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_atime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_size
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mode
	movl	$41471, %edi                    ## imm = 0xA1FF
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-152(%rbp), %rdi
	callq	_archive_entry_symlink
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$64, %edx
	callq	_archive_read_data
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_ctime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_atime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_size
	movl	$20, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mode
	movl	$33188, %edi                    ## imm = 0x81A4
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$20, %edx
	callq	_archive_read_data
	xorl	%edi, %edi
	cmpl	$20, %eax
	sete	%dil
	callq	_assertA
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$20, %edx
	callq	_assertEqualMem
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_ctime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_atime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_size
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mode
	movl	$16877, %edi                    ## imm = 0x41ED
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_ctime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_atime
	movl	%eax, %edi
	callq	_assertA
	movq	-152(%rbp), %rdi
	callq	_archive_entry_size
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	-152(%rbp), %rdi
	callq	_archive_entry_mode
	movl	$16877, %edi                    ## imm = 0x41ED
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	callq	_assertA
	movq	%r12, %rdi
	callq	_archive_file_count
	movl	$5, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_archive_read_close
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_archive_read_free
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @test_splitted_file.reffiles
_test_splitted_file.reffiles:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test_read_splitted_rar_aa"

L_.str.1:                               ## @.str.1
	.asciz	"test_read_splitted_rar_ab"

L_.str.2:                               ## @.str.2
	.asciz	"test_read_splitted_rar_ac"

L_.str.3:                               ## @.str.3
	.asciz	"test_read_splitted_rar_ad"

	.p2align	4                               ## @__const.test_splitted_file.test_txt
L___const.test_splitted_file.test_txt:
	.asciz	"test text document\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"test.txt"

L_.str.5:                               ## @.str.5
	.asciz	"testlink"

L_.str.6:                               ## @.str.6
	.asciz	"testdir/test.txt"

L_.str.7:                               ## @.str.7
	.asciz	"testdir"

L_.str.8:                               ## @.str.8
	.asciz	"testemptydir"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_test_splitted_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_splitted_file
_test_splitted_file:                    ; @test_splitted_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l___const.test_splitted_file.test_txt@PAGE
Lloh4:
	add	x8, x8, l___const.test_splitted_file.test_txt@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldur	x8, [x8, #13]
	stur	x8, [sp, #29]
Lloh5:
	adrp	x20, _test_splitted_file.reffiles@PAGE
Lloh6:
	add	x20, x20, _test_splitted_file.reffiles@PAGEOFF
	mov	x0, x20
	bl	_extract_reference_files
	bl	_archive_read_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_archive_read_support_filter_all
	cmp	x0, #0
	cset	w0, eq
	bl	_assertA
	mov	x0, x19
	bl	_archive_read_support_format_all
	cmp	x0, #0
	cset	w0, eq
	bl	_assertA
	mov	x0, x19
	mov	x1, x20
	mov	w2, #10240
	bl	_archive_read_open_filenames
	cmp	x0, #0
	cset	w0, eq
	bl	_assertA
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	cmp	w0, #0
	cset	w0, eq
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh7:
	adrp	x20, l_.str.4@PAGE
Lloh8:
	add	x20, x20, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #20
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	w0, #33188
	bl	_assertEqualInt
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #20
	bl	_archive_read_data
	cmp	w0, #20
	cset	w0, eq
	bl	_assertA
	add	x0, sp, #40
	add	x1, sp, #16
	mov	w2, #20
	bl	_assertEqualMem
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	cmp	w0, #0
	cset	w0, eq
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str.5@PAGE
Lloh10:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	w0, #41471
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_symlink
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualString
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #64
	bl	_archive_read_data
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	cmp	w0, #0
	cset	w0, eq
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.6@PAGE
Lloh12:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #20
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	w0, #33188
	bl	_assertEqualInt
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #20
	bl	_archive_read_data
	cmp	w0, #20
	cset	w0, eq
	bl	_assertA
	add	x0, sp, #40
	add	x1, sp, #16
	mov	w2, #20
	bl	_assertEqualMem
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	cmp	w0, #0
	cset	w0, eq
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh13:
	adrp	x0, l_.str.7@PAGE
Lloh14:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	w0, #16877
	bl	_assertEqualInt
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	cmp	w0, #0
	cset	w0, eq
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.8@PAGE
Lloh16:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_assertEqualString
	ldr	x0, [sp, #8]
	bl	_archive_entry_mtime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_ctime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_atime
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assertA
	ldr	x0, [sp, #8]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #8]
	bl	_archive_entry_mode
	mov	x1, x0
	mov	w0, #16877
	bl	_assertEqualInt
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_read_next_header
	cmp	w0, #1
	cset	w0, eq
	bl	_assertA
	mov	x0, x19
	bl	_archive_file_count
	mov	x1, x0
	mov	w0, #5
	bl	_assertEqualInt
Lloh17:
	adrp	x21, _ARCHIVE_OK@GOTPAGE
Lloh18:
	ldr	x21, [x21, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x19
	bl	_archive_read_close
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x21]
	mov	x0, x19
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @test_splitted_file.reffiles
_test_splitted_file.reffiles:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test_read_splitted_rar_aa"

l_.str.1:                               ; @.str.1
	.asciz	"test_read_splitted_rar_ab"

l_.str.2:                               ; @.str.2
	.asciz	"test_read_splitted_rar_ac"

l_.str.3:                               ; @.str.3
	.asciz	"test_read_splitted_rar_ad"

l___const.test_splitted_file.test_txt:  ; @__const.test_splitted_file.test_txt
	.asciz	"test text document\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"test.txt"

l_.str.5:                               ; @.str.5
	.asciz	"testlink"

l_.str.6:                               ; @.str.6
	.asciz	"testdir/test.txt"

l_.str.7:                               ; @.str.7
	.asciz	"testdir"

l_.str.8:                               ; @.str.8
	.asciz	"testemptydir"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_test_splitted_file
.subsections_via_symbols
