	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpio_rd                        ## -- Begin function cpio_rd
	.p2align	4, 0x90
_cpio_rd:                               ## @cpio_rd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$40, %esi
	callq	_cpio_id
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	movq	$0, (%r14)
	movl	36(%rbx), %edi
	movq	_OCT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movq	%rax, 112(%r14)
	movl	32(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movq	%rax, 104(%r14)
	movl	28(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movl	%eax, 32(%r14)
	movl	24(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movq	%rax, 96(%r14)
	movl	20(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movq	%rax, 88(%r14)
	movl	16(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movq	%rax, 80(%r14)
	movl	12(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	movq	%rax, 72(%r14)
	movl	8(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_uqd
	movq	%rax, 48(%r14)
	movq	%rax, 56(%r14)
	movq	%rax, 64(%r14)
	movl	4(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_uqd
	movq	%rax, 40(%r14)
	movl	(%rbx), %edi
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_asc_ul
	cmpl	$2, %eax
	jl	LBB0_8
## %bb.2:
	leal	-1(%rax), %ecx
	movl	%ecx, 8(%r14)
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_rd_nm
	testq	%rax, %rax
	js	LBB0_8
## %bb.3:
	movq	_C_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	32(%r14), %eax
	movq	_C_ISLNK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 40(%r14)
	je	LBB0_5
## %bb.7:
	movq	%r14, %rdi
	callq	_rd_ln_nm
	testq	%rax, %rax
	jns	LBB0_6
LBB0_8:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	$0, 24(%r14)
	movq	16(%r14), %rax
	movb	$0, (%rax)
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_com_rd                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OCT,4,2                        ## @OCT
	.comm	_C_IFMT,4,2                     ## @C_IFMT
	.comm	_C_ISLNK,4,2                    ## @C_ISLNK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpio_rd                        ; -- Begin function cpio_rd
	.p2align	2
_cpio_rd:                               ; @cpio_rd
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #40
	bl	_cpio_id
	tbnz	x0, #63, LBB0_6
; %bb.1:
	str	xzr, [x19]
	ldr	w0, [x20, #36]
Lloh0:
	adrp	x21, _OCT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OCT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	x0, [x19, #112]
	ldr	w0, [x20, #32]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	x0, [x19, #104]
	ldr	w0, [x20, #28]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	w0, [x19, #32]
	ldr	w0, [x20, #24]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	x0, [x19, #96]
	ldr	w0, [x20, #20]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	x0, [x19, #88]
	ldr	w0, [x20, #16]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	x0, [x19, #80]
	ldr	w0, [x20, #12]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	str	x0, [x19, #72]
	ldr	w0, [x20, #8]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_uqd
	stp	x0, x0, [x19, #48]
	str	x0, [x19, #64]
	ldr	w0, [x20, #4]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_uqd
	str	x0, [x19, #40]
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_asc_ul
	mov	x1, x0
	cmp	w1, #2
	b.lt	LBB0_6
; %bb.2:
	sub	w8, w1, #1
	str	w8, [x19, #8]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_rd_nm
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	w8, [x19, #32]
Lloh2:
	adrp	x9, _C_IFMT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _C_IFMT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh5:
	adrp	x9, _C_ISLNK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _C_ISLNK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_rd_ln_nm
	tbz	x0, #63, LBB0_8
LBB0_6:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
	strb	wzr, [x8]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_com_rd
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OCT,4,2                        ; @OCT
	.comm	_C_IFMT,4,2                     ; @C_IFMT
	.comm	_C_ISLNK,4,2                    ; @C_ISLNK
.subsections_via_symbols
