	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function schizo_ue
_schizo_ue:                             ## @schizo_ue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_STX_CTRL_UE_AFAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SCHIZO_CTRL_READ_8
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$999, %ebx                      ## imm = 0x3E7
	movq	_STX_CTRL_UE_AFSR@GOTPCREL(%rip), %r13
	movq	_STX_CTRL_CE_AFSR_ERRPNDG@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_SCHIZO_CTRL_READ_8
	movl	%eax, %r12d
	subl	$1, %ebx
	setb	%al
	testl	%r12d, (%r14)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_1
LBB0_3:
	movl	(%r15), %edi
	callq	_device_get_nameunit
	movslq	-44(%rbp), %rdx                 ## 4-byte Folded Reload
	movslq	%r12d, %rcx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_panic
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STX_CTRL_UE_AFAR,4,2           ## @STX_CTRL_UE_AFAR
	.comm	_STX_CTRL_UE_AFSR,4,2           ## @STX_CTRL_UE_AFSR
	.comm	_STX_CTRL_CE_AFSR_ERRPNDG,4,2   ## @STX_CTRL_CE_AFSR_ERRPNDG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: uncorrectable DMA error AFAR %#llx AFSR %#llx"

	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.no_dead_strip	_schizo_ue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function schizo_ue
_schizo_ue:                             ; @schizo_ue
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _STX_CTRL_UE_AFAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STX_CTRL_UE_AFAR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SCHIZO_CTRL_READ_8
	mov	x20, x0
	mov	w22, #999
Lloh3:
	adrp	x23, _STX_CTRL_UE_AFSR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _STX_CTRL_UE_AFSR@GOTPAGEOFF]
Lloh5:
	adrp	x24, _STX_CTRL_CE_AFSR_ERRPNDG@GOTPAGE
Lloh6:
	ldr	x24, [x24, _STX_CTRL_CE_AFSR_ERRPNDG@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_SCHIZO_CTRL_READ_8
	ldr	w8, [x24]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w22, #0, #4, ne
	sub	w22, w22, #1
	b.ne	LBB0_1
; %bb.2:
	mov	x21, x0
	ldr	w0, [x19]
	bl	_device_get_nameunit
	mov	x1, x0
	sxtw	x2, w20
	sxtw	x3, w21
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
Lloh9:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STX_CTRL_UE_AFAR,4,2           ; @STX_CTRL_UE_AFAR
	.comm	_STX_CTRL_UE_AFSR,4,2           ; @STX_CTRL_UE_AFSR
	.comm	_STX_CTRL_CE_AFSR_ERRPNDG,4,2   ; @STX_CTRL_CE_AFSR_ERRPNDG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: uncorrectable DMA error AFAR %#llx AFSR %#llx"

	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.no_dead_strip	_schizo_ue
.subsections_via_symbols
