	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_varrun_pidfile
_generate_varrun_pidfile:               ## @generate_varrun_pidfile
	.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	%rdi, %rcx
	movq	__PATH_VARRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_getprogname
	movq	%rax, %rcx
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdi
	movl	%ebx, %edx
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.3:
	movq	_in_child@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_errx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_atf_tc_fail
LBB0_6:
	movq	-16(%rbp), %rax
	addq	$8, %rsp
	popq	%rbx
	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
	.comm	_in_child,8,3                   ## @in_child
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate memory for path"

	.no_dead_strip	_generate_varrun_pidfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_varrun_pidfile
_generate_varrun_pidfile:               ; @generate_varrun_pidfile
	.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	x3, x0
Lloh0:
	adrp	x8, __PATH_VARRUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_VARRUN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_getprogname
	mov	x3, x0
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x19
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _in_child@GOTPAGE
Lloh6:
	ldr	x8, [x8, _in_child@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_atf_tc_fail
LBB0_6:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s.pid"

	.comm	__PATH_VARRUN,4,2               ; @_PATH_VARRUN
	.comm	_in_child,8,3                   ; @in_child
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate memory for path"

	.no_dead_strip	_generate_varrun_pidfile
.subsections_via_symbols
