	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_resolve_queues_to_irqs
_ql_resolve_queues_to_irqs:             ## @ql_resolve_queues_to_irqs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %r15
	movq	_QL_MSIX_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r14), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.2:
	movq	16(%r14), %rax
	movl	$0, (%rax)
	movl	$0, (%r15)
	movq	%r14, 32(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ql_set_irq_mask
	movq	_INTR_EN_TYPE_MASK@GOTPCREL(%rip), %rcx
	movq	_INTR_EN_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_INTR_EN_TYPE_ENABLE@GOTPCREL(%rip), %rdx
	movq	_INTR_EN_IHD_MASK@GOTPCREL(%rip), %rsi
	movq	_INTR_EN_IHD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rdx), %edx
	orl	%eax, %edx
	orl	(%rsi), %ecx
	orl	%ecx, %edx
	movl	%edx, 4(%r15)
	movq	_INTR_EN_TYPE_DISABLE@GOTPCREL(%rip), %rdx
	orl	%eax, %ecx
	movl	(%rdx), %eax
	orl	%ecx, %eax
	movl	%eax, 8(%r15)
	movq	_INTR_EN_TYPE_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 12(%r15)
	movq	_qlge_isr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movl	16(%r15), %edi
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	cmpl	$2, (%r14)
	jl	LBB0_6
## %bb.3:
	addq	$40, %r15
	movl	$1, %ebx
	movq	_qlge_msix_rx_isr@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	%ebx, (%rax,%rbx,4)
	movl	%ebx, (%r15)
	movq	%r14, 32(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ql_set_irq_mask
	movq	_INTR_EN_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_INTR_EN_TYPE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_INTR_EN_IHD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ebx, %eax
	movq	_INTR_EN_TYPE_ENABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%eax, %edx
	movq	_INTR_EN_IHD_MASK@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	orl	%ecx, %edx
	movl	%edx, 4(%r15)
	orl	%eax, %ecx
	movq	_INTR_EN_TYPE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	movl	%eax, 8(%r15)
	movq	_INTR_EN_TYPE_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 12(%r15)
	movq	(%r13), %rax
	movq	%rax, 24(%r15)
	movl	16(%r15), %edi
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	movq	%r12, %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movslq	(%r14), %rax
	incq	%rbx
	addq	$40, %r15
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_6
LBB0_5:
	movl	$0, (%r15)
	movq	%r14, 32(%r15)
	movq	_INTR_EN_TYPE_MASK@GOTPCREL(%rip), %rax
	movq	_INTR_EN_INTR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_INTR_EN_TYPE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	movl	%eax, 4(%r15)
	movq	_INTR_EN_TYPE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	movl	%eax, 8(%r15)
	movq	_INTR_EN_TYPE_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 12(%r15)
	movq	_qlge_isr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r15)
	movl	16(%r15), %edi
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ql_set_irq_mask
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ql_set_tx_vect                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QL_MSIX_ENABLED,4,2            ## @QL_MSIX_ENABLED
	.comm	_INTR_EN_TYPE_MASK,4,2          ## @INTR_EN_TYPE_MASK
	.comm	_INTR_EN_INTR_MASK,4,2          ## @INTR_EN_INTR_MASK
	.comm	_INTR_EN_TYPE_ENABLE,4,2        ## @INTR_EN_TYPE_ENABLE
	.comm	_INTR_EN_IHD_MASK,4,2           ## @INTR_EN_IHD_MASK
	.comm	_INTR_EN_IHD,4,2                ## @INTR_EN_IHD
	.comm	_INTR_EN_TYPE_DISABLE,4,2       ## @INTR_EN_TYPE_DISABLE
	.comm	_INTR_EN_TYPE_READ,4,2          ## @INTR_EN_TYPE_READ
	.comm	_qlge_isr,8,3                   ## @qlge_isr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-rx-%d"

	.comm	_qlge_msix_rx_isr,8,3           ## @qlge_msix_rx_isr
L_.str.1:                               ## @.str.1
	.asciz	"%s-single_irq"

	.no_dead_strip	_ql_resolve_queues_to_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_resolve_queues_to_irqs
_ql_resolve_queues_to_irqs:             ; @ql_resolve_queues_to_irqs
	.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, x0
	ldr	x20, [x0, #32]
Lloh0:
	adrp	x8, _QL_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QL_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	bl	_likely
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	x8, [x19, #16]
	str	wzr, [x8]
	str	wzr, [x20]
	str	x19, [x20, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_ql_set_irq_mask
Lloh3:
	adrp	x8, _INTR_EN_TYPE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTR_EN_TYPE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _INTR_EN_INTR_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INTR_EN_INTR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x24, _INTR_EN_TYPE_ENABLE@GOTPAGE
Lloh10:
	ldr	x24, [x24, _INTR_EN_TYPE_ENABLE@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh11:
	adrp	x25, _INTR_EN_IHD_MASK@GOTPAGE
Lloh12:
	ldr	x25, [x25, _INTR_EN_IHD_MASK@GOTPAGEOFF]
	ldr	w10, [x25]
Lloh13:
	adrp	x26, _INTR_EN_IHD@GOTPAGE
Lloh14:
	ldr	x26, [x26, _INTR_EN_IHD@GOTPAGEOFF]
	ldr	w11, [x26]
	orr	w9, w8, w9
	orr	w9, w9, w10
	orr	w9, w9, w11
Lloh15:
	adrp	x27, _INTR_EN_TYPE_DISABLE@GOTPAGE
Lloh16:
	ldr	x27, [x27, _INTR_EN_TYPE_DISABLE@GOTPAGEOFF]
	orr	w8, w8, w10
	ldr	w10, [x27]
	orr	w8, w8, w11
	orr	w10, w8, w10
	stp	w9, w10, [x20, #4]
Lloh17:
	adrp	x28, _INTR_EN_TYPE_READ@GOTPAGE
Lloh18:
	ldr	x28, [x28, _INTR_EN_TYPE_READ@GOTPAGEOFF]
	ldr	w9, [x28]
	orr	w8, w8, w9
Lloh19:
	adrp	x9, _qlge_isr@GOTPAGE
Lloh20:
	ldr	x9, [x9, _qlge_isr@GOTPAGEOFF]
	str	w8, [x20, #12]
Lloh21:
	ldr	x8, [x9]
	str	x8, [x20, #24]
	ldr	w0, [x20, #16]
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
	str	xzr, [sp]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.3:
	add	x20, x20, #40
	mov	w22, #1
Lloh24:
	adrp	x23, _qlge_msix_rx_isr@GOTPAGE
Lloh25:
	ldr	x23, [x23, _qlge_msix_rx_isr@GOTPAGEOFF]
Lloh26:
	adrp	x21, l_.str@PAGE
Lloh27:
	add	x21, x21, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	str	w22, [x8, x22, lsl #2]
	str	w22, [x20]
	str	x19, [x20, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_ql_set_irq_mask
Lloh28:
	adrp	x8, _INTR_EN_TYPE_MASK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _INTR_EN_TYPE_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _INTR_EN_INTR_MASK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _INTR_EN_INTR_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x24]
	ldr	w10, [x25]
	ldr	w11, [x26]
	orr	w8, w8, w22
	orr	w9, w8, w9
	orr	w9, w9, w10
	orr	w9, w9, w11
	str	w9, [x20, #4]
	ldr	w9, [x27]
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w9, w8, w9
	str	w9, [x20, #8]
	ldr	w9, [x28]
	orr	w8, w8, w9
	str	w8, [x20, #12]
	ldr	x8, [x23]
	str	x8, [x20, #24]
	ldr	w0, [x20, #16]
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
	str	x22, [sp]
	mov	x1, x21
	bl	_sprintf
	ldrsw	x8, [x19]
	add	x22, x22, #1
	add	x20, x20, #40
	cmp	x22, x8
	b.lt	LBB0_4
	b	LBB0_6
LBB0_5:
	str	wzr, [x20]
Lloh34:
	adrp	x8, _INTR_EN_TYPE_MASK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _INTR_EN_TYPE_MASK@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _INTR_EN_INTR_MASK@GOTPAGE
Lloh38:
	ldr	x9, [x9, _INTR_EN_INTR_MASK@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh40:
	adrp	x9, _INTR_EN_TYPE_ENABLE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _INTR_EN_TYPE_ENABLE@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, _INTR_EN_TYPE_DISABLE@GOTPAGE
Lloh44:
	ldr	x10, [x10, _INTR_EN_TYPE_DISABLE@GOTPAGEOFF]
	orr	w9, w8, w9
Lloh45:
	ldr	w10, [x10]
	orr	w10, w10, w8
Lloh46:
	adrp	x11, _INTR_EN_TYPE_READ@GOTPAGE
Lloh47:
	ldr	x11, [x11, _INTR_EN_TYPE_READ@GOTPAGEOFF]
	stp	w9, w10, [x20, #4]
Lloh48:
	ldr	w9, [x11]
	orr	w8, w9, w8
	str	w8, [x20, #12]
Lloh49:
	adrp	x8, _qlge_isr@GOTPAGE
Lloh50:
	ldr	x8, [x8, _qlge_isr@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	stp	x8, x19, [x20, #24]
	ldr	w0, [x20, #16]
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	mov	x0, x19
	mov	x1, x20
	bl	_ql_set_irq_mask
LBB0_6:
	mov	x0, 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	_ql_set_tx_vect
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_QL_MSIX_ENABLED,4,2            ; @QL_MSIX_ENABLED
	.comm	_INTR_EN_TYPE_MASK,4,2          ; @INTR_EN_TYPE_MASK
	.comm	_INTR_EN_INTR_MASK,4,2          ; @INTR_EN_INTR_MASK
	.comm	_INTR_EN_TYPE_ENABLE,4,2        ; @INTR_EN_TYPE_ENABLE
	.comm	_INTR_EN_IHD_MASK,4,2           ; @INTR_EN_IHD_MASK
	.comm	_INTR_EN_IHD,4,2                ; @INTR_EN_IHD
	.comm	_INTR_EN_TYPE_DISABLE,4,2       ; @INTR_EN_TYPE_DISABLE
	.comm	_INTR_EN_TYPE_READ,4,2          ; @INTR_EN_TYPE_READ
	.comm	_qlge_isr,8,3                   ; @qlge_isr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-rx-%d"

	.comm	_qlge_msix_rx_isr,8,3           ; @qlge_msix_rx_isr
l_.str.1:                               ; @.str.1
	.asciz	"%s-single_irq"

	.no_dead_strip	_ql_resolve_queues_to_irqs
.subsections_via_symbols
