	.file	"extr_cpio.c_vcpio_rd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vcpio_rd
	.type	vcpio_rd, @function
vcpio_rd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	cmp	QWORD PTR docrc[rip], 0
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, 52
	mov	rdi, rbx
	je	.L2
	call	crc_id@PLT
	test	rax, rax
	js	.L5
.L6:
	mov	QWORD PTR 0[rbp], 0
	mov	edi, DWORD PTR 48[rbx]
	mov	esi, 4
	mov	edx, DWORD PTR HEX[rip]
	call	asc_ul@PLT
	mov	edi, DWORD PTR 44[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 96[rbp], rax
	call	asc_ul@PLT
	mov	edi, DWORD PTR 40[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	DWORD PTR 24[rbp], eax
	call	asc_ul@PLT
	mov	edi, DWORD PTR 36[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 88[rbp], rax
	call	asc_ul@PLT
	mov	edi, DWORD PTR 32[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 80[rbp], rax
	call	asc_uqd@PLT
	mov	edi, DWORD PTR 28[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 56[rbp], rax
	mov	QWORD PTR 64[rbp], rax
	mov	QWORD PTR 72[rbp], rax
	call	asc_uqd@PLT
	mov	edi, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	DWORD PTR 28[rbp], eax
	call	asc_ul@PLT
	mov	edi, DWORD PTR 20[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 48[rbp], rax
	call	asc_ul@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	r12, rax
	call	asc_ul@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	TODEV@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 40[rbp], rax
	call	asc_ul@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	r12, rax
	call	asc_ul@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	TODEV@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 32[rbp], rax
	call	asc_ul@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR HEX[rip]
	mov	esi, 4
	mov	QWORD PTR 112[rbp], rax
	call	asc_ul@PLT
	mov	rbx, rax
	cmp	eax, 1
	jle	.L5
	lea	eax, -1[rax]
	mov	esi, ebx
	mov	rdi, rbp
	mov	DWORD PTR 8[rbp], eax
	call	rd_nm@PLT
	test	rax, rax
	js	.L5
	lea	edi, 52[rbx]
	call	VCPIO_PAD@PLT
	mov	rdi, rax
	call	rd_skip@PLT
	test	rax, rax
	js	.L5
	mov	eax, DWORD PTR 24[rbp]
	and	eax, DWORD PTR C_IFMT[rip]
	cmp	eax, DWORD PTR C_ISLNK[rip]
	jne	.L7
	mov	eax, DWORD PTR 28[rbp]
	test	eax, eax
	jne	.L8
.L7:
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR 104[rbp], 0
	mov	BYTE PTR [rax], 0
	mov	edi, DWORD PTR 28[rbp]
	call	VCPIO_PAD@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	QWORD PTR 0[rbp], rax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	com_rd@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	vcpio_id@PLT
	test	rax, rax
	jns	.L6
.L5:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	rd_ln_nm@PLT
	test	rax, rax
	js	.L5
	mov	edi, DWORD PTR 28[rbp]
	call	VCPIO_PAD@PLT
	mov	rdi, rax
	call	rd_skip@PLT
	test	rax, rax
	js	.L5
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	com_rd@PLT
	.cfi_endproc
.LFE0:
	.size	vcpio_rd, .-vcpio_rd
	.comm	docrc,8,8
	.comm	HEX,4,4
	.comm	C_ISLNK,4,4
	.comm	C_IFMT,4,4
	.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_cpio.c_vcpio_rd.c"
	.text
	.align	2
	.global	vcpio_rd
	.syntax unified
	.arm
	.fpu softvfp
	.type	vcpio_rd, %function
vcpio_rd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r3, .L11
	mov	r4, r0
	ldr	r3, [r3]
	mov	r1, #52
	cmp	r3, #0
	mov	r0, r5
	beq	.L2
	bl	crc_id
	cmp	r0, #0
	blt	.L5
.L6:
	mov	r3, #0
	ldr	r6, .L11+4
	str	r3, [r4]
	mov	r1, #4
	ldr	r2, [r6]
	ldr	r0, [r5, #48]
	bl	asc_ul
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #52]
	ldr	r0, [r5, #44]
	bl	asc_ul
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #12]
	ldr	r0, [r5, #40]
	bl	asc_ul
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #48]
	ldr	r0, [r5, #36]
	bl	asc_ul
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #44]
	ldr	r0, [r5, #32]
	bl	asc_uqd
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #32]
	str	r0, [r4, #36]
	str	r0, [r4, #40]
	ldr	r0, [r5, #28]
	bl	asc_uqd
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #16]
	ldr	r0, [r5, #24]
	bl	asc_ul
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #28]
	ldr	r0, [r5, #20]
	bl	asc_ul
	ldr	r2, [r6]
	mov	r7, r0
	mov	r1, #4
	ldr	r0, [r5, #16]
	bl	asc_ul
	mov	r1, r0
	mov	r0, r7
	bl	TODEV
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #24]
	ldr	r0, [r5, #12]
	bl	asc_ul
	ldr	r2, [r6]
	mov	r7, r0
	mov	r1, #4
	ldr	r0, [r5, #8]
	bl	asc_ul
	mov	r1, r0
	mov	r0, r7
	bl	TODEV
	mov	r1, #4
	ldr	r2, [r6]
	str	r0, [r4, #20]
	ldr	r0, [r5, #4]
	bl	asc_ul
	mov	r1, #4
	str	r0, [r4, #60]
	ldr	r2, [r6]
	ldr	r0, [r5]
	bl	asc_ul
	cmp	r0, #1
	mov	r5, r0
	ble	.L5
	sub	r3, r0, #1
	mov	r1, r0
	str	r3, [r4, #4]
	mov	r0, r4
	bl	rd_nm
	cmp	r0, #0
	blt	.L5
	add	r0, r5, #52
	bl	VCPIO_PAD
	bl	rd_skip
	cmp	r0, #0
	blt	.L5
	ldr	r3, .L11+8
	ldr	r2, .L11+12
	ldr	r1, [r3]
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2
	bne	.L7
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L8
.L7:
	mov	r3, #0
	ldr	r2, [r4, #8]
	str	r3, [r4, #56]
	strb	r3, [r2]
	ldr	r0, [r4, #16]
	bl	VCPIO_PAD
	mov	r3, r0
	mov	r0, r4
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	com_rd
.L2:
	bl	vcpio_id
	cmp	r0, #0
	bge	.L6
.L5:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	bl	rd_ln_nm
	cmp	r0, #0
	blt	.L5
	ldr	r0, [r4, #16]
	bl	VCPIO_PAD
	bl	rd_skip
	cmp	r0, #0
	blt	.L5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	com_rd
.L12:
	.align	2
.L11:
	.word	docrc
	.word	HEX
	.word	C_IFMT
	.word	C_ISLNK
	.size	vcpio_rd, .-vcpio_rd
	.comm	docrc,4,4
	.comm	HEX,4,4
	.comm	C_ISLNK,4,4
	.comm	C_IFMT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
