	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_octeon_setup_interrupt         ## -- Begin function octeon_setup_interrupt
	.p2align	4, 0x90
_octeon_setup_interrupt:                ## @octeon_setup_interrupt
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpq	$0, 80(%rdi)
	je	LBB0_51
## %bb.1:
	movl	%esi, (%r15)
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MAX_IOQ_INTERRUPTS_PER_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incl	%edi
	incl	(%r15)
	jmp	LBB0_5
LBB0_51:
	movq	40(%r15), %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	je	LBB0_53
## %bb.52:
	movq	40(%r15), %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_54
LBB0_3:
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_VF
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MAX_IOQ_INTERRUPTS_PER_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_5:
	movq	_INTRNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_MAX_IOQ_INTERRUPTS_PER_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IRQ_NAME_OFF
	movq	%rax, %r14
	addq	%r13, %r14
	jmp	LBB0_11
LBB0_6:
	movq	40(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_9:
	xorl	%r14d, %r14d
LBB0_11:
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_23
## %bb.14:
	movl	(%r15), %ecx
	leal	-1(%rcx), %r8d
	cmpl	$2, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jl	LBB0_22
## %bb.15:
	movl	68(%r15), %r9d
	movl	%r8d, %edi
	leaq	-1(%rdi), %rdx
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$3, %rdx
	jae	LBB0_17
## %bb.16:
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_12:
	movq	40(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	8(%r15), %rdi
	callq	_kfree
	movq	$0, 8(%r15)
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_64
LBB0_53:
	movq	_LIO_FLAG_MSI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 36(%r15)
LBB0_54:
	movq	_INTRNAMSIZ@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	callq	_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_55
## %bb.56:
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	je	LBB0_58
## %bb.57:
	xorl	%edi, %edi
	callq	_IRQ_NAME_OFF
	leaq	(%rax,%r12), %rdi
	movl	(%r14), %esi
	movl	24(%r15), %ecx
	movl	28(%r15), %r8d
	leaq	L_.str.6(%rip), %rdx
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_58:
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_VF
	testq	%rax, %rax
	je	LBB0_60
## %bb.59:
	xorl	%edi, %edi
	callq	_IRQ_NAME_OFF
	leaq	(%rax,%r12), %rdi
	movl	(%r14), %esi
	movl	24(%r15), %ecx
	movl	32(%r15), %r8d
	leaq	L_.str.7(%rip), %rdx
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_60:
	movq	40(%r15), %rax
	movl	4(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_liquidio_legacy_intr_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_IRQ_NAME_OFF
	addq	%rax, %r12
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_64
## %bb.61:
	movl	%eax, %r14d
	movq	_LIO_FLAG_MSI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 36(%r15)
	je	LBB0_63
## %bb.62:
	movq	40(%r15), %rdi
	callq	_pci_disable_msi
LBB0_63:
	movq	40(%r15), %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	8(%r15), %rdi
	callq	_kfree
	movq	$0, 8(%r15)
	movl	%r14d, %ebx
	jmp	LBB0_64
LBB0_55:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_64
LBB0_23:
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_VF
	movl	(%r15), %ecx
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	testl	%ecx, %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_32
## %bb.26:
	leaq	-1(%rcx), %rdx
	movl	%ecx, %eax
	andl	$7, %eax
	cmpq	$7, %rdx
	jae	LBB0_28
## %bb.27:
	xorl	%edx, %edx
	jmp	LBB0_30
LBB0_17:
	andl	$-4, %edi
	xorl	%ebx, %ebx
	movl	%r9d, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rsi,%rbx,8)
	leal	1(%rdx), %eax
	movl	%eax, 8(%rsi,%rbx,8)
	leal	2(%rdx), %eax
	movl	%eax, 16(%rsi,%rbx,8)
	leal	3(%rdx), %eax
	movl	%eax, 24(%rsi,%rbx,8)
	addq	$4, %rbx
	addl	$4, %edx
	cmpq	%rbx, %rdi
	jne	LBB0_18
LBB0_19:
	testq	%r10, %r10
	je	LBB0_22
## %bb.20:
	leaq	(%rsi,%rbx,8), %rdx
	addl	%ebx, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r9,%rdi), %eax
	movl	%eax, (%rdx,%rdi,8)
	incq	%rdi
	cmpq	%rdi, %r10
	jne	LBB0_21
LBB0_22:
	movl	72(%r15), %eax
	movslq	%r8d, %rdx
	movl	%eax, (%rsi,%rdx,8)
LBB0_32:
	movq	40(%r15), %rdi
	movl	%ecx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_pci_enable_msix_range
	movq	40(%r15), %rdi
	testl	%eax, %eax
	js	LBB0_33
## %bb.34:
	movq	%r14, %r13
	leaq	8(%r15), %r14
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%r15), %r12d
	movq	%r15, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	movq	%r15, %rbx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_35
## %bb.36:
	movslq	%r12d, %r12
	movq	_INTRNAMSIZ@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	24(%rbx), %ecx
	movl	28(%rbx), %r8d
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_snprintf
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	-4(%rax,%r12,8), %edi
	movq	_liquidio_legacy_intr_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%rbx, %r8
	callq	_request_irq
	movq	%rbx, %r14
	testl	%eax, %eax
	je	LBB0_37
## %bb.65:
	movl	%eax, %ebx
	movq	40(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_48
LBB0_33:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	16(%r15), %rdi
	callq	_kfree
	movq	$0, 16(%r15)
	movq	8(%r15), %rdi
	callq	_kfree
	movq	$0, 8(%r15)
	jmp	LBB0_64
LBB0_35:
	movq	_INTRNAMSIZ@GOTPCREL(%rip), %r14
	jmp	LBB0_38
LBB0_37:
	decq	%r12
	movq	%r14, %rbx
	movq	%r15, %r14
LBB0_38:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_50
## %bb.39:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	addq	$-4, %r13
	imulq	$88, %rax, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_OCTEON_CN23XX_PF
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movl	%r12d, %edi
	callq	_IRQ_NAME_OFF
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rdi
	movl	(%r14), %esi
	movl	24(%rbx), %ecx
	movl	28(%rbx), %r8d
	leaq	L_.str.6(%rip), %rdx
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_42:                                ##   in Loop: Header=BB0_40 Depth=1
	movq	%rbx, %rdi
	callq	_OCTEON_CN23XX_VF
	testq	%rax, %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_40 Depth=1
	movl	%r12d, %edi
	callq	_IRQ_NAME_OFF
	leaq	(%rax,%r14), %rdi
	movq	_INTRNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %ecx
	movl	32(%rbx), %r8d
	leaq	L_.str.7(%rip), %rdx
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_44:                                ##   in Loop: Header=BB0_40 Depth=1
	movl	8(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_liquidio_msix_intr_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_IRQ_NAME_OFF
	leaq	(%rax,%r14), %rcx
	movq	%rbx, %r14
	movq	56(%rbx), %r8
	addq	%r15, %r8
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_45
## %bb.49:                              ##   in Loop: Header=BB0_40 Depth=1
	movl	8(%r13), %edi
	addq	$8, %r13
	movq	56(%r14), %rax
	movl	%edi, 64(%rax,%r15)
	leaq	(%rax,%r15), %rsi
	addq	$48, %rsi
	callq	_irq_set_affinity_hint
	addq	$88, %r15
	incl	%r12d
	cmpq	%r15, -96(%rbp)                 ## 8-byte Folded Reload
	movq	%r14, %rbx
	movq	_INTRNAMSIZ@GOTPCREL(%rip), %r14
	jne	LBB0_40
LBB0_50:
	movq	40(%rbx), %rdi
	movl	24(%rbx), %edx
	leaq	L_.str.8(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_64
LBB0_45:
	movl	%eax, %ebx
	movq	40(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movslq	-72(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx,%rax,8), %edi
	movq	%r14, %rsi
	callq	_free_irq
	testl	%r12d, %r12d
	je	LBB0_48
## %bb.46:
	addq	$-88, %r15
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_irq_set_affinity_hint
	movl	(%r13), %edi
	movq	56(%r14), %rsi
	addq	%r15, %rsi
	callq	_free_irq
	addq	$-88, %r15
	addq	$-8, %r13
	cmpq	$-88, %r15
	jne	LBB0_47
LBB0_48:
	movq	40(%r14), %rdi
	callq	_pci_disable_msix
	movq	16(%r14), %rdi
	callq	_kfree
	movq	8(%r14), %rdi
	callq	_kfree
	xorps	%xmm0, %xmm0
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
LBB0_64:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_28:
	movl	%ecx, %ebx
	andl	$-8, %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rsi,%rdx,8)
	leal	1(%rdx), %edi
	movl	%edi, 8(%rsi,%rdx,8)
	leal	2(%rdx), %edi
	movl	%edi, 16(%rsi,%rdx,8)
	leal	3(%rdx), %edi
	movl	%edi, 24(%rsi,%rdx,8)
	leal	4(%rdx), %edi
	movl	%edi, 32(%rsi,%rdx,8)
	leal	5(%rdx), %edi
	movl	%edi, 40(%rsi,%rdx,8)
	leal	6(%rdx), %edi
	movl	%edi, 48(%rsi,%rdx,8)
	leal	7(%rdx), %edi
	movl	%edi, 56(%rsi,%rdx,8)
	addq	$8, %rdx
	cmpq	%rbx, %rdx
	jne	LBB0_29
LBB0_30:
	testq	%rax, %rax
	je	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rsi,%rdx,8)
	incq	%rdx
	decq	%rax
	jne	LBB0_31
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_IOQ_INTERRUPTS_PER_PF,4,2  ## @MAX_IOQ_INTERRUPTS_PER_PF
	.comm	_MAX_IOQ_INTERRUPTS_PER_VF,4,2  ## @MAX_IOQ_INTERRUPTS_PER_VF
	.comm	_INTRNAMSIZ,4,2                 ## @INTRNAMSIZ
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Irq name storage alloc failed...\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Memory Alloc failed...\n"

L_.str.2:                               ## @.str.2
	.asciz	"unable to Allocate MSI-X interrupts\n"

L_.str.3:                               ## @.str.3
	.asciz	"OCTEON: Enough MSI-X interrupts are allocated...\n"

L_.str.4:                               ## @.str.4
	.asciz	"LiquidIO%u-pf%u-aux"

	.comm	_liquidio_legacy_intr_handler,4,2 ## @liquidio_legacy_intr_handler
L_.str.5:                               ## @.str.5
	.asciz	"Request_irq failed for MSIX interrupt Error: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"LiquidIO%u-pf%u-rxtx-%u"

L_.str.7:                               ## @.str.7
	.asciz	"LiquidIO%u-vf%u-rxtx-%u"

	.comm	_liquidio_msix_intr_handler,4,2 ## @liquidio_msix_intr_handler
L_.str.8:                               ## @.str.8
	.asciz	"OCTEON[%d]: MSI-X enabled\n"

L_.str.9:                               ## @.str.9
	.asciz	"Reverting to legacy interrupts. Error: %d\n"

	.comm	_LIO_FLAG_MSI_ENABLED,4,2       ## @LIO_FLAG_MSI_ENABLED
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.10:                              ## @.str.10
	.asciz	"Request IRQ failed with code: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_octeon_setup_interrupt         ; -- Begin function octeon_setup_interrupt
	.p2align	2
_octeon_setup_interrupt:                ; @octeon_setup_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	ldr	x8, [x0, #80]
	cbz	x8, LBB0_3
; %bb.1:
	str	w1, [x19]
	mov	x0, x19
	bl	_OCTEON_CN23XX_PF
Lloh0:
	adrp	x21, _MAX_IOQ_INTERRUPTS_PER_PF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_IOQ_INTERRUPTS_PER_PF@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x21]
	add	w0, w8, #1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_3:
	ldr	x0, [x19, #40]
	bl	_pci_enable_msi
	cbz	w0, LBB0_17
; %bb.4:
	mov	x2, x0
	ldr	x0, [x19, #40]
Lloh2:
	adrp	x1, l_.str.9@PAGE
Lloh3:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_warn
	b	LBB0_18
LBB0_5:
	mov	x0, x19
	bl	_OCTEON_CN23XX_VF
Lloh4:
	adrp	x8, _MAX_IOQ_INTERRUPTS_PER_VF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_IOQ_INTERRUPTS_PER_VF@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
LBB0_6:
Lloh7:
	adrp	x26, _INTRNAMSIZ@GOTPAGE
Lloh8:
	ldr	x26, [x26, _INTRNAMSIZ@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh9:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_kcalloc
	mov	x24, x19
	str	x0, [x24, #8]!
	cbz	x0, LBB0_9
; %bb.7:
	mov	x20, x0
	mov	x0, x19
	bl	_OCTEON_CN23XX_PF
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x21]
	bl	_IRQ_NAME_OFF
	add	x22, x20, x0
	b	LBB0_11
LBB0_9:
	ldr	x0, [x19, #40]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_27
LBB0_10:
	mov	x22, #0
LBB0_11:
	ldr	w0, [x19]
	ldr	w2, [x23]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_16
; %bb.12:
	mov	x21, x0
	mov	x0, x19
	bl	_OCTEON_CN23XX_PF
	cbz	x0, LBB0_28
; %bb.13:
	ldr	w2, [x19]
	sub	w8, w2, #1
	cmp	w2, #2
	b.lt	LBB0_37
; %bb.14:
	ldr	w9, [x19, #68]
	cmp	w8, #4
	b.hs	LBB0_32
; %bb.15:
	mov	x10, #0
	b	LBB0_35
LBB0_16:
	ldr	x0, [x19, #40]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	b	LBB0_27
LBB0_17:
Lloh15:
	adrp	x8, _LIO_FLAG_MSI_ENABLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LIO_FLAG_MSI_ENABLED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #36]
	orr	w8, w9, w8
	str	w8, [x19, #36]
LBB0_18:
Lloh18:
	adrp	x21, _INTRNAMSIZ@GOTPAGE
Lloh19:
	ldr	x21, [x21, _INTRNAMSIZ@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh20:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w0, #1
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_27
; %bb.19:
	mov	x20, x0
	mov	x0, x19
	bl	_OCTEON_CN23XX_PF
	cbz	x0, LBB0_21
; %bb.20:
	mov	w0, #0
	bl	_IRQ_NAME_OFF
	add	x0, x20, x0
	ldr	w1, [x21]
	ldp	w3, w4, [x19, #24]
Lloh23:
	adrp	x2, l_.str.6@PAGE
Lloh24:
	add	x2, x2, l_.str.6@PAGEOFF
	str	xzr, [sp]
	bl	_snprintf
LBB0_21:
	mov	x0, x19
	bl	_OCTEON_CN23XX_VF
	cbz	x0, LBB0_23
; %bb.22:
	mov	w0, #0
	bl	_IRQ_NAME_OFF
	add	x0, x20, x0
	ldr	w1, [x21]
	ldr	w3, [x19, #24]
	ldr	w4, [x19, #32]
Lloh25:
	adrp	x2, l_.str.7@PAGE
Lloh26:
	add	x2, x2, l_.str.7@PAGEOFF
	str	xzr, [sp]
	bl	_snprintf
LBB0_23:
	ldr	x8, [x19, #40]
	ldr	w21, [x8, #4]
Lloh27:
	adrp	x8, _liquidio_legacy_intr_handler@GOTPAGE
Lloh28:
	ldr	x8, [x8, _liquidio_legacy_intr_handler@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
Lloh30:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh32:
	ldr	w23, [x8]
	mov	w0, #0
	bl	_IRQ_NAME_OFF
	add	x3, x20, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x4, x19
	bl	_request_irq
	mov	x23, x0
	cbz	w0, LBB0_57
; %bb.24:
	ldr	w8, [x19, #36]
Lloh33:
	adrp	x9, _LIO_FLAG_MSI_ENABLED@GOTPAGE
Lloh34:
	ldr	x9, [x9, _LIO_FLAG_MSI_ENABLED@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
	ldr	x0, [x19, #40]
	bl	_pci_disable_msi
LBB0_26:
	ldr	x0, [x19, #40]
	str	x23, [sp]
Lloh36:
	adrp	x1, l_.str.10@PAGE
Lloh37:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	b	LBB0_42
LBB0_27:
Lloh38:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_57
LBB0_28:
	mov	x0, x19
	bl	_OCTEON_CN23XX_VF
	ldr	w2, [x19]
	cbz	x0, LBB0_38
; %bb.29:
	cmp	w2, #0
	b.le	LBB0_38
; %bb.30:
	cmp	w2, #4
	b.hs	LBB0_58
; %bb.31:
	mov	x8, #0
	b	LBB0_61
LBB0_32:
	and	x10, x8, #0xfffffffc
	add	x11, x21, #16
	mov	x12, x10
	mov	x13, x9
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	add	w14, w13, #1
	add	w15, w13, #2
	add	w16, w13, #3
	stur	w13, [x11, #-16]
	stur	w14, [x11, #-8]
	str	w15, [x11]
	str	w16, [x11, #8]
	add	w13, w13, #4
	add	x11, x11, #32
	subs	x12, x12, #4
	b.ne	LBB0_33
; %bb.34:
	cmp	x10, x8
	b.eq	LBB0_37
LBB0_35:
	add	w9, w9, w10
	add	x11, x21, x10, lsl #3
	sub	x10, x8, x10
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	str	w9, [x11], #8
	add	w9, w9, #1
	subs	x10, x10, #1
	b.ne	LBB0_36
LBB0_37:
	ldr	w9, [x19, #72]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #3, #32
	str	w9, [x21, x8]
LBB0_38:
	ldr	x0, [x19, #40]
	mov	x1, x21
	mov	x3, x2
	bl	_pci_enable_msix_range
	mov	x23, x0
	ldr	x0, [x19, #40]
	tbnz	w23, #31, LBB0_52
; %bb.39:
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
	ldr	w25, [x19]
	mov	x0, x19
	bl	_OCTEON_CN23XX_PF
	cbz	x0, LBB0_43
; %bb.40:
	sub	w25, w25, #1
	ldr	w1, [x26]
	ldp	w3, w4, [x19, #24]
Lloh43:
	adrp	x2, l_.str.4@PAGE
Lloh44:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_snprintf
	add	x8, x21, w25, sxtw #3
	ldr	w0, [x8, #4]
Lloh45:
	adrp	x8, _liquidio_legacy_intr_handler@GOTPAGE
Lloh46:
	ldr	x8, [x8, _liquidio_legacy_intr_handler@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	w2, #0
	mov	x3, x22
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_43
; %bb.41:
	mov	x23, x0
	ldr	x0, [x19, #40]
	str	x23, [sp]
Lloh48:
	adrp	x1, l_.str.5@PAGE
Lloh49:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #40]
	bl	_pci_disable_msix
	ldr	x0, [x19, #16]
	bl	_kfree
	ldr	x0, [x19, #8]
	bl	_kfree
	stp	xzr, xzr, [x24]
LBB0_42:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_57
LBB0_43:
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	str	w25, [sp, #28]                  ; 4-byte Folded Spill
	cmp	w25, #1
	b.lt	LBB0_51
; %bb.44:
	mov	w22, #0
	mov	x28, #0
	sub	x25, x21, #4
	mov	w8, #88
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	umull	x24, w9, w8
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_OCTEON_CN23XX_PF
	cbz	x0, LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	mov	x0, x22
	bl	_IRQ_NAME_OFF
	add	x0, x20, x0
	ldr	w1, [x26]
	ldp	w3, w4, [x19, #24]
	str	x22, [sp]
Lloh50:
	adrp	x2, l_.str.6@PAGE
Lloh51:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_snprintf
LBB0_47:                                ;   in Loop: Header=BB0_45 Depth=1
	mov	x0, x19
	bl	_OCTEON_CN23XX_VF
	cbz	x0, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_45 Depth=1
	mov	x0, x22
	bl	_IRQ_NAME_OFF
	add	x0, x20, x0
	ldr	w1, [x26]
	ldr	w3, [x19, #24]
	ldr	w4, [x19, #32]
	mov	x8, x22
	str	x8, [sp]
Lloh52:
	adrp	x2, l_.str.7@PAGE
Lloh53:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_snprintf
LBB0_49:                                ;   in Loop: Header=BB0_45 Depth=1
	ldr	w23, [x25, #8]
Lloh54:
	adrp	x8, _liquidio_msix_intr_handler@GOTPAGE
Lloh55:
	ldr	x8, [x8, _liquidio_msix_intr_handler@GOTPAGEOFF]
Lloh56:
	ldr	w27, [x8]
	mov	x0, x22
	bl	_IRQ_NAME_OFF
	add	x3, x20, x0
	ldr	x8, [x19, #56]
	add	x4, x8, x28
	mov	x0, x23
	mov	x1, x27
	mov	w2, #0
	bl	_request_irq
	cbnz	w0, LBB0_53
; %bb.50:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	w0, [x25, #8]!
	ldr	x8, [x19, #56]
	add	x8, x8, x28
	str	w0, [x8, #64]
	add	x1, x8, #48
	bl	_irq_set_affinity_hint
	add	x28, x28, #88
	add	w22, w22, #1
	cmp	x24, x28
	b.ne	LBB0_45
LBB0_51:
	ldr	x0, [x19, #40]
	ldr	w8, [x19, #24]
	str	x8, [sp]
Lloh57:
	adrp	x1, l_.str.8@PAGE
Lloh58:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_dbg
	mov	w23, #0
	b	LBB0_57
LBB0_52:
Lloh59:
	adrp	x1, l_.str.2@PAGE
Lloh60:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	b	LBB0_57
LBB0_53:
	mov	x23, x0
	ldr	x0, [x19, #40]
	str	x23, [sp]
Lloh61:
	adrp	x1, l_.str.5@PAGE
Lloh62:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	add	x8, x21, w8, sxtw #3
	ldr	w0, [x8, #4]
	mov	x1, x19
	bl	_free_irq
	cbz	w22, LBB0_56
; %bb.54:
	sub	x20, x28, #88
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	mov	x1, #0
	bl	_irq_set_affinity_hint
	ldr	w0, [x25], #-8
	ldr	x8, [x19, #56]
	add	x1, x8, x20
	bl	_free_irq
	sub	x20, x20, #88
	cmn	x20, #88
	b.ne	LBB0_55
LBB0_56:
	ldr	x0, [x19, #40]
	bl	_pci_disable_msix
	ldr	x0, [x19, #16]
	bl	_kfree
	ldr	x0, [x19, #8]
	bl	_kfree
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	stp	xzr, xzr, [x8]
LBB0_57:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_58:
	mov	x9, #0
	and	x8, x2, #0xfffffffc
	add	x10, x21, #16
LBB0_59:                                ; =>This Inner Loop Header: Depth=1
	add	w11, w9, #1
	add	w12, w9, #2
	add	w13, w9, #3
	stur	w9, [x10, #-16]
	stur	w11, [x10, #-8]
	str	w12, [x10]
	str	w13, [x10, #8]
	add	x9, x9, #4
	add	x10, x10, #32
	cmp	x8, x9
	b.ne	LBB0_59
; %bb.60:
	cmp	x8, x2
	b.eq	LBB0_38
LBB0_61:
	add	x9, x21, x8, lsl #3
LBB0_62:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x9], #8
	add	x8, x8, #1
	cmp	x2, x8
	b.ne	LBB0_62
	b	LBB0_38
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_IOQ_INTERRUPTS_PER_PF,4,2  ; @MAX_IOQ_INTERRUPTS_PER_PF
	.comm	_MAX_IOQ_INTERRUPTS_PER_VF,4,2  ; @MAX_IOQ_INTERRUPTS_PER_VF
	.comm	_INTRNAMSIZ,4,2                 ; @INTRNAMSIZ
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Irq name storage alloc failed...\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Memory Alloc failed...\n"

l_.str.2:                               ; @.str.2
	.asciz	"unable to Allocate MSI-X interrupts\n"

l_.str.3:                               ; @.str.3
	.asciz	"OCTEON: Enough MSI-X interrupts are allocated...\n"

l_.str.4:                               ; @.str.4
	.asciz	"LiquidIO%u-pf%u-aux"

	.comm	_liquidio_legacy_intr_handler,4,2 ; @liquidio_legacy_intr_handler
l_.str.5:                               ; @.str.5
	.asciz	"Request_irq failed for MSIX interrupt Error: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"LiquidIO%u-pf%u-rxtx-%u"

l_.str.7:                               ; @.str.7
	.asciz	"LiquidIO%u-vf%u-rxtx-%u"

	.comm	_liquidio_msix_intr_handler,4,2 ; @liquidio_msix_intr_handler
l_.str.8:                               ; @.str.8
	.asciz	"OCTEON[%d]: MSI-X enabled\n"

l_.str.9:                               ; @.str.9
	.asciz	"Reverting to legacy interrupts. Error: %d\n"

	.comm	_LIO_FLAG_MSI_ENABLED,4,2       ; @LIO_FLAG_MSI_ENABLED
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.10:                              ; @.str.10
	.asciz	"Request IRQ failed with code: %d\n"

.subsections_via_symbols
