	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dblfault_handler               ## -- Begin function dblfault_handler
	.p2align	4, 0x90
_dblfault_handler:                      ## @dblfault_handler
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	92(%rdi), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	88(%rdi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	84(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	80(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	76(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	72(%rdi), %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movl	68(%rdi), %eax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	64(%rdi), %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	60(%rdi), %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	56(%rdi), %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	52(%rdi), %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	48(%rdi), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	44(%rdi), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	40(%rdi), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	36(%rdi), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	32(%rdi), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	28(%rdi), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	24(%rdi), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	20(%rdi), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	16(%rdi), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	12(%rdi), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r13d
	movl	4(%rdi), %r12d
	movq	_MSR_FSBASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsr
	movl	%eax, %r15d
	movq	_MSR_GSBASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsr
	movl	%eax, %r14d
	movq	_MSR_KGSBASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsr
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r14
	pushq	%r15
	pushq	%r13
	pushq	%r12
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	pushq	-176(%rbp)                      ## 8-byte Folded Reload
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	pushq	-192(%rbp)                      ## 8-byte Folded Reload
	pushq	-200(%rbp)                      ## 8-byte Folded Reload
	callq	_printf
	addq	$176, %rsp
	leaq	L_.str.1(%rip), %rdi
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_panic                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nFatal double fault\nrip %#lx rsp %#lx rbp %#lx\nrax %#lx rdx %#lx rbx %#lx\nrcx %#lx rsi %#lx rdi %#lx\nr8 %#lx r9 %#lx r10 %#lx\nr11 %#lx r12 %#lx r13 %#lx\nr14 %#lx r15 %#lx rflags %#lx\ncs %#lx ss %#lx ds %#hx es %#hx fs %#hx gs %#hx\nfsbase %#lx gsbase %#lx kgsbase %#lx\n"

	.comm	_MSR_FSBASE,4,2                 ## @MSR_FSBASE
	.comm	_MSR_GSBASE,4,2                 ## @MSR_GSBASE
	.comm	_MSR_KGSBASE,4,2                ## @MSR_KGSBASE
L_.str.1:                               ## @.str.1
	.asciz	"double fault"

	.comm	_apic_id,4,2                    ## @apic_id
	.comm	_cpuid,4,2                      ## @cpuid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dblfault_handler               ; -- Begin function dblfault_handler
	.p2align	2
_dblfault_handler:                      ; @dblfault_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x28, x27, [sp, #352]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #368]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #384]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _MSR_FSBASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSR_FSBASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #92]
	stur	w9, [x29, #-92]                 ; 4-byte Folded Spill
	ldr	w10, [x0, #88]
	ldr	w9, [x0, #84]
	stp	x9, x10, [x29, #-112]           ; 16-byte Folded Spill
	ldr	w10, [x0, #80]
	ldr	w9, [x0, #76]
	stp	x9, x10, [x29, #-128]           ; 16-byte Folded Spill
	ldr	w10, [x0, #72]
	ldr	w9, [x0, #68]
	stp	x9, x10, [x29, #-144]           ; 16-byte Folded Spill
	ldr	w10, [x0, #64]
	ldr	w9, [x0, #60]
	stp	x9, x10, [x29, #-160]           ; 16-byte Folded Spill
	ldr	w10, [x0, #56]
	ldr	w9, [x0, #52]
	stp	x9, x10, [x29, #-176]           ; 16-byte Folded Spill
	ldr	w10, [x0, #48]
	ldr	w9, [x0, #44]
	stp	x9, x10, [x29, #-192]           ; 16-byte Folded Spill
	ldr	w10, [x0, #40]
	ldr	w9, [x0, #36]
	stp	x9, x10, [x29, #-208]           ; 16-byte Folded Spill
	ldp	w19, w9, [x0, #28]
	str	x9, [sp, #216]                  ; 8-byte Folded Spill
	ldp	w23, w22, [x0, #20]
	ldp	w25, w24, [x0, #12]
	ldp	w27, w26, [x0, #4]
	ldr	w28, [x0]
	mov	x0, x8
	bl	_rdmsr
	mov	x20, x0
Lloh3:
	adrp	x8, _MSR_GSBASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSR_GSBASE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_rdmsr
	mov	x21, x0
Lloh6:
	adrp	x8, _MSR_KGSBASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSR_KGSBASE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_rdmsr
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #192]
	stp	x28, x20, [sp, #176]
	stp	x26, x27, [sp, #160]
	stp	x24, x25, [sp, #144]
	stp	x22, x23, [sp, #128]
	ldr	x8, [sp, #216]                  ; 8-byte Folded Reload
	stp	x8, x19, [sp, #112]
	ldur	x8, [x29, #-208]                ; 8-byte Folded Reload
	str	x8, [sp, #104]
	ldur	x8, [x29, #-200]                ; 8-byte Folded Reload
	str	x8, [sp, #96]
	ldur	x8, [x29, #-192]                ; 8-byte Folded Reload
	str	x8, [sp, #88]
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	str	x8, [sp, #80]
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	str	x8, [sp, #72]
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	str	x8, [sp, #64]
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	str	x8, [sp, #56]
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	str	x8, [sp, #48]
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x8, [sp, #40]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	x8, [sp, #32]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	x8, [sp, #24]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [sp, #16]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	str	x8, [sp, #8]
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	str	x8, [sp]
	ldur	w1, [x29, #-92]                 ; 4-byte Folded Reload
	bl	_printf
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #384]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #368]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #352]            ; 16-byte Folded Reload
	add	sp, sp, #448
	b	_panic
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nFatal double fault\nrip %#lx rsp %#lx rbp %#lx\nrax %#lx rdx %#lx rbx %#lx\nrcx %#lx rsi %#lx rdi %#lx\nr8 %#lx r9 %#lx r10 %#lx\nr11 %#lx r12 %#lx r13 %#lx\nr14 %#lx r15 %#lx rflags %#lx\ncs %#lx ss %#lx ds %#hx es %#hx fs %#hx gs %#hx\nfsbase %#lx gsbase %#lx kgsbase %#lx\n"

	.comm	_MSR_FSBASE,4,2                 ; @MSR_FSBASE
	.comm	_MSR_GSBASE,4,2                 ; @MSR_GSBASE
	.comm	_MSR_KGSBASE,4,2                ; @MSR_KGSBASE
l_.str.1:                               ; @.str.1
	.asciz	"double fault"

	.comm	_apic_id,4,2                    ; @apic_id
	.comm	_cpuid,4,2                      ; @cpuid
.subsections_via_symbols
