	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function schizo_setup_intr
_schizo_setup_intr:                     ## @schizo_setup_intr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %r12d
	callq	_device_get_softc
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_rman_get_start
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_INTIGN
	cmpq	(%r13), %rax
	jne	LBB0_1
## %bb.3:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_intr_vectors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	cmpq	_schizo_ic@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_10
## %bb.4:
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movl	%r12d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_device_printf
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_7:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_INTINO
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_schizo_intr_register
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_device_printf
	jmp	LBB0_7
LBB0_8:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_device_printf
LBB0_10:
	movl	%r12d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	movq	%r15, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_generic_setup_intr         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid interrupt vector 0x%lx\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_intr_vectors,8,3               ## @intr_vectors
	.comm	_schizo_ic,4,2                  ## @schizo_ic
L_.str.1:                               ## @.str.1
	.asciz	"could not register interrupt controller for vector 0x%lx (%d)\n"

	.comm	_bootverbose,8,3                ## @bootverbose
L_.str.2:                               ## @.str.2
	.asciz	"belatedly registered as interrupt controller for vector 0x%lx\n"

L_.str.3:                               ## @.str.3
	.asciz	"invalid interrupt controller for vector 0x%lx\n"

	.no_dead_strip	_schizo_setup_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function schizo_setup_intr
_schizo_setup_intr:                     ; @schizo_setup_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x26, x2
	mov	x27, x1
	mov	x20, x0
	bl	_device_get_softc
	mov	x28, x0
	mov	x0, x26
	bl	_rman_get_start
	mov	x25, x0
	bl	_INTIGN
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _intr_vectors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _intr_vectors@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	x9, x25, #4
	ldr	x8, [x8, x9]
Lloh3:
	adrp	x9, _schizo_ic@GOTPAGE
Lloh4:
	ldr	x9, [x9, _schizo_ic@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.2:
	cbz	x8, LBB0_7
; %bb.3:
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x20
	mov	x2, x25
	bl	_device_printf
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w28, [x8]
LBB0_6:
	mov	x0, x28
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	mov	x0, x25
	bl	_INTINO
	mov	x1, x0
	mov	x0, x28
	bl	_schizo_intr_register
	cbz	w0, LBB0_9
; %bb.8:
	mov	x28, x0
	str	x28, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_device_printf
	b	LBB0_6
LBB0_9:
Lloh14:
	adrp	x8, _bootverbose@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_device_printf
LBB0_11:
	mov	x0, x20
	mov	x1, x27
	mov	x2, x26
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	mov	x7, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_bus_generic_setup_intr
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid interrupt vector 0x%lx\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_intr_vectors,8,3               ; @intr_vectors
	.comm	_schizo_ic,4,2                  ; @schizo_ic
l_.str.1:                               ; @.str.1
	.asciz	"could not register interrupt controller for vector 0x%lx (%d)\n"

	.comm	_bootverbose,8,3                ; @bootverbose
l_.str.2:                               ; @.str.2
	.asciz	"belatedly registered as interrupt controller for vector 0x%lx\n"

l_.str.3:                               ; @.str.3
	.asciz	"invalid interrupt controller for vector 0x%lx\n"

	.no_dead_strip	_schizo_setup_intr
.subsections_via_symbols
