	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p4_fetchname
_p4_fetchname:                          ## @p4_fetchname
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_8
## %bb.3:
	xorl	%r15d, %r15d
	movq	%rbx, %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%r12), %eax
	cmpb	$35, (%r12)
	cmoveq	%r12, %r15
	incq	%r12
	testb	%al, %al
	jne	LBB0_4
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movb	$0, (%r15)
LBB0_8:
	movq	_strippath@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_fetchname
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_strippath,4,2                  ## @strippath
	.no_dead_strip	_p4_fetchname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p4_fetchname
_p4_fetchname:                          ; @p4_fetchname
	.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	x19, x0
	sub	x20, x1, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x20, #1]!
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.3:
	mov	x21, #0
	mov	x22, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isspace
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #35
	csel	x21, x22, x21, eq
	ldrb	w8, [x22, #1]!
	cbnz	w8, LBB0_4
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
	strb	wzr, [x21]
LBB0_8:
Lloh0:
	adrp	x8, _strippath@GOTPAGE
Lloh1:
	ldr	x8, [x8, _strippath@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_fetchname
	str	w0, [x19, #4]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_strippath,4,2                  ; @strippath
	.no_dead_strip	_p4_fetchname
.subsections_via_symbols
