	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basic_cpio
_basic_cpio:                            ## @basic_cpio
	.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
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_testprog@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_systemf
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movq	_testprog@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_failure
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_assertChdir
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_failure
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_assertTextFileContents
	movq	_testprog@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_systemf
	movl	%eax, %r14d
	movslq	(%r13), %rsi
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_failure
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movslq	(%r13), %rsi
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_failure
	leaq	L_.str.7(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_assertTextFileContents
	movq	%r12, %rdi
	callq	_verify_files
	leaq	L_.str.8(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assertChdir                    ## TAILCALL
LBB0_1:
	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	"%s -R 1000:1000 -o %s < filelist >%s/archive 2>%s/pack.err"

	.comm	_testprog,4,2                   ## @testprog
L_.str.1:                               ## @.str.1
	.asciz	"Error invoking %s -o %s"

L_.str.2:                               ## @.str.2
	.asciz	"Expected: %s, options=%s"

L_.str.3:                               ## @.str.3
	.asciz	"pack.err"

L_.str.4:                               ## @.str.4
	.asciz	"%s -i %s< archive >unpack.out 2>unpack.err"

L_.str.5:                               ## @.str.5
	.asciz	"Error invoking %s -i %s"

L_.str.6:                               ## @.str.6
	.asciz	"Error invoking %s -i %s in dir %s"

L_.str.7:                               ## @.str.7
	.asciz	"unpack.err"

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

	.no_dead_strip	_basic_cpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basic_cpio
_basic_cpio:                            ; @basic_cpio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w1, #509
	bl	_assertMakeDir
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x25, _testprog@GOTPAGE
Lloh1:
	ldr	x25, [x25, _testprog@GOTPAGEOFF]
	ldr	w1, [x25]
	stp	x22, x22, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_systemf
	mov	x24, x0
	ldrsw	x1, [x25]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_failure
	mov	x0, x24
	mov	w1, #0
	bl	_assertEqualInt
	mov	x0, x22
	bl	_assertChdir
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	mov	x2, x19
	bl	_failure
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_assertTextFileContents
	ldr	w1, [x25]
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_systemf
	mov	x23, x0
	ldrsw	x1, [x25]
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x2, x21
	bl	_failure
	mov	x0, x23
	mov	w1, #0
	bl	_assertEqualInt
	ldrsw	x1, [x25]
	str	x22, [sp]
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x2, x21
	bl	_failure
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_assertTextFileContents
	mov	x0, x19
	bl	_verify_files
Lloh18:
	adrp	x0, l_.str.8@PAGE
Lloh19:
	add	x0, x0, l_.str.8@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_assertChdir
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s -R 1000:1000 -o %s < filelist >%s/archive 2>%s/pack.err"

	.comm	_testprog,4,2                   ; @testprog
l_.str.1:                               ; @.str.1
	.asciz	"Error invoking %s -o %s"

l_.str.2:                               ; @.str.2
	.asciz	"Expected: %s, options=%s"

l_.str.3:                               ; @.str.3
	.asciz	"pack.err"

l_.str.4:                               ; @.str.4
	.asciz	"%s -i %s< archive >unpack.out 2>unpack.err"

l_.str.5:                               ; @.str.5
	.asciz	"Error invoking %s -i %s"

l_.str.6:                               ; @.str.6
	.asciz	"Error invoking %s -i %s in dir %s"

l_.str.7:                               ; @.str.7
	.asciz	"unpack.err"

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

	.no_dead_strip	_basic_cpio
.subsections_via_symbols
