	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_nm
_rd_nm:                                 ## @rd_nm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	cmpl	$9, %ebx
	jge	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movl	%ebx, %esi
	callq	_rd_wrbuf
	cmpl	%ebx, %eax
	jne	LBB0_6
## %bb.4:
	movq	(%r14), %rcx
	movslq	%ebx, %rax
	cmpb	$0, -1(%rax,%rcx)
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpb	$0, (%rcx)
	jne	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_paxwarn
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_paxwarn
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cpio file name length %d is out of range"

L_.str.1:                               ## @.str.1
	.asciz	"Cpio file name in header is corrupted"

	.no_dead_strip	_rd_nm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_nm
_rd_nm:                                 ; @rd_nm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	cbz	w1, LBB0_5
; %bb.1:
	cmp	w19, #9
	b.ge	LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	x0, [x0]
	mov	x1, x19
	bl	_rd_wrbuf
	cmp	w0, w19
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x20]
	add	x9, x8, w19, sxtw
	ldurb	w9, [x9, #-1]
	cbz	w9, LBB0_8
LBB0_4:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	str	x19, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	w0, #1
	bl	_paxwarn
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	ldrb	w8, [x8]
	cbz	w8, LBB0_4
; %bb.9:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cpio file name length %d is out of range"

l_.str.1:                               ; @.str.1
	.asciz	"Cpio file name in header is corrupted"

	.no_dead_strip	_rd_nm
.subsections_via_symbols
