	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_config_intrpt      ## -- Begin function qlcnic_82xx_config_intrpt
	.p2align	4, 0x90
_qlcnic_82xx_config_intrpt:             ## @qlcnic_82xx_config_intrpt
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r12
	cmpl	$0, (%r12)
	jle	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movl	4(%rax,%r15), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rsi
	callq	_netdev_info
	movq	%r13, %rbx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r12), %rax
	addq	$16, %r15
	cmpq	%rax, %r14
	jge	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_QLCNIC_CMD_MQ_TX_CONFIG_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_qlcnic_alloc_mbx_args
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QLCNIC_INTRPT_ADD@GOTPCREL(%rip), %rcx
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QLCNIC_INTRPT_DEL@GOTPCREL(%rip), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdx
	movl	(%rdx,%r15), %esi
	movl	%esi, %eax
	shll	$4, %eax
	orl	(%rcx), %eax
	movq	_QLCNIC_INTRPT_MSIX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdx,%r15), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	callq	_qlcnic_issue_cmd
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
	movq	-64(%rbp), %rax
	movl	4(%rax), %ebx
	movl	%ebx, %edi
	callq	_LSB
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_MSW
	movq	8(%r12), %rcx
	movl	%eax, 4(%rcx,%r15)
	movl	$1, 8(%rcx,%r15)
	movq	-64(%rbp), %rax
	movl	8(%rax), %eax
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rcx
	movl	%r14d, 4(%rcx,%r15)
	movl	$0, 8(%rcx,%r15)
	xorl	%eax, %eax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	movl	%eax, 12(%rcx,%r15)
	leaq	-64(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
	jmp	LBB0_16
LBB0_17:
	xorl	%r13d, %r13d
	jmp	LBB0_18
LBB0_3:
	movl	%eax, %r13d
	jmp	LBB0_18
LBB0_9:
	movl	%eax, %r13d
	movq	_QLCNIC_INTRPT_ADD@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_netdev_err
	leaq	-64(%rbp), %rdi
	callq	_qlcnic_free_mbx_args
LBB0_18:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_CMD_MQ_TX_CONFIG_INTR,4,2 ## @QLCNIC_CMD_MQ_TX_CONFIG_INTR
	.comm	_QLCNIC_INTRPT_ADD,8,3          ## @QLCNIC_INTRPT_ADD
	.comm	_QLCNIC_INTRPT_DEL,8,3          ## @QLCNIC_INTRPT_DEL
	.comm	_QLCNIC_INTRPT_MSIX,4,2         ## @QLCNIC_INTRPT_MSIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to %s interrupts %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Add"

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

L_.str.3:                               ## @.str.3
	.asciz	"failed to configure interrupt for %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_82xx_config_intrpt      ; -- Begin function qlcnic_82xx_config_intrpt
	.p2align	2
_qlcnic_82xx_config_intrpt:             ; @qlcnic_82xx_config_intrpt
	.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
	ldr	x24, [x0, #8]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	mov	x25, #0
	mov	x26, #0
	ldr	x20, [x0]
Lloh0:
	adrp	x28, _QLCNIC_INTRPT_ADD@GOTPAGE
Lloh1:
	ldr	x28, [x28, _QLCNIC_INTRPT_ADD@GOTPAGEOFF]
Lloh2:
	adrp	x22, _QLCNIC_INTRPT_DEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _QLCNIC_INTRPT_DEL@GOTPAGEOFF]
Lloh4:
	adrp	x27, _QLCNIC_INTRPT_MSIX@GOTPAGE
Lloh5:
	ldr	x27, [x27, _QLCNIC_INTRPT_MSIX@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	add	x8, x8, x25
	ldr	w2, [x8, #4]
	mov	x0, x20
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_info
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x24]
	add	x25, x25, #16
	cmp	x26, x8
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
Lloh8:
	adrp	x8, _QLCNIC_CMD_MQ_TX_CONFIG_INTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QLCNIC_CMD_MQ_TX_CONFIG_INTR@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, sp
	mov	x1, x21
	bl	_qlcnic_alloc_mbx_args
	cbnz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x19, #0
	csel	x8, x22, x28, eq
	ldr	w8, [x8]
	ldr	x9, [x24, #8]
	ldr	w10, [x9, x25]
	orr	w8, w8, w10, lsl #4
	ldr	w11, [x27]
	cmp	w10, w11
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, x25
	ldr	w9, [x9, #4]
	orr	w8, w8, w9, lsl #16
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #8]
	str	w8, [x9, #4]
	mov	x1, sp
	mov	x0, x21
	bl	_qlcnic_issue_cmd
	cbnz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldr	w23, [x8, #4]
	mov	x0, x23
	bl	_LSB
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x19, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_MSW
	ldr	x8, [x24, #8]
	add	x9, x8, x25
	mov	w10, #1
	stp	w0, w10, [x9, #4]
	ldr	x9, [sp]
	ldr	w9, [x9, #8]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	ldr	x8, [x24, #8]
	add	x10, x8, x25
	stp	w26, wzr, [x10, #4]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, x25
	str	w9, [x8, #12]
	mov	x0, sp
	bl	_qlcnic_free_mbx_args
	b	LBB0_3
LBB0_13:
	mov	w23, #0
	b	LBB0_16
LBB0_14:
	mov	x23, x0
	b	LBB0_16
LBB0_15:
	mov	x23, x0
	ldr	x8, [x28]
Lloh11:
	adrp	x9, l_.str.2@PAGE
Lloh12:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh13:
	adrp	x10, l_.str.1@PAGE
Lloh14:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, x19
	csel	x2, x10, x9, eq
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x23
	bl	_netdev_err
	mov	x0, sp
	bl	_qlcnic_free_mbx_args
LBB0_16:
	mov	x0, x23
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_CMD_MQ_TX_CONFIG_INTR,4,2 ; @QLCNIC_CMD_MQ_TX_CONFIG_INTR
	.comm	_QLCNIC_INTRPT_ADD,8,3          ; @QLCNIC_INTRPT_ADD
	.comm	_QLCNIC_INTRPT_DEL,8,3          ; @QLCNIC_INTRPT_DEL
	.comm	_QLCNIC_INTRPT_MSIX,4,2         ; @QLCNIC_INTRPT_MSIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to %s interrupts %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Add"

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

l_.str.3:                               ; @.str.3
	.asciz	"failed to configure interrupt for %d\n"

.subsections_via_symbols
