	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_pcie_init_msix_handler
_iwl_pcie_init_msix_handler:            ## @iwl_pcie_init_msix_handler
	.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	%rsi, %r15
	cmpl	$0, (%rsi)
	jle	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_queue_name
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rcx
	leaq	(%rcx,%r13), %r9
	movl	4(%r15), %edx
	movq	_iwl_pcie_irq_rx_msix_handler@GOTPCREL(%rip), %rdi
	cmpq	%rdx, %rbx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_iwl_pcie_irq_msix_handler@GOTPCREL(%rip), %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx,%rbx,4), %esi
	movq	_iwl_pcie_msix_isr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rdi), %ecx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movq	%r9, (%rsp)
	movq	%r14, %rdi
	movq	%rax, %r9
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_9:
	movl	8(%r15), %edi
	callq	_iwl_pcie_irq_set_affinity
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_10
LBB0_7:
	movl	%eax, %r12d
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_IWL_ERR
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_iwl_pcie_msix_isr,4,2          ## @iwl_pcie_msix_isr
	.comm	_iwl_pcie_irq_msix_handler,4,2  ## @iwl_pcie_irq_msix_handler
	.comm	_iwl_pcie_irq_rx_msix_handler,4,2 ## @iwl_pcie_irq_rx_msix_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error allocating IRQ %d\n"

	.no_dead_strip	_iwl_pcie_init_msix_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_pcie_init_msix_handler
_iwl_pcie_init_msix_handler:            ; @iwl_pcie_init_msix_handler
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, x0
	mov	x23, #0
	mov	x20, #0
Lloh0:
	adrp	x24, _iwl_pcie_msix_isr@GOTPAGE
Lloh1:
	ldr	x24, [x24, _iwl_pcie_msix_isr@GOTPAGEOFF]
Lloh2:
	adrp	x25, _iwl_pcie_irq_msix_handler@GOTPAGE
Lloh3:
	ldr	x25, [x25, _iwl_pcie_irq_msix_handler@GOTPAGEOFF]
Lloh4:
	adrp	x26, _iwl_pcie_irq_rx_msix_handler@GOTPAGE
Lloh5:
	ldr	x26, [x26, _iwl_pcie_irq_rx_msix_handler@GOTPAGEOFF]
Lloh6:
	adrp	x27, _IRQF_SHARED@GOTPAGE
Lloh7:
	ldr	x27, [x27, _IRQF_SHARED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_queue_name
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x5, x0
	ldr	x8, [x19, #16]
	add	x6, x8, x23
	ldr	w1, [x8, x20, lsl #2]
	ldr	w2, [x24]
	ldr	w8, [x19, #4]
	cmp	x20, x8
	csel	x8, x25, x26, eq
	ldr	w3, [x8]
	ldr	w4, [x27]
	mov	x0, x21
	bl	_devm_request_threaded_irq
	cbnz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x23, x23, #4
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_iwl_pcie_irq_set_affinity
	mov	w22, #0
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_7:
	mov	x22, x0
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_IWL_ERR
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_iwl_pcie_msix_isr,4,2          ; @iwl_pcie_msix_isr
	.comm	_iwl_pcie_irq_msix_handler,4,2  ; @iwl_pcie_irq_msix_handler
	.comm	_iwl_pcie_irq_rx_msix_handler,4,2 ; @iwl_pcie_irq_rx_msix_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error allocating IRQ %d\n"

	.no_dead_strip	_iwl_pcie_init_msix_handler
.subsections_via_symbols
