	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_sdio_irq_handler
_ath10k_sdio_irq_handler:               ## @ath10k_sdio_irq_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_sdio_get_drvdata
	movq	8(%rax), %r15
	movl	$0, -44(%rbp)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_sdio_release_host
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	_ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	addq	(%r14), %r12
	leaq	-44(%rbp), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ath10k_sdio_mbox_proc_pending_irqs
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -44(%rbp)
	je	LBB0_1
LBB0_4:
	movq	%r15, %rdi
	callq	_ath10k_mac_tx_push_pending
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sdio_claim_host
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ath10k_mac_tx_push_pending
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sdio_claim_host
	movq	_ECANCELED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_ath10k_warn
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ,8,3 ## @ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ
	.comm	_ECANCELED,4,2                  ## @ECANCELED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to process pending SDIO interrupts: %d\n"

	.no_dead_strip	_ath10k_sdio_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_sdio_irq_handler
_ath10k_sdio_irq_handler:               ; @ath10k_sdio_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_sdio_get_drvdata
	mov	x20, x0
	ldr	x19, [x0, #8]
	str	wzr, [sp, #12]
	ldr	w0, [x0]
	bl	_sdio_release_host
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x21, x9, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_ath10k_sdio_mbox_proc_pending_irqs
	cbnz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	bl	_time_before
	ldr	w8, [sp, #12]
	cmp	x0, #0
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_ath10k_mac_tx_push_pending
	ldr	w0, [x20]
	bl	_sdio_claim_host
	b	LBB0_6
LBB0_4:
	mov	x22, x0
	mov	x0, x19
	bl	_ath10k_mac_tx_push_pending
	ldr	w0, [x20]
	bl	_sdio_claim_host
Lloh5:
	adrp	x8, _ECANCELED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ECANCELED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w22, w8
	b.eq	LBB0_6
; %bb.5:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_ath10k_warn
LBB0_6:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ,8,3 ; @ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ
	.comm	_ECANCELED,4,2                  ; @ECANCELED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to process pending SDIO interrupts: %d\n"

	.no_dead_strip	_ath10k_sdio_irq_handler
.subsections_via_symbols
