	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_process_int_status
_mwifiex_process_int_status:            ## @mwifiex_process_int_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$0, -28(%rbp)
	movq	40(%rdi), %r15
	leaq	36(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 8(%r15)
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	movl	%eax, -28(%rbp)
LBB0_2:
	movl	$0, (%r14)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	cmpq	$0, 8(%r15)
	je	LBB0_13
## %bb.3:
	movq	%r14, %rdi
	callq	_mwifiex_pcie_ok_to_access_hw
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	_PCIE_HOST_INT_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_mwifiex_read_reg
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_6:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	$-1, %ebx
	jmp	LBB0_30
LBB0_7:
	movl	-28(%rbp), %edx
	leal	-1(%rdx), %eax
	cmpl	$-3, %eax
	ja	LBB0_13
## %bb.8:
	movl	(%rbx), %esi
	notl	%edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mwifiex_write_reg
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_10:
	cmpl	$0, 32(%r14)
	jne	LBB0_13
## %bb.11:
	movq	8(%r14), %rax
	movq	_PS_STATE_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	_PS_STATE_AWAKE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movl	$0, 16(%r14)
	leaq	28(%r14), %rdi
	callq	_del_timer
LBB0_13:
	movl	-28(%rbp), %eax
	movq	_HOST_INTR_DNLD_DONE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.14:
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%r14, %rdi
	callq	_mwifiex_pcie_send_data_complete
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_30
## %bb.15:
	movl	-28(%rbp), %eax
LBB0_16:
	movq	_HOST_INTR_UPLD_RDY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.17:
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%r14, %rdi
	callq	_mwifiex_pcie_process_recv_data
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_30
## %bb.18:
	movl	-28(%rbp), %eax
LBB0_19:
	movq	_HOST_INTR_EVENT_RDY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.20:
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	%r14, %rdi
	callq	_mwifiex_pcie_process_event_ready
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_30
## %bb.21:
	movl	-28(%rbp), %eax
LBB0_22:
	movq	_HOST_INTR_CMD_DONE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.23:
	cmpl	$0, 20(%r14)
	je	LBB0_25
## %bb.24:
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	$0, 20(%r14)
LBB0_25:
	movq	%r14, %rdi
	callq	_mwifiex_pcie_process_cmd_complete
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_30
LBB0_26:
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %ecx
	movl	24(%r14), %r8d
	leaq	L_.str.6(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	cmpq	$0, 8(%r15)
	jne	LBB0_30
## %bb.27:
	cmpl	$0, (%r15)
	jne	LBB0_30
## %bb.28:
	movq	8(%r14), %rax
	movq	_PS_STATE_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_30
## %bb.29:
	movq	%r14, %rdi
	callq	_mwifiex_pcie_enable_host_int
LBB0_30:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIE_HOST_INT_STATUS,4,2       ## @PCIE_HOST_INT_STATUS
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read register failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"Write register failed\n"

	.comm	_PS_STATE_SLEEP,8,3             ## @PS_STATE_SLEEP
	.comm	_PS_STATE_AWAKE,8,3             ## @PS_STATE_AWAKE
	.comm	_HOST_INTR_DNLD_DONE,4,2        ## @HOST_INTR_DNLD_DONE
	.comm	_INTR,4,2                       ## @INTR
L_.str.2:                               ## @.str.2
	.asciz	"info: TX DNLD Done\n"

	.comm	_HOST_INTR_UPLD_RDY,4,2         ## @HOST_INTR_UPLD_RDY
L_.str.3:                               ## @.str.3
	.asciz	"info: Rx DATA\n"

	.comm	_HOST_INTR_EVENT_RDY,4,2        ## @HOST_INTR_EVENT_RDY
L_.str.4:                               ## @.str.4
	.asciz	"info: Rx EVENT\n"

	.comm	_HOST_INTR_CMD_DONE,4,2         ## @HOST_INTR_CMD_DONE
L_.str.5:                               ## @.str.5
	.asciz	"info: CMD sent Interrupt\n"

L_.str.6:                               ## @.str.6
	.asciz	"info: cmd_sent=%d data_sent=%d\n"

	.no_dead_strip	_mwifiex_process_int_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_process_int_status
_mwifiex_process_int_status:            ; @mwifiex_process_int_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	str	wzr, [sp, #28]
	ldr	x21, [x0, #40]
	add	x20, x0, #36
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	str	w8, [sp, #28]
LBB0_2:
	str	wzr, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_13
; %bb.3:
	mov	x0, x19
	bl	_mwifiex_pcie_ok_to_access_hw
	cbz	x0, LBB0_13
; %bb.4:
Lloh0:
	adrp	x20, _PCIE_HOST_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PCIE_HOST_INT_STATUS@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #28
	mov	x0, x19
	bl	_mwifiex_read_reg
	cbz	x0, LBB0_7
; %bb.5:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	w0, #-1
	b	LBB0_31
LBB0_7:
	ldr	w8, [sp, #28]
	sub	w9, w8, #1
	cmn	w9, #3
	b.hi	LBB0_13
; %bb.8:
	ldr	w1, [x20]
	mvn	w2, w8
	mov	x0, x19
	bl	_mwifiex_write_reg
	cbz	x0, LBB0_10
; %bb.9:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_10:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_13
; %bb.11:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _PS_STATE_SLEEP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PS_STATE_SLEEP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
Lloh15:
	adrp	x8, _PS_STATE_AWAKE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PS_STATE_AWAKE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	str	wzr, [x19, #16]
	add	x0, x19, #28
	bl	_del_timer
LBB0_13:
	ldr	w8, [sp, #28]
Lloh18:
	adrp	x9, _HOST_INTR_DNLD_DONE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HOST_INTR_DNLD_DONE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x20, _INTR@GOTPAGE
Lloh22:
	ldr	x20, [x20, _INTR@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
	ldr	w1, [x20]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	x0, x19
	bl	_mwifiex_pcie_send_data_complete
	cbnz	w0, LBB0_31
; %bb.15:
	ldr	w8, [sp, #28]
LBB0_16:
Lloh25:
	adrp	x9, _HOST_INTR_UPLD_RDY@GOTPAGE
Lloh26:
	ldr	x9, [x9, _HOST_INTR_UPLD_RDY@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.17:
	ldr	w1, [x20]
Lloh28:
	adrp	x2, l_.str.3@PAGE
Lloh29:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	x0, x19
	bl	_mwifiex_pcie_process_recv_data
	cbnz	w0, LBB0_31
; %bb.18:
	ldr	w8, [sp, #28]
LBB0_19:
Lloh30:
	adrp	x9, _HOST_INTR_EVENT_RDY@GOTPAGE
Lloh31:
	ldr	x9, [x9, _HOST_INTR_EVENT_RDY@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.20:
	ldr	w1, [x20]
Lloh33:
	adrp	x2, l_.str.4@PAGE
Lloh34:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	x0, x19
	bl	_mwifiex_pcie_process_event_ready
	cbnz	w0, LBB0_31
; %bb.21:
	ldr	w8, [sp, #28]
LBB0_22:
Lloh35:
	adrp	x9, _HOST_INTR_CMD_DONE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HOST_INTR_CMD_DONE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.23:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_25
; %bb.24:
	ldr	w1, [x20]
Lloh38:
	adrp	x2, l_.str.5@PAGE
Lloh39:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	str	wzr, [x19, #20]
LBB0_25:
	mov	x0, x19
	bl	_mwifiex_pcie_process_cmd_complete
	cbnz	w0, LBB0_31
LBB0_26:
	ldr	w1, [x20]
	ldp	w8, w9, [x19, #20]
	stp	x8, x9, [sp]
Lloh40:
	adrp	x2, l_.str.6@PAGE
Lloh41:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_30
; %bb.27:
	ldr	w8, [x21]
	cbnz	w8, LBB0_30
; %bb.28:
	ldr	x8, [x19, #8]
Lloh42:
	adrp	x9, _PS_STATE_SLEEP@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PS_STATE_SLEEP@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.29:
	mov	x0, x19
	bl	_mwifiex_pcie_enable_host_int
LBB0_30:
	mov	w0, #0
LBB0_31:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIE_HOST_INT_STATUS,4,2       ; @PCIE_HOST_INT_STATUS
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read register failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"Write register failed\n"

	.comm	_PS_STATE_SLEEP,8,3             ; @PS_STATE_SLEEP
	.comm	_PS_STATE_AWAKE,8,3             ; @PS_STATE_AWAKE
	.comm	_HOST_INTR_DNLD_DONE,4,2        ; @HOST_INTR_DNLD_DONE
	.comm	_INTR,4,2                       ; @INTR
l_.str.2:                               ; @.str.2
	.asciz	"info: TX DNLD Done\n"

	.comm	_HOST_INTR_UPLD_RDY,4,2         ; @HOST_INTR_UPLD_RDY
l_.str.3:                               ; @.str.3
	.asciz	"info: Rx DATA\n"

	.comm	_HOST_INTR_EVENT_RDY,4,2        ; @HOST_INTR_EVENT_RDY
l_.str.4:                               ; @.str.4
	.asciz	"info: Rx EVENT\n"

	.comm	_HOST_INTR_CMD_DONE,4,2         ; @HOST_INTR_CMD_DONE
l_.str.5:                               ; @.str.5
	.asciz	"info: CMD sent Interrupt\n"

l_.str.6:                               ; @.str.6
	.asciz	"info: cmd_sent=%d data_sent=%d\n"

	.no_dead_strip	_mwifiex_process_int_status
.subsections_via_symbols
