	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function al_msix_attach
_al_msix_attach:                        ## @al_msix_attach
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INTR_RANGE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r15, %rdi
	callq	_device_get_softc
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_ofw_bus_get_node
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_OF_xref_from_node
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_OF_device_register_xref
	movl	$0, -56(%rbp)
	movq	_SYS_RES_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RF_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_bus_alloc_resource_any
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rdi
	callq	_rman_get_start
	movq	%rax, 40(%r14)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_intr_msi_register
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_device_printf
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_39
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_device_printf
	movq	%r12, %rdi
	callq	_ofw_bus_find_iparent
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_OF_node_from_xref
	leaq	L_.str.4(%rip), %rsi
	leaq	-52(%rbp), %rdx
	movl	%eax, %edi
	movl	$4, %ecx
	callq	_OF_searchencprop
	cmpl	$-1, %eax
	je	LBB0_20
## %bb.10:
	movq	%rbx, %rdi
	callq	_OF_device_from_xref
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movq	%rax, 24(%r14)
	leaq	L_.str.7(%rip), %rsi
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_OF_getencprop_alloc_multi
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:
	movslq	-52(%rbp), %r8
	cltd
	idivl	%r8d
	movq	_INTR_RANGE_COUNT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_24
## %bb.14:
	movq	-64(%rbp), %rcx
	movq	_IRQ_OFFSET@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %r9
	movl	%eax, %r11d
	xorl	%esi, %esi
	cmpl	$8, %eax
	jb	LBB0_29
## %bb.15:
	cmpl	$1, %r8d
	jne	LBB0_29
## %bb.16:
	movl	%r11d, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rax
	movq	%rax, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_25
## %bb.17:
	movq	%r10, %rdi
	andq	$-2, %rdi
	movq	%r8, %rax
	shlq	$5, %rax
	leaq	(%rcx,%r9,4), %rdx
	addq	$16, %rdx
	movq	%r8, %r12
	shlq	$6, %r12
	xorl	%ebx, %ebx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx), %xmm0
	movups	(%rdx), %xmm1
	movaps	%xmm0, (%r13,%rbx,4)
	movaps	%xmm1, 16(%r13,%rbx,4)
	movups	-16(%rdx,%rax), %xmm0
	movups	(%rdx,%rax), %xmm1
	movaps	%xmm0, 32(%r13,%rbx,4)
	movaps	%xmm1, 48(%r13,%rbx,4)
	addq	$16, %rbx
	addq	%r12, %rdx
	addq	$-2, %rdi
	jne	LBB0_18
	jmp	LBB0_26
LBB0_19:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_20:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_4
LBB0_21:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_4
LBB0_22:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_4
LBB0_23:
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_device_printf
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_24:
                                        ## implicit-def: $eax
                                        ## implicit-def: $ecx
	jmp	LBB0_36
LBB0_25:
	xorl	%ebx, %ebx
LBB0_26:
	testb	$1, %r10b
	je	LBB0_28
## %bb.27:
	movq	%rbx, %rax
	imulq	%r8, %rax
	addq	%r9, %rax
	movups	(%rcx,%rax,4), %xmm0
	movups	16(%rcx,%rax,4), %xmm1
	movaps	%xmm0, (%r13,%rbx,4)
	movaps	%xmm1, 16(%r13,%rbx,4)
LBB0_28:
	cmpq	%r11, %rsi
	je	LBB0_35
LBB0_29:
	movq	%rsi, %r10
	notq	%r10
	addq	%r11, %r10
	movq	%r11, %rdx
	andq	$3, %rdx
	je	LBB0_32
## %bb.30:
	movq	%rsi, %rdi
	imulq	%r8, %rdi
	addq	%r9, %rdi
	leaq	(%rcx,%rdi,4), %rdi
	leaq	(,%r8,4), %rbx
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %eax
	movl	%eax, (%r13,%rsi,4)
	incq	%rsi
	addq	%rbx, %rdi
	decq	%rdx
	jne	LBB0_31
LBB0_32:
	cmpq	$3, %r10
	jb	LBB0_35
## %bb.33:
	leaq	3(%rsi), %rax
	imulq	%r8, %rax
	leaq	(,%r9,4), %r12
	leaq	(%r12,%rax,4), %r10
	movq	%r9, %rdi
	movq	%r8, %r9
	shlq	$4, %r9
	leaq	2(%rsi), %rax
	imulq	%r8, %rax
	leaq	(%r12,%rax,4), %rbx
	movq	%rsi, %rdx
	imulq	%r8, %rdx
	addq	%rdi, %rdx
	leaq	1(%rsi), %rax
	imulq	%r8, %rax
	leaq	(%r12,%rax,4), %rax
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx,4), %edi
	movl	%edi, (%r13,%rsi,4)
	movl	(%rcx,%rax), %edi
	movl	%edi, 4(%r13,%rsi,4)
	movl	(%rcx,%rbx), %edi
	movl	%edi, 8(%r13,%rsi,4)
	movl	(%rcx,%r10), %edi
	movl	%edi, 12(%r13,%rsi,4)
	addq	$4, %rsi
	addq	%r9, %rcx
	cmpq	%rsi, %r11
	jne	LBB0_34
LBB0_35:
	movl	(%r13), %ecx
	movl	4(%r13), %eax
LBB0_36:
	movl	%ecx, (%r14)
	movl	%eax, 4(%r14)
	subl	%ecx, %eax
	incl	%eax
	cltq
	movq	%rax, 8(%r14)
	movq	_MAX_MSIX_COUNT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	cmpq	%rax, %rdx
	jge	LBB0_38
## %bb.37:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_device_printf
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
LBB0_38:
	movq	%r14, %rdi
	addq	$20, %rdi
	movq	_MTX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.11(%rip), %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movq	8(%r14), %rdx
	movq	_M_FIRSTFIT@GOTPCREL(%rip), %rax
	movq	_M_WAITOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	orl	(%rax), %r9d
	leaq	L_.str.12(%rip), %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_vmem_create
	movl	%eax, 16(%r14)
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_device_printf
	movq	%r15, %rdi
	callq	_bus_generic_attach
	jmp	LBB0_6
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_RANGE_COUNT,4,2           ## @INTR_RANGE_COUNT
	.comm	_SYS_RES_MEMORY,4,2             ## @SYS_RES_MEMORY
	.comm	_RF_ACTIVE,4,2                  ## @RF_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate resource\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.1:                               ## @.str.1
	.asciz	"could not register MSI-X controller\n"

L_.str.2:                               ## @.str.2
	.asciz	"MSI-X controller registered\n"

L_.str.3:                               ## @.str.3
	.asciz	"No interrupt-parrent found. Error in DTB\n"

L_.str.4:                               ## @.str.4
	.asciz	"#interrupt-cells"

L_.str.5:                               ## @.str.5
	.asciz	"DTB: Missing #interrupt-cells property in GIC node\n"

L_.str.6:                               ## @.str.6
	.asciz	"Cannot find GIC device\n"

L_.str.7:                               ## @.str.7
	.asciz	"interrupts"

L_.str.8:                               ## @.str.8
	.asciz	"Cannot read interrupts prop from DTB\n"

L_.str.9:                               ## @.str.9
	.asciz	"Unexpected count of interrupts in DTB node\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IRQ_OFFSET,4,2                 ## @IRQ_OFFSET
	.comm	_MAX_MSIX_COUNT,8,3             ## @MAX_MSIX_COUNT
L_.str.10:                              ## @.str.10
	.asciz	"Available MSI-X count exceeds buffer size. Capping to %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"msi_mtx"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
L_.str.12:                              ## @.str.12
	.asciz	"Alpine MSI-X IRQs"

	.comm	_M_FIRSTFIT,4,2                 ## @M_FIRSTFIT
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
L_.str.13:                              ## @.str.13
	.asciz	"MSI-X SPI IRQ %d-%d\n"

	.no_dead_strip	_al_msix_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function al_msix_attach
_al_msix_attach:                        ; @al_msix_attach
	.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
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _INTR_RANGE_COUNT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _INTR_RANGE_COUNT@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	bl	_device_get_softc
	mov	x20, x0
	mov	x0, x19
	bl	_ofw_bus_get_node
	mov	x21, x0
	bl	_OF_xref_from_node
	mov	x22, x0
	mov	x1, x19
	bl	_OF_device_register_xref
	stur	wzr, [x29, #-60]
Lloh7:
	adrp	x8, _SYS_RES_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _RF_ACTIVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RF_ACTIVE@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	sub	x2, x29, #60
	mov	x0, x19
	bl	_bus_alloc_resource_any
	str	x0, [x20, #32]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_rman_get_start
	str	x0, [x20, #40]
	mov	x0, x19
	mov	x1, x22
	bl	_intr_msi_register
	cbz	x0, LBB0_8
; %bb.2:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_device_printf
Lloh17:
	adrp	x8, _ENXIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.7:
	sub	sp, x29, #48
	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
LBB0_8:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	mov	x0, x21
	bl	_ofw_bus_find_iparent
	cbz	x0, LBB0_22
; %bb.9:
	mov	x22, x0
	bl	_OF_node_from_xref
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	sub	x2, x29, #64
	mov	w3, #4
	bl	_OF_searchencprop
	cmn	w0, #1
	b.eq	LBB0_23
; %bb.10:
	mov	x0, x22
	bl	_OF_device_from_xref
	cbz	x0, LBB0_24
; %bb.11:
	str	x0, [x20, #24]
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	sub	x3, x29, #72
	mov	x0, x21
	mov	w2, #4
	bl	_OF_getencprop_alloc_multi
	cbz	w0, LBB0_25
; %bb.12:
	ldursw	x9, [x29, #-64]
	sdiv	w8, w0, w9
	ldr	w10, [x24]
	cmp	w8, w10
	b.ne	LBB0_26
; %bb.13:
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.14:
	mov	x10, #0
	ldur	x11, [x29, #-72]
Lloh28:
	adrp	x12, _IRQ_OFFSET@GOTPAGE
Lloh29:
	ldr	x12, [x12, _IRQ_OFFSET@GOTPAGEOFF]
Lloh30:
	ldrsw	x12, [x12]
	cmp	w8, #16
	b.lo	LBB0_19
; %bb.15:
	cmp	w9, #1
	b.ne	LBB0_19
; %bb.16:
	and	x10, x8, #0xfffffff0
	add	x13, x23, #32
	add	x14, x11, x12, lsl #2
	add	x14, x14, #32
	lsl	x15, x9, #6
	mov	x16, x10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14]
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	add	x14, x14, x15
	subs	x16, x16, #16
	b.ne	LBB0_17
; %bb.18:
	cmp	x10, x8
	b.eq	LBB0_21
LBB0_19:
	mul	x13, x10, x9
	add	x12, x13, x12
	add	x11, x11, x12, lsl #2
	lsl	x9, x9, #2
	add	x12, x23, x10, lsl #2
	sub	x8, x8, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x11]
	str	w10, [x12], #4
	add	x11, x11, x9
	subs	x8, x8, #1
	b.ne	LBB0_20
LBB0_21:
	ldp	w8, w9, [x23]
	b	LBB0_28
LBB0_22:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_23:
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_24:
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_4
LBB0_25:
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_26:
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_device_printf
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_27:
                                        ; implicit-def: $w9
                                        ; implicit-def: $w8
LBB0_28:
	stp	w8, w9, [x20]
	sub	w8, w9, w8
	add	w8, w8, #1
	sxtw	x9, w8
	str	x9, [x20, #8]
Lloh43:
	adrp	x21, _MAX_MSIX_COUNT@GOTPAGE
Lloh44:
	ldr	x21, [x21, _MAX_MSIX_COUNT@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, x9
	b.ge	LBB0_30
; %bb.29:
	str	x8, [sp, #-16]!
Lloh45:
	adrp	x1, l_.str.10@PAGE
Lloh46:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	add	sp, sp, #16
	ldr	x8, [x21]
	str	x8, [x20, #8]
LBB0_30:
	add	x0, x20, #20
Lloh47:
	adrp	x8, _MTX_DEF@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MTX_DEF@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
Lloh50:
	adrp	x1, l_.str.11@PAGE
Lloh51:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
Lloh52:
	adrp	x8, _M_FIRSTFIT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _M_FIRSTFIT@GOTPAGEOFF]
	ldr	x2, [x20, #8]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh56:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w5, w9, w8
Lloh58:
	adrp	x0, l_.str.12@PAGE
Lloh59:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	w1, #0
	mov	w3, #1
	mov	w4, #0
	bl	_vmem_create
	str	w0, [x20, #16]
	ldp	w8, w9, [x20]
	stp	x8, x9, [sp, #-16]!
Lloh60:
	adrp	x1, l_.str.13@PAGE
Lloh61:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_device_printf
	add	sp, sp, #16
	mov	x0, x19
	bl	_bus_generic_attach
	b	LBB0_6
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_RANGE_COUNT,4,2           ; @INTR_RANGE_COUNT
	.comm	_SYS_RES_MEMORY,4,2             ; @SYS_RES_MEMORY
	.comm	_RF_ACTIVE,4,2                  ; @RF_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate resource\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.1:                               ; @.str.1
	.asciz	"could not register MSI-X controller\n"

l_.str.2:                               ; @.str.2
	.asciz	"MSI-X controller registered\n"

l_.str.3:                               ; @.str.3
	.asciz	"No interrupt-parrent found. Error in DTB\n"

l_.str.4:                               ; @.str.4
	.asciz	"#interrupt-cells"

l_.str.5:                               ; @.str.5
	.asciz	"DTB: Missing #interrupt-cells property in GIC node\n"

l_.str.6:                               ; @.str.6
	.asciz	"Cannot find GIC device\n"

l_.str.7:                               ; @.str.7
	.asciz	"interrupts"

l_.str.8:                               ; @.str.8
	.asciz	"Cannot read interrupts prop from DTB\n"

l_.str.9:                               ; @.str.9
	.asciz	"Unexpected count of interrupts in DTB node\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IRQ_OFFSET,4,2                 ; @IRQ_OFFSET
	.comm	_MAX_MSIX_COUNT,8,3             ; @MAX_MSIX_COUNT
l_.str.10:                              ; @.str.10
	.asciz	"Available MSI-X count exceeds buffer size. Capping to %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"msi_mtx"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
l_.str.12:                              ; @.str.12
	.asciz	"Alpine MSI-X IRQs"

	.comm	_M_FIRSTFIT,4,2                 ; @M_FIRSTFIT
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
l_.str.13:                              ; @.str.13
	.asciz	"MSI-X SPI IRQ %d-%d\n"

	.no_dead_strip	_al_msix_attach
.subsections_via_symbols
