	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_pidfile
_open_pidfile:                          ## @open_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_FNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_MAX_TEMPSTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_PIDFILE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_PIDDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_snprintf
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movl	$384, %esi                      ## imm = 0x180
	callq	_pidfile_open
	movq	_pfh@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EEXIST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_3
## %bb.2:
	movl	-44(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_4
LBB0_3:
	callq	_strerror
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r12, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_snprintf
LBB0_4:
	xorl	%eax, %eax
	callq	_getpid
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rdx
	movl	%eax, %esi
	movq	%r14, %rcx
	callq	_log_it
	movq	_ERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdx
	callq	_errx
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FNAME,4,2                  ## @MAX_FNAME
	.comm	_MAX_TEMPSTR,4,2                ## @MAX_TEMPSTR
	.comm	_PIDFILE,8,3                    ## @PIDFILE
	.comm	_PIDDIR,4,2                     ## @PIDDIR
	.comm	_pfh,8,3                        ## @pfh
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cron already running, pid: %d"

L_.str.1:                               ## @.str.1
	.asciz	"can't open or create %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"CRON"

L_.str.3:                               ## @.str.3
	.asciz	"DEATH"

	.comm	_ERROR_EXIT,4,2                 ## @ERROR_EXIT
L_.str.4:                               ## @.str.4
	.asciz	"%s"

	.no_dead_strip	_open_pidfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_pidfile
_open_pidfile:                          ; @open_pidfile
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_FNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_FNAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _MAX_TEMPSTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_TEMPSTR@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x9, x20
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh13:
	adrp	x8, _PIDFILE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PIDFILE@GOTPAGEOFF]
Lloh15:
	ldr	x2, [x8]
Lloh16:
	adrp	x8, _PIDDIR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PIDDIR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	x8, [sp, #-16]!
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snprintf
	add	sp, sp, #16
	sub	x2, x29, #44
	mov	x0, x21
	mov	w1, #384
	bl	_pidfile_open
Lloh19:
	adrp	x8, _pfh@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pfh@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
	cbnz	x0, LBB0_5
; %bb.1:
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x8]
Lloh25:
	adrp	x8, _EEXIST@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldur	w8, [x29, #-44]
	str	x8, [sp, #-16]!
Lloh28:
	adrp	x2, l_.str@PAGE
Lloh29:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
	bl	_strerror
	stp	x21, x0, [sp, #-16]!
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	add	sp, sp, #16
	bl	_getpid
	mov	x1, x0
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh34:
	adrp	x2, l_.str.3@PAGE
Lloh35:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x19
	bl	_log_it
Lloh36:
	adrp	x8, _ERROR_EXIT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ERROR_EXIT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.4@PAGE
Lloh40:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x19
	bl	_errx
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #32
	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
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FNAME,4,2                  ; @MAX_FNAME
	.comm	_MAX_TEMPSTR,4,2                ; @MAX_TEMPSTR
	.comm	_PIDFILE,8,3                    ; @PIDFILE
	.comm	_PIDDIR,4,2                     ; @PIDDIR
	.comm	_pfh,8,3                        ; @pfh
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cron already running, pid: %d"

l_.str.1:                               ; @.str.1
	.asciz	"can't open or create %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"CRON"

l_.str.3:                               ; @.str.3
	.asciz	"DEATH"

	.comm	_ERROR_EXIT,4,2                 ; @ERROR_EXIT
l_.str.4:                               ; @.str.4
	.asciz	"%s"

	.no_dead_strip	_open_pidfile
.subsections_via_symbols
