	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_pcie_request_irq
_mwifiex_pcie_request_irq:              ## @mwifiex_pcie_request_irq
	.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	(%rdi), %r13
	movq	40(%r13), %rax
	movq	48(%r13), %r12
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.1:
	movq	_MWIFIEX_NUM_MSIX_VECTORS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	32(%r13), %rsi
	testl	%edx, %edx
	jle	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rsi,%rax,8)
	incq	%rax
	movslq	(%rbx), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_3
LBB0_4:
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_pci_enable_msix_exact
	testl	%eax, %eax
	je	LBB0_5
LBB0_14:
	movq	%r12, %rdi
	callq	_pci_enable_msi
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_pci_disable_msi
	movl	4(%r13), %ecx
	jmp	LBB0_17
LBB0_16:
	movl	$1, 4(%r13)
	movl	$1, %ecx
LBB0_17:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	leaq	8(%r13), %r8
	movq	%r12, 16(%r13)
	movl	$-1, 8(%r13)
	movl	(%r12), %edi
	movq	_mwifiex_pcie_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	movl	$-1, %r15d
	jmp	LBB0_19
LBB0_5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_9
## %bb.6:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	leaq	(%rax,%r14), %r8
	movq	%r12, 8(%rax,%r14)
	movl	%r15d, (%rax,%r14)
	movq	32(%r13), %rax
	movl	4(%rax,%r15,8), %edi
	movq	_mwifiex_pcie_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	leaq	L_.str(%rip), %rcx
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	addq	$16, %r14
	cmpq	%rax, %r15
	jl	LBB0_7
LBB0_9:
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	$1, (%r13)
LBB0_19:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rax
	movl	4(%rax,%rbx,8), %edi
	movq	24(%r13), %rsi
	addq	%r14, %rsi
	callq	_free_irq
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_12
LBB0_13:
	movq	%r12, %rdi
	callq	_pci_disable_msix
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_NUM_MSIX_VECTORS,4,2   ## @MWIFIEX_NUM_MSIX_VECTORS
	.comm	_mwifiex_pcie_interrupt,4,2     ## @mwifiex_pcie_interrupt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MWIFIEX_PCIE_MSIX"

	.comm	_INFO,4,2                       ## @INFO
L_.str.1:                               ## @.str.1
	.asciz	"request_irq fail: %d\n"

	.comm	_MSG,4,2                        ## @MSG
L_.str.2:                               ## @.str.2
	.asciz	"MSIx enabled!"

L_.str.3:                               ## @.str.3
	.asciz	"msi_enable = %d\n"

	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.4:                               ## @.str.4
	.asciz	"MRVL_PCIE"

L_.str.5:                               ## @.str.5
	.asciz	"request_irq failed: ret=%d\n"

	.no_dead_strip	_mwifiex_pcie_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_pcie_request_irq
_mwifiex_pcie_request_irq:              ; @mwifiex_pcie_request_irq
	.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	x21, x0
	ldr	x19, [x0]
	ldp	x8, x20, [x19, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x23, _MWIFIEX_NUM_MSIX_VECTORS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MWIFIEX_NUM_MSIX_VECTORS@GOTPAGEOFF]
	ldr	w2, [x23]
	ldr	x1, [x19, #32]
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x8, #0
	mov	x9, x1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x9], #8
	add	x8, x8, #1
	ldrsw	x2, [x23]
	cmp	x8, x2
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_pci_enable_msix_exact
	cbz	w0, LBB0_10
LBB0_5:
	mov	x0, x20
	bl	_pci_enable_msi
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_pci_disable_msi
	ldr	w8, [x19, #4]
	b	LBB0_8
LBB0_7:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_8:
Lloh2:
	adrp	x9, _INFO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INFO@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str.3@PAGE
Lloh6:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_mwifiex_dbg
	mov	w8, #-1
	str	w8, [x19, #8]!
	str	x20, [x19, #8]
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _mwifiex_pcie_interrupt@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mwifiex_pcie_interrupt@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x3, l_.str.4@PAGE
Lloh14:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_15
; %bb.9:
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	mov	w0, #-1
	b	LBB0_15
LBB0_10:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.11:
	mov	x24, #0
	mov	x25, #0
	mov	w26, #4
Lloh17:
	adrp	x27, _mwifiex_pcie_interrupt@GOTPAGE
Lloh18:
	ldr	x27, [x27, _mwifiex_pcie_interrupt@GOTPAGEOFF]
Lloh19:
	adrp	x22, l_.str@PAGE
Lloh20:
	add	x22, x22, l_.str@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #24]
	add	x4, x8, x24
	str	x20, [x4, #8]
	str	w25, [x4]
	ldr	w0, [x9, x26]
	ldr	w1, [x27]
	mov	w2, #0
	mov	x3, x22
	bl	_request_irq
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #16
	add	x26, x26, #8
	cmp	x25, x8
	b.lt	LBB0_12
LBB0_14:
Lloh21:
	adrp	x8, _MSG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.2@PAGE
Lloh25:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_mwifiex_dbg
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
LBB0_15:
	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
LBB0_16:
Lloh26:
	adrp	x8, _INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	str	x0, [sp]
Lloh29:
	adrp	x2, l_.str.1@PAGE
Lloh30:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_mwifiex_dbg
	cbz	w25, LBB0_19
; %bb.17:
	mov	w22, #4
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #24]
	ldr	w0, [x8, x22]
	add	x1, x9, x24
	bl	_free_irq
	add	x22, x22, #8
	subs	x25, x25, #1
	b.ne	LBB0_18
LBB0_19:
	mov	x0, x20
	bl	_pci_disable_msix
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_NUM_MSIX_VECTORS,4,2   ; @MWIFIEX_NUM_MSIX_VECTORS
	.comm	_mwifiex_pcie_interrupt,4,2     ; @mwifiex_pcie_interrupt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MWIFIEX_PCIE_MSIX"

	.comm	_INFO,4,2                       ; @INFO
l_.str.1:                               ; @.str.1
	.asciz	"request_irq fail: %d\n"

	.comm	_MSG,4,2                        ; @MSG
l_.str.2:                               ; @.str.2
	.asciz	"MSIx enabled!"

l_.str.3:                               ; @.str.3
	.asciz	"msi_enable = %d\n"

	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.4:                               ; @.str.4
	.asciz	"MRVL_PCIE"

l_.str.5:                               ; @.str.5
	.asciz	"request_irq failed: ret=%d\n"

	.no_dead_strip	_mwifiex_pcie_request_irq
.subsections_via_symbols
