	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_die                            ## -- Begin function die
	.p2align	4, 0x90
_die:                                   ## @die
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_console_verbose
	movq	_die_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irq
	movl	_die.die_counter(%rip), %ecx
	incl	%ecx
	movl	%ecx, _die.die_counter(%rip)
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printk
	movq	%rbx, %rdi
	callq	_show_regs
	movq	%rbx, %rdi
	callq	_user_mode
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	xorl	%edi, %edi
	callq	_show_stack
LBB0_2:
	movq	_TAINT_DIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_add_taint
	movq	_die_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_in_interrupt
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	_panic
LBB0_4:
	movq	_panic_on_oops@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	callq	_panic
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_exit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_die.die_counter,4,2 ## @die.die_counter
	.comm	_die_lock,4,2                   ## @die_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: sig: %ld [#%d]\n"

	.comm	_TAINT_DIE,4,2                  ## @TAINT_DIE
L_.str.2:                               ## @.str.2
	.asciz	"Fatal exception in interrupt"

	.comm	_panic_on_oops,8,3              ## @panic_on_oops
L_.str.3:                               ## @.str.3
	.asciz	"Fatal exception"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_die                            ; -- Begin function die
	.p2align	2
_die:                                   ; @die
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_console_verbose
Lloh0:
	adrp	x0, _die_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _die_lock@GOTPAGEOFF]
	bl	_spin_lock_irq
	adrp	x8, _die.die_counter@PAGE
	ldr	w9, [x8, _die.die_counter@PAGEOFF]
	add	w9, w9, #1
	str	w9, [x8, _die.die_counter@PAGEOFF]
	stp	x19, x9, [sp, #8]
	str	x21, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	mov	x0, x20
	bl	_show_regs
	mov	x0, x20
	bl	_user_mode
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x1, [x8, #8]
	mov	x0, #0
	bl	_show_stack
LBB0_2:
Lloh4:
	adrp	x8, _TAINT_DIE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TAINT_DIE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_add_taint
Lloh7:
	adrp	x0, _die_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _die_lock@GOTPAGEOFF]
	bl	_spin_unlock_irq
	bl	_in_interrupt
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_panic
LBB0_4:
Lloh11:
	adrp	x8, _panic_on_oops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _panic_on_oops@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_panic
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_do_exit
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_die.die_counter,4,2 ; @die.die_counter
	.comm	_die_lock,4,2                   ; @die_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: sig: %ld [#%d]\n"

	.comm	_TAINT_DIE,4,2                  ; @TAINT_DIE
l_.str.2:                               ; @.str.2
	.asciz	"Fatal exception in interrupt"

	.comm	_panic_on_oops,8,3              ; @panic_on_oops
l_.str.3:                               ; @.str.3
	.asciz	"Fatal exception"

.subsections_via_symbols
