	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pidfile_ctx_init               ## -- Begin function pidfile_ctx_init
	.p2align	4, 0x90
_pidfile_ctx_init:                      ## @pidfile_ctx_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %r14
	leaq	4(%r14), %rdi
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_hc_asprintf
	movl	$0, (%r14)
	movq	%rbx, %rdi
	callq	_init_pidfile
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_write_pidfile
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	movl	$1, (%r14)
	jmp	LBB0_4
LBB0_1:
	movl	$-1, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s.pid"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pidfile_ctx_init               ; -- Begin function pidfile_ctx_init
	.p2align	2
_pidfile_ctx_init:                      ; @pidfile_ctx_init
	.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
	mov	x19, x0
	ldp	x20, x8, [x0, #8]
	ldr	x9, [x0]
	add	x0, x20, #4
	ldr	w2, [x8]
	ldr	w3, [x9]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_hc_asprintf
	str	wzr, [x20]
	mov	x0, x19
	bl	_init_pidfile
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_write_pidfile
	cbz	w0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s.pid"

.subsections_via_symbols
