	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_default_exceptionhandler     ## -- Begin function c_default_exceptionhandler
	.p2align	4, 0x90
_c_default_exceptionhandler:            ## @c_default_exceptionhandler
	.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
	xorl	%eax, %eax
	callq	_GX_AbortFrame
	movq	_exception_xfb@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_VIDEO_SetFramebuffer
	movl	(%r14), %edi
	movl	$20, %esi
	movl	$20, %edx
	movl	$640, %ecx                      ## imm = 0x280
	movl	$574, %r8d                      ## imm = 0x23E
	movl	$1280, %r9d                     ## imm = 0x500
	callq	___console_init
	movl	$1, %edi
	movl	$1, %esi
	callq	_CON_EnableGecko
	movq	_exception_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	movq	64(%rax), %rdx
	movq	128(%rax), %rcx
	movq	192(%rax), %r8
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	movq	72(%rax), %rdx
	movq	136(%rax), %rcx
	movq	200(%rax), %r8
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	16(%rax), %rsi
	movq	80(%rax), %rdx
	movq	144(%rax), %rcx
	movq	208(%rax), %r8
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	24(%rax), %rsi
	movq	88(%rax), %rdx
	movq	152(%rax), %rcx
	movq	216(%rax), %r8
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	32(%rax), %rsi
	movq	96(%rax), %rdx
	movq	160(%rax), %rcx
	movq	224(%rax), %r8
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	40(%rax), %rsi
	movq	104(%rax), %rdx
	movq	168(%rax), %rcx
	movq	232(%rax), %r8
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	48(%rax), %rsi
	movq	112(%rax), %rdx
	movq	176(%rax), %rcx
	movq	240(%rax), %r8
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	16(%rbx), %rax
	movq	56(%rax), %rsi
	movq	120(%rax), %rdx
	movq	184(%rax), %rcx
	movq	248(%rax), %r8
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	8(%rbx), %rdx
	movq	24(%rbx), %rsi
	movl	36(%rbx), %ecx
	movl	32(%rbx), %r8d
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movl	$19, %edi
	callq	_mfspr
	movl	%eax, %r14d
	movl	$18, %edi
	callq	_mfspr
	leaq	L_.str.10(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_kprintf
	movq	24(%rbx), %rsi
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	movq	8(%rax), %rdx
	callq	__cpu_print_stack
	movq	(%rbx), %rax
	movq	_EX_DSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_EX_FP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	8(%rbx), %rbx
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %r9d
	leaq	L_.str.12(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_kprintf
	leaq	16(%rbx), %rsi
	movl	16(%rbx), %edx
	movl	20(%rbx), %ecx
	movl	24(%rbx), %r8d
	movl	28(%rbx), %r9d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_kprintf
	leaq	32(%rbx), %rsi
	movl	32(%rbx), %edx
	movl	36(%rbx), %ecx
	movl	40(%rbx), %r8d
	movl	44(%rbx), %r9d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_kprintf
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_waitForReload                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_exception_xfb,4,2              ## @exception_xfb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\n\n\tException (%s) occurred!\n"

	.comm	_exception_name,8,3             ## @exception_name
L_.str.1:                               ## @.str.1
	.asciz	"\tGPR00 %08X GPR08 %08X GPR16 %08X GPR24 %08X\n"

L_.str.2:                               ## @.str.2
	.asciz	"\tGPR01 %08X GPR09 %08X GPR17 %08X GPR25 %08X\n"

L_.str.3:                               ## @.str.3
	.asciz	"\tGPR02 %08X GPR10 %08X GPR18 %08X GPR26 %08X\n"

L_.str.4:                               ## @.str.4
	.asciz	"\tGPR03 %08X GPR11 %08X GPR19 %08X GPR27 %08X\n"

L_.str.5:                               ## @.str.5
	.asciz	"\tGPR04 %08X GPR12 %08X GPR20 %08X GPR28 %08X\n"

L_.str.6:                               ## @.str.6
	.asciz	"\tGPR05 %08X GPR13 %08X GPR21 %08X GPR29 %08X\n"

L_.str.7:                               ## @.str.7
	.asciz	"\tGPR06 %08X GPR14 %08X GPR22 %08X GPR30 %08X\n"

L_.str.8:                               ## @.str.8
	.asciz	"\tGPR07 %08X GPR15 %08X GPR23 %08X GPR31 %08X\n"

L_.str.9:                               ## @.str.9
	.asciz	"\tLR %08X SRR0 %08x SRR1 %08x MSR %08x\n"

L_.str.10:                              ## @.str.10
	.asciz	"\tDAR %08X DSISR %08X\n"

	.comm	_EX_DSI,8,3                     ## @EX_DSI
	.comm	_EX_FP,8,3                      ## @EX_FP
L_.str.11:                              ## @.str.11
	.asciz	"\n\n\tCODE DUMP:\n"

L_.str.12:                              ## @.str.12
	.asciz	"\t%p:  %08X %08X %08X %08X\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_default_exceptionhandler     ; -- Begin function c_default_exceptionhandler
	.p2align	2
_c_default_exceptionhandler:            ; @c_default_exceptionhandler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_GX_AbortFrame
Lloh0:
	adrp	x20, _exception_xfb@GOTPAGE
Lloh1:
	ldr	x20, [x20, _exception_xfb@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_VIDEO_SetFramebuffer
	ldr	w0, [x20]
	mov	w1, #20
	mov	w2, #20
	mov	w3, #640
	mov	w4, #574
	mov	w5, #1280
	bl	___console_init
	mov	w0, #1
	mov	w1, #1
	bl	_CON_EnableGecko
Lloh2:
	adrp	x8, _exception_name@GOTPAGE
Lloh3:
	ldr	x8, [x8, _exception_name@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w8, [x8, x9, lsl #2]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
	ldr	x10, [x8, #64]
	ldr	x11, [x8, #128]
	ldr	x8, [x8, #192]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	ldr	x10, [x8, #72]
	ldr	x11, [x8, #136]
	ldr	x8, [x8, #200]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #16]
	ldr	x10, [x8, #80]
	ldr	x11, [x8, #144]
	ldr	x8, [x8, #208]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #24]
	ldr	x10, [x8, #88]
	ldr	x11, [x8, #152]
	ldr	x8, [x8, #216]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #32]
	ldr	x10, [x8, #96]
	ldr	x11, [x8, #160]
	ldr	x8, [x8, #224]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #40]
	ldr	x10, [x8, #104]
	ldr	x11, [x8, #168]
	ldr	x8, [x8, #232]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #48]
	ldr	x10, [x8, #112]
	ldr	x11, [x8, #176]
	ldr	x8, [x8, #240]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #56]
	ldr	x10, [x8, #120]
	ldr	x11, [x8, #184]
	ldr	x8, [x8, #248]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh21:
	adrp	x0, l_.str.8@PAGE
Lloh22:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_kprintf
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #8]
	ldp	w11, w10, [x19, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh23:
	adrp	x0, l_.str.9@PAGE
Lloh24:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_kprintf
	mov	w0, #19
	bl	_mfspr
	mov	x20, x0
	mov	w0, #18
	bl	_mfspr
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh25:
	adrp	x0, l_.str.10@PAGE
Lloh26:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_kprintf
	ldp	x8, x1, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	x2, [x8, #8]
	bl	__cpu_print_stack
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _EX_DSI@GOTPAGE
Lloh28:
	ldr	x9, [x9, _EX_DSI@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh30:
	adrp	x9, _EX_FP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EX_FP@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	ldr	x20, [x19, #8]
Lloh33:
	adrp	x0, l_.str.11@PAGE
Lloh34:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_kprintf
	ldp	w8, w9, [x20]
	ldp	w10, w11, [x20, #8]
	stp	x10, x11, [sp, #24]
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
Lloh35:
	adrp	x19, l_.str.12@PAGE
Lloh36:
	add	x19, x19, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_kprintf
	mov	x8, x20
	ldr	w9, [x8, #16]!
	ldp	w10, w11, [x20, #20]
	ldr	w12, [x20, #28]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x19
	bl	_kprintf
	ldp	w8, w9, [x20, #32]!
	ldp	w10, w11, [x20, #8]
	stp	x10, x11, [sp, #24]
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
	mov	x0, x19
	bl	_kprintf
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_waitForReload
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_exception_xfb,4,2              ; @exception_xfb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\n\n\tException (%s) occurred!\n"

	.comm	_exception_name,8,3             ; @exception_name
l_.str.1:                               ; @.str.1
	.asciz	"\tGPR00 %08X GPR08 %08X GPR16 %08X GPR24 %08X\n"

l_.str.2:                               ; @.str.2
	.asciz	"\tGPR01 %08X GPR09 %08X GPR17 %08X GPR25 %08X\n"

l_.str.3:                               ; @.str.3
	.asciz	"\tGPR02 %08X GPR10 %08X GPR18 %08X GPR26 %08X\n"

l_.str.4:                               ; @.str.4
	.asciz	"\tGPR03 %08X GPR11 %08X GPR19 %08X GPR27 %08X\n"

l_.str.5:                               ; @.str.5
	.asciz	"\tGPR04 %08X GPR12 %08X GPR20 %08X GPR28 %08X\n"

l_.str.6:                               ; @.str.6
	.asciz	"\tGPR05 %08X GPR13 %08X GPR21 %08X GPR29 %08X\n"

l_.str.7:                               ; @.str.7
	.asciz	"\tGPR06 %08X GPR14 %08X GPR22 %08X GPR30 %08X\n"

l_.str.8:                               ; @.str.8
	.asciz	"\tGPR07 %08X GPR15 %08X GPR23 %08X GPR31 %08X\n"

l_.str.9:                               ; @.str.9
	.asciz	"\tLR %08X SRR0 %08x SRR1 %08x MSR %08x\n"

l_.str.10:                              ; @.str.10
	.asciz	"\tDAR %08X DSISR %08X\n"

	.comm	_EX_DSI,8,3                     ; @EX_DSI
	.comm	_EX_FP,8,3                      ; @EX_FP
l_.str.11:                              ; @.str.11
	.asciz	"\n\n\tCODE DUMP:\n"

l_.str.12:                              ; @.str.12
	.asciz	"\t%p:  %08X %08X %08X %08X\n"

.subsections_via_symbols
