	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_fuzz
_test_fuzz:                             ## @test_fuzz
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_1
## %bb.52:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skipping                       ## TAILCALL
LBB0_1:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_51
## %bb.2:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	leaq	-80(%rbp), %r15
	xorl	%ebx, %ebx
	movq	%r14, %r13
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_free
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	%rbx, %rax
	shlq	$4, %rax
	leaq	(%r14,%rax), %r13
	movq	(%r14,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_51
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
                                        ##       Child Loop BB0_44 Depth 3
                                        ##       Child Loop BB0_49 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
	movq	$0, -48(%rbp)
	callq	_extract_reference_files
	movq	%rbx, %rax
	shlq	$4, %rax
	cmpq	$0, 8(%r14,%rax)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	(%r12), %ebx
	movq	%r14, %rdi
	callq	_archive_read_support_filter_all
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movl	(%r12), %ebx
	movq	%r14, %rdi
	callq	_archive_read_support_format_raw
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movq	(%r13), %rsi
	movq	%r14, %rdi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_archive_read_open_filenames
	cmpl	(%r12), %eax
	jne	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movl	$30000000, %edi                 ## imm = 0x1C9C380
	callq	_malloc
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	movl	$30000000, %edx                 ## imm = 0x1C9C380
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_archive_read_data
	movq	%rax, -48(%rbp)
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movslq	(%r12), %rbx
	movq	%r14, %rdi
	callq	_archive_read_free
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_assertEqualInt
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	setne	%dil
	callq	_assert
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_failure
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	$8, %ebx
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	%r13, %rdi
	addq	%r15, %rdi
	movq	-48(%rbp), %rdx
	movq	%r14, %rsi
	callq	_memcpy
	addq	-48(%rbp), %r15
	movq	%r15, -48(%rbp)
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	movq	%r14, %rdi
	callq	_free
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	je	LBB0_23
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-48(%rbp), %rdi
	callq	_slurpfile
	movq	%rax, %r14
	movq	-48(%rbp), %rsi
	addq	%r15, %rsi
	movq	%r13, %rdi
	callq	_realloc
	movq	%r13, %r12
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	%r12, %rdi
	callq	_free
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_archive_read_free
	movq	(%r13), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_skipping
	jmp	LBB0_26
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_failure
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edi, %edi
	cmpq	$30000000, -48(%rbp)            ## imm = 0x1C9C380
	setb	%dil
	callq	_assert
	testl	%eax, %eax
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_skipping
	jmp	LBB0_26
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	leaq	-80(%rbp), %r15
	je	LBB0_24
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_malloc
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testq	%r14, %r14
	je	LBB0_50
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_time
	movl	%eax, %edi
	callq	_srand
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	%rbx, %rdi
	callq	_archive_read_free
	incl	%r13d
	cmpl	$1000, %r13d                    ## imm = 0x3E8
	je	LBB0_43
LBB0_29:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_44 Depth 3
                                        ##       Child Loop BB0_49 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
	movq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movslq	-48(%rbp), %rax
	imulq	$1374389535, %rax, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$37, %rbx
	addl	%eax, %ebx
	cmpl	$5, %ebx
	movl	$4, %eax
	cmovll	%eax, %ebx
	xorl	%eax, %eax
	callq	_rand
	movq	%rax, %rcx
	shrq	$32, %rcx
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=2
	xorl	%edx, %edx
	divq	%rbx
	movq	%rdx, %r15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_29 Depth=2
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
	movl	%edx, %r15d
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=2
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	jne	LBB0_44
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=2
	leaq	L_.str.6(%rip), %r15
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %r12
	movq	%r12, %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_fopen
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=2
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	-48(%rbp), %r15
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_archive_read_support_filter_all
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_archive_read_support_format_all
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_archive_read_open_memory
	testq	%rax, %rax
	jne	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	leaq	-80(%rbp), %rsi
	callq	_archive_read_next_header
	testq	%rax, %rax
	leaq	-104(%rbp), %rbx
	jne	LBB0_38
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_29 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-96(%rbp), %rdx
	leaq	-84(%rbp), %rcx
	callq	_archive_read_data_block
	testq	%rax, %rax
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_49 Depth=3
	movq	%r15, %rdi
	leaq	-80(%rbp), %rsi
	callq	_archive_read_next_header
	testq	%rax, %rax
	je	LBB0_49
LBB0_38:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	callq	_archive_read_close
LBB0_39:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	%r15, %rdi
	callq	_archive_read_free
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movl	(%r12), %r15d
	movq	%rbx, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_assertEqualIntA
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_read_open_memory
	testq	%rax, %rax
	leaq	-80(%rbp), %r15
	jne	LBB0_42
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_29 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header
	testq	%rax, %rax
	je	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rbx, %rdi
	callq	_archive_read_close
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_44 Depth=3
	xorl	%edx, %edx
	divq	%rcx
LBB0_47:                                ##   in Loop: Header=BB0_44 Depth=3
	movb	%bl, (%r14,%rdx)
	incl	%r12d
	cmpl	%r15d, %r12d
	jae	LBB0_33
LBB0_44:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_29 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_rand
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rand
	movq	-48(%rbp), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	jne	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=3
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	jmp	LBB0_25
LBB0_50:
	movq	%r13, %rdi
	callq	_free
LBB0_51:
	addq	$72, %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	"SKIP_TEST_FUZZ"

L_.str.1:                               ## @.str.1
	.asciz	"Skipping fuzz tests due to SKIP_TEST_FUZZ environment variable"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.2:                               ## @.str.2
	.asciz	"Cannot uncompress fileset"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot uncompress %s"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
L_.str.4:                               ## @.str.4
	.asciz	"Internal buffer is not big enough for uncompressed test files"

L_.str.5:                               ## @.str.5
	.asciz	"Internal buffer is not big enough for uncompressed test file: %s"

L_.str.6:                               ## @.str.6
	.asciz	"after.test.failure.send.this.file.to.libarchive.maintainers.with.system.details"

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

	.no_dead_strip	_test_fuzz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_fuzz
_test_fuzz:                             ; @test_fuzz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_skipping
LBB0_2:
	ldr	x0, [x19]
	cbz	x0, LBB0_44
; %bb.3:
	mov	x25, #0
Lloh4:
	adrp	x20, l_.str.6@PAGE
Lloh5:
	add	x20, x20, l_.str.6@PAGEOFF
Lloh6:
	adrp	x21, l_.str.7@PAGE
Lloh7:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh8:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh9:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	mov	x23, x19
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_free
	mov	x0, x26
	bl	_free
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	add	x23, x19, x25, lsl #4
	ldr	x0, [x23]
	cbz	x0, LBB0_44
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_28 Depth 3
                                        ;       Child Loop BB0_34 Depth 3
                                        ;         Child Loop BB0_33 Depth 4
                                        ;       Child Loop BB0_37 Depth 3
	str	xzr, [sp, #24]
	bl	_extract_reference_files
	add	x8, x19, x25, lsl #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_archive_read_new
	mov	x27, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w26, [x22]
	mov	x0, x27
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x27
	mov	x1, x26
	bl	_assertEqualIntA
	ldr	w26, [x22]
	mov	x0, x27
	bl	_archive_read_support_format_raw
	mov	x2, x0
	mov	x0, x27
	mov	x1, x26
	bl	_assertEqualIntA
	ldr	x1, [x23]
	mov	x0, x27
	mov	w2, #16384
	bl	_archive_read_open_filenames
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x0
	add	x1, sp, #32
	mov	x0, x27
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x27
	mov	x1, x26
	bl	_assertEqualIntA
	mov	w0, #50048
	movk	w0, #457, lsl #16
	bl	_malloc
	mov	x26, x0
	mov	x0, x27
	mov	x1, x26
	mov	w2, #50048
	movk	w2, #457, lsl #16
	bl	_archive_read_data
	str	x0, [sp, #24]
Lloh10:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh12:
	ldr	w28, [x8]
	add	x1, sp, #32
	mov	x0, x27
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x27
	mov	x1, x28
	bl	_assertEqualIntA
	ldrsw	x28, [x22]
	mov	x0, x27
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x28
	bl	_assertEqualInt
	ldr	x8, [sp, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x9, [x23]
	ldr	x8, [x9]
	cbz	x8, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
	ldr	x1, [x8]
	cbz	x1, LBB0_41
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, #0
	mov	x24, #0
	mov	w19, #8
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x0, x28, x24
	ldr	x2, [sp, #24]
	mov	x1, x27
	bl	_memcpy
	ldr	x8, [sp, #24]
	add	x24, x8, x24
	str	x24, [sp, #24]
	mov	x26, x28
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x27
	bl	_free
	ldr	x8, [x23]
	ldr	x1, [x8, x19]
	add	x19, x19, #8
	cbz	x1, LBB0_22
LBB0_15:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #24
	bl	_slurpfile
	mov	x27, x0
	ldr	x8, [sp, #24]
	add	x1, x8, x24
	mov	x0, x26
	bl	_realloc
	mov	x28, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbnz	w0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x26
	bl	_free
	mov	x26, #0
	b	LBB0_14
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_archive_read_free
	ldr	x9, [x23]
	ldr	x8, [x9]
	cbz	x8, LBB0_39
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_39
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_40
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_failure
	ldr	x8, [sp, #24]
	mov	w9, #50048
	movk	w9, #457, lsl #16
	cmp	x8, x9
	cset	w0, lo
	bl	_assert
	cbz	w0, LBB0_42
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x19, x0, [sp, #16]              ; 8-byte Folded Reload
	cbz	x0, LBB0_42
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_malloc
	mov	x27, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	x27, LBB0_43
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x26, #0
	cset	w0, ne
	bl	_assert
	mov	x0, #0
	bl	_time
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_srand
	mov	w24, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x28
	bl	_archive_read_free
	add	w24, w24, #1
	cmp	w24, #1000
	b.eq	LBB0_4
LBB0_26:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_28 Depth 3
                                        ;       Child Loop BB0_34 Depth 3
                                        ;         Child Loop BB0_33 Depth 4
                                        ;       Child Loop BB0_37 Depth 3
	ldr	x2, [sp, #24]
	mov	x0, x27
	mov	x1, x26
	bl	_memcpy
	ldrsw	x8, [sp, #24]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	w8, #4
	mov	w9, #4
	csel	w19, w8, w9, gt
	bl	_rand
	udiv	x8, x0, x19
	msub	w19, w8, w19, w0
	cbz	w19, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	w23, #0
LBB0_28:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_rand
	mov	x28, x0
	bl	_rand
	ldr	x8, [sp, #24]
	udiv	x9, x0, x8
	msub	x8, x9, x8, x0
	strb	w28, [x27, x8]
	add	w23, w23, #1
	cmp	w23, w19
	b.lo	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_fopen
	mov	x28, x0
	cbnz	x0, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_fopen
	mov	x28, x0
	cbnz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_fopen
	mov	x28, x0
LBB0_32:                                ;   in Loop: Header=BB0_26 Depth=2
	cmp	x28, #0
	cset	w0, ne
	bl	_assert
	ldr	x23, [sp, #24]
	mov	x0, x27
	mov	w1, #1
	mov	x2, x23
	mov	x3, x28
	bl	_fwrite
	mov	x1, x0
	mov	x0, x23
	bl	_assertEqualInt
	mov	x0, x28
	bl	_fclose
	bl	_archive_read_new
	mov	x28, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w23, [x22]
	mov	x0, x28
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x28
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x22]
	mov	x0, x28
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x28
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	x2, [sp, #24]
	mov	x0, x28
	mov	x1, x27
	bl	_archive_read_open_memory
	cbnz	x0, LBB0_36
	b	LBB0_34
LBB0_33:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ;       Parent Loop BB0_34 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	add	x1, sp, #56
	add	x2, sp, #48
	add	x3, sp, #44
	mov	x0, x28
	bl	_archive_read_data_block
	cbz	x0, LBB0_33
LBB0_34:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_33 Depth 4
	add	x1, sp, #32
	mov	x0, x28
	bl	_archive_read_next_header
	cbz	x0, LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x28
	bl	_archive_read_close
LBB0_36:                                ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x28
	bl	_archive_read_free
	bl	_archive_read_new
	mov	x28, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w23, [x22]
	mov	x0, x28
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x28
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	w23, [x22]
	mov	x0, x28
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x28
	mov	x1, x23
	bl	_assertEqualIntA
	ldr	x2, [sp, #24]
	mov	x0, x28
	mov	x1, x27
	bl	_archive_read_open_memory
	cbnz	x0, LBB0_25
LBB0_37:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x1, sp, #32
	mov	x0, x28
	bl	_archive_read_next_header
	cbz	x0, LBB0_37
; %bb.38:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x28
	bl	_archive_read_close
	b	LBB0_25
LBB0_39:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_40:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_skipping
	b	LBB0_5
LBB0_41:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, #0
	ldp	x19, x0, [sp, #16]              ; 8-byte Folded Reload
	cbnz	x0, LBB0_23
LBB0_42:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_free
	b	LBB0_5
LBB0_43:
	mov	x0, x26
	bl	_free
LBB0_44:
	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
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SKIP_TEST_FUZZ"

l_.str.1:                               ; @.str.1
	.asciz	"Skipping fuzz tests due to SKIP_TEST_FUZZ environment variable"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.2:                               ; @.str.2
	.asciz	"Cannot uncompress fileset"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot uncompress %s"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
l_.str.4:                               ; @.str.4
	.asciz	"Internal buffer is not big enough for uncompressed test files"

l_.str.5:                               ; @.str.5
	.asciz	"Internal buffer is not big enough for uncompressed test file: %s"

l_.str.6:                               ; @.str.6
	.asciz	"after.test.failure.send.this.file.to.libarchive.maintainers.with.system.details"

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

	.no_dead_strip	_test_fuzz
.subsections_via_symbols
