	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rd_ln_nm
_rd_ln_nm:                              ## @rd_ln_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdi), %rdx
	leaq	-8(%rdx), %rax
	cmpq	$-8, %rax
	ja	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_paxwarn
	jmp	LBB0_7
LBB0_2:
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movl	%edx, %esi
	callq	_rd_wrbuf
	movq	16(%rbx), %rcx
	cmpl	%ecx, %eax
	jne	LBB0_3
## %bb.4:
	movq	%rcx, 8(%rbx)
	movq	(%rbx), %rax
	movb	$0, (%rax,%rcx)
	movq	(%rbx), %rcx
	xorl	%eax, %eax
	cmpb	$0, (%rcx)
	jne	LBB0_8
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_paxwarn
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cpio link name length is invalid: %ju"

L_.str.1:                               ## @.str.1
	.asciz	"Cpio link name read error"

L_.str.2:                               ## @.str.2
	.asciz	"Cpio link name is corrupt"

	.no_dead_strip	_rd_ln_nm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rd_ln_nm
_rd_ln_nm:                              ; @rd_ln_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
	ldr	x1, [x0, #16]
	sub	x8, x1, #8
	cmn	x8, #8
	b.hi	LBB0_2
; %bb.1:
	str	x1, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	x19, x0
	ldr	x0, [x0]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_rd_wrbuf
	ldr	x8, [x19, #16]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.3:
	mov	w0, #0
	str	x8, [x19, #8]
	ldr	x9, [x19]
	strb	wzr, [x9, x8]
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_7
; %bb.4:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cpio link name length is invalid: %ju"

l_.str.1:                               ; @.str.1
	.asciz	"Cpio link name read error"

l_.str.2:                               ; @.str.2
	.asciz	"Cpio link name is corrupt"

	.no_dead_strip	_rd_ln_nm
.subsections_via_symbols
