	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function library_unexpected_error
_library_unexpected_error:              ## @library_unexpected_error
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_unexpected_error_cnt@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_MAX_UNEXPECTED_ERRORS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jge	LBB0_3
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movl	%esi, %ecx
	movq	%rdi, %rdx
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_msyslog
	leaq	-304(%rbp), %r15
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %rdx
	movq	_LOG_ERR@GOTPCREL(%rip), %rbx
	movl	%r14d, %ecx
	callq	_vsnprintf
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_msyslog
	movq	(%r12), %rax
	incq	%rax
	movq	%rax, (%r12)
	cmpq	(%r13), %rax
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_msyslog
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_unexpected_error_cnt,8,3       ## @unexpected_error_cnt
	.comm	_MAX_UNEXPECTED_ERRORS,8,3      ## @MAX_UNEXPECTED_ERRORS
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%d: unexpected error:"

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

L_.str.2:                               ## @.str.2
	.asciz	"Too many errors.  Shutting up."

	.no_dead_strip	_library_unexpected_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function library_unexpected_error
_library_unexpected_error:              ; @library_unexpected_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _unexpected_error_cnt@GOTPAGE
Lloh4:
	ldr	x21, [x21, _unexpected_error_cnt@GOTPAGEOFF]
	stur	x8, [x29, #-72]
	ldr	x8, [x21]
Lloh5:
	adrp	x22, _MAX_UNEXPECTED_ERRORS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MAX_UNEXPECTED_ERRORS@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
Lloh7:
	adrp	x23, _LOG_ERR@GOTPAGE
Lloh8:
	ldr	x23, [x23, _LOG_ERR@GOTPAGEOFF]
	ldr	w8, [x23]
	stp	x0, x1, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_msyslog
	add	x24, sp, #24
	add	x0, sp, #24
	mov	w1, #256
	mov	x2, x20
	mov	x3, x19
	bl	_vsnprintf
	ldr	w0, [x23]
	str	x24, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msyslog
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x23]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msyslog
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_unexpected_error_cnt,8,3       ; @unexpected_error_cnt
	.comm	_MAX_UNEXPECTED_ERRORS,8,3      ; @MAX_UNEXPECTED_ERRORS
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%d: unexpected error:"

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

l_.str.2:                               ; @.str.2
	.asciz	"Too many errors.  Shutting up."

	.no_dead_strip	_library_unexpected_error
.subsections_via_symbols
