	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_interrupt_status
_mwifiex_interrupt_status:              ## @mwifiex_interrupt_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	(%rbx), %rsi
	movq	8(%rbx), %rax
	movl	8(%rax), %edx
	movq	_REG_PORT@GOTPCREL(%rip), %rax
	movq	_MWIFIEX_SDIO_BYTE_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_mwifiex_read_data_sync
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_dbg                    ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r14d
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.4:
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	leaq	4(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	orl	%r14d, (%r12)
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PORT,4,2                   ## @REG_PORT
	.comm	_MWIFIEX_SDIO_BYTE_MODE_MASK,4,2 ## @MWIFIEX_SDIO_BYTE_MODE_MASK
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read mp_regs failed\n"

	.comm	_INTR,4,2                       ## @INTR
L_.str.1:                               ## @.str.1
	.asciz	"int: sdio_ireg = %#x\n"

	.no_dead_strip	_mwifiex_interrupt_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_interrupt_status
_mwifiex_interrupt_status:              ; @mwifiex_interrupt_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x20, [x0, #8]
	ldp	x1, x8, [x20]
Lloh0:
	adrp	x9, _REG_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_PORT@GOTPAGEOFF]
	ldr	w2, [x8, #8]
Lloh2:
	ldr	w8, [x9]
Lloh3:
	adrp	x9, _MWIFIEX_SDIO_BYTE_MODE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MWIFIEX_SDIO_BYTE_MODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	w4, #0
	bl	_mwifiex_read_data_sync
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_mwifiex_dbg
LBB0_2:
	ldp	x8, x9, [x20]
	ldr	x9, [x9]
	ldr	w21, [x8, x9, lsl #2]
	cbz	w21, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _INTR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INTR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
	orr	w8, w8, w21
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_spin_unlock_irqrestore
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PORT,4,2                   ; @REG_PORT
	.comm	_MWIFIEX_SDIO_BYTE_MODE_MASK,4,2 ; @MWIFIEX_SDIO_BYTE_MODE_MASK
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read mp_regs failed\n"

	.comm	_INTR,4,2                       ; @INTR
l_.str.1:                               ; @.str.1
	.asciz	"int: sdio_ireg = %#x\n"

	.no_dead_strip	_mwifiex_interrupt_status
.subsections_via_symbols
