	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_varrun_path
_generate_varrun_path:                  ## @generate_varrun_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_getprogname
	movq	%rax, %rcx
LBB0_2:
	movq	__PATH_VARRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-8(%rbp), %rdi
	callq	_asprintf
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movq	-8(%rbp), %rax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s.pid"

	.comm	__PATH_VARRUN,4,2               ## @_PATH_VARRUN
	.no_dead_strip	_generate_varrun_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_varrun_path
_generate_varrun_path:                  ; @generate_varrun_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x3, x0
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_getprogname
	mov	x3, x0
LBB0_2:
Lloh0:
	adrp	x8, __PATH_VARRUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_VARRUN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	ldr	x8, [sp, #8]
	cmn	w0, #1
	csel	x0, xzr, x8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s.pid"

	.comm	__PATH_VARRUN,4,2               ; @_PATH_VARRUN
	.no_dead_strip	_generate_varrun_path
.subsections_via_symbols
