	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function schizo_host_bus
_schizo_host_bus:                       ## @schizo_host_bus
	.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
	movq	_STX_CTRL_BUS_ERRLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SCHIZO_CTRL_READ_8
	movq	%rax, %r14
	movl	8(%rbx), %edi
	callq	_device_get_nameunit
	movq	(%rbx), %rcx
	movq	_SCHIZO_MODE_TOM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rcx, %rdx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%r14, %rcx
	callq	_panic
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STX_CTRL_BUS_ERRLOG,4,2        ## @STX_CTRL_BUS_ERRLOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s error %#llx"

	.comm	_SCHIZO_MODE_TOM,8,3            ## @SCHIZO_MODE_TOM
L_.str.1:                               ## @.str.1
	.asciz	"JBus"

L_.str.2:                               ## @.str.2
	.asciz	"Safari"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function schizo_host_bus
_schizo_host_bus:                       ; @schizo_host_bus
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _STX_CTRL_BUS_ERRLOG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STX_CTRL_BUS_ERRLOG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SCHIZO_CTRL_READ_8
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_device_get_nameunit
	mov	x1, x0
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _SCHIZO_MODE_TOM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCHIZO_MODE_TOM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, l_.str.2@PAGE
Lloh7:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh8:
	adrp	x11, l_.str.1@PAGE
Lloh9:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x2, x11, x10, eq
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x20
	bl	_panic
Lloh12:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STX_CTRL_BUS_ERRLOG,4,2        ; @STX_CTRL_BUS_ERRLOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s error %#llx"

	.comm	_SCHIZO_MODE_TOM,8,3            ; @SCHIZO_MODE_TOM
l_.str.1:                               ; @.str.1
	.asciz	"JBus"

l_.str.2:                               ; @.str.2
	.asciz	"Safari"

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