	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logerror
_logerror:                              ## @logerror
	.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
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	cmpl	$0, _logerror.recursed(%rip)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movl	$1, _logerror.recursed(%rip)
	movq	_errno@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	leaq	-544(%rbp), %r14
	callq	_strerror
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	%r14, %rbx
LBB0_3:
	movq	$0, (%r15)
	leaq	L_.str.1(%rip), %rdi
	leaq	-544(%rbp), %rsi
	callq	_dprintf
	movq	_LOG_SYSLOG@GOTPCREL(%rip), %rax
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_LocalHostName@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rcx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	pushq	$0
	callq	_logmsg
	addq	$32, %rsp
	decl	_logerror.recursed(%rip)
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$520, %rsp                      ## imm = 0x208
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_logerror.recursed,4,2 ## @logerror.recursed
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_LOG_SYSLOG,4,2                 ## @LOG_SYSLOG
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_LocalHostName,4,2              ## @LocalHostName
L_.str.2:                               ## @.str.2
	.asciz	"syslogd"

	.no_dead_strip	_logerror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logerror
_logerror:                              ; @logerror
	.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, #528
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	adrp	x20, _logerror.recursed@PAGE
	ldr	w8, [x20, _logerror.recursed@PAGEOFF]
	cbnz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x20, _logerror.recursed@PAGEOFF]
Lloh3:
	adrp	x21, _errno@GOTPAGE
Lloh4:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_strerror
	mov	x4, x0
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #512
	mov	x3, x19
	bl	_snprintf
	add	x19, sp, #8
LBB0_3:
	str	xzr, [x21]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_dprintf
Lloh9:
	adrp	x8, _LOG_SYSLOG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_SYSLOG@GOTPAGEOFF]
Lloh11:
	adrp	x9, _LOG_ERR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LOG_ERR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh15:
	adrp	x8, _LocalHostName@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LocalHostName@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	str	wzr, [sp]
Lloh18:
	adrp	x3, l_.str.2@PAGE
Lloh19:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x1, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_logmsg
	ldr	w8, [x20, _logerror.recursed@PAGEOFF]
	sub	w8, w8, #1
	str	w8, [x20, _logerror.recursed@PAGEOFF]
LBB0_4:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #528
	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_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_logerror.recursed,4,2 ; @logerror.recursed
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_LOG_SYSLOG,4,2                 ; @LOG_SYSLOG
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_LocalHostName,4,2              ; @LocalHostName
l_.str.2:                               ; @.str.2
	.asciz	"syslogd"

	.no_dead_strip	_logerror
.subsections_via_symbols
