	.file	"extr_cpio.c_rd_nm.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cpio file name length %d is out of range"
	.align 8
.LC1:
	.string	"Cpio file name in header is corrupted"
	.text
	.p2align 4
	.type	rd_nm, @function
rd_nm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	esi, esi
	je	.L7
	cmp	esi, 8
	jg	.L7
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rdi]
	call	rd_wrbuf@PLT
	cmp	eax, r12d
	jne	.L5
	mov	rdx, QWORD PTR [rbx]
	cdqe
	cmp	BYTE PTR -1[rdx+rax], 0
	jne	.L5
	cmp	BYTE PTR [rdx], 0
	je	.L5
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	edi, 1
	xor	eax, eax
	call	paxwarn@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	edi, 1
	xor	eax, eax
	call	paxwarn@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rd_nm, .-rd_nm
	.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_rd_nm.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cpio file name length %d is out of range\000"
	.align	2
.LC1:
	.ascii	"Cpio file name in header is corrupted\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rd_nm, %function
rd_nm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #4
	movle	r3, #0
	movgt	r3, #1
	cmp	r1, #0
	moveq	r3, #1
	cmp	r3, #0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bne	.L8
	mov	r5, r0
	ldr	r0, [r0]
	bl	rd_wrbuf
	cmp	r0, r4
	bne	.L4
	ldr	r3, [r5]
	add	r0, r3, r0
	ldrb	r0, [r0, #-1]	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
.L4:
	ldr	r1, .L9
	mov	r0, #1
	bl	paxwarn
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	mov	r2, r1
	mov	r0, #1
	ldr	r1, .L9+4
	bl	paxwarn
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC0
	.size	rd_nm, .-rd_nm
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
