	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getpname                       ## -- Begin function getpname
	.p2align	4, 0x90
_getpname:                              ## @getpname
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pname@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getexecname
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %rbx
LBB0_3:
	leaq	1(%rbx), %rax
	testq	%rbx, %rbx
	cmoveq	%r14, %rax
	movq	%rax, (%r15)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pname,8,3                      ## @pname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getpname                       ; -- Begin function getpname
	.p2align	2
_getpname:                              ; @getpname
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _pname@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pname@GOTPAGEOFF]
	ldr	x0, [x20]
	cbnz	x0, LBB0_4
; %bb.1:
	bl	_getexecname
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #47
	bl	_strrchr
LBB0_3:
	cmp	x0, #0
	csinc	x0, x19, x0, eq
	str	x0, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pname,8,3                      ; @pname
.subsections_via_symbols
