	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_sdio_mbox_proc_pending_irqs
_ath10k_sdio_mbox_proc_pending_irqs:    ## @ath10k_sdio_mbox_proc_pending_irqs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-28(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	callq	_ath10k_sdio_mbox_read_int_status
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	$1, (%r14)
	jmp	LBB0_14
LBB0_2:
	movl	-28(%rbp), %ecx
	movq	-40(%rbp), %rax
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	$1, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_5:
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_ATH10K_DBG_SDIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ath10k_sdio_mbox_rxmsg_pending_handler
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	movl	-28(%rbp), %ecx
LBB0_8:
	movq	_ATH10K_DBG_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movq	_MBOX_HOST_INT_STATUS_CPU_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-28(%rbp), %esi
	callq	_FIELD_GET
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_ath10k_sdio_mbox_proc_cpu_intr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
LBB0_10:
	movq	_MBOX_HOST_INT_STATUS_ERROR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-28(%rbp), %esi
	callq	_FIELD_GET
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_ath10k_sdio_mbox_proc_err_intr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
LBB0_12:
	movq	_MBOX_HOST_INT_STATUS_COUNTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-28(%rbp), %esi
	callq	_FIELD_GET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_ath10k_sdio_mbox_proc_counter_intr
LBB0_14:
	movq	_ATH10K_DBG_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_ath10k_dbg
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_SDIO,4,2            ## @ATH10K_DBG_SDIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdio pending mailbox msg lookahead 0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"sdio host_int_status 0x%x\n"

	.comm	_MBOX_HOST_INT_STATUS_CPU_MASK,4,2 ## @MBOX_HOST_INT_STATUS_CPU_MASK
	.comm	_MBOX_HOST_INT_STATUS_ERROR_MASK,4,2 ## @MBOX_HOST_INT_STATUS_ERROR_MASK
	.comm	_MBOX_HOST_INT_STATUS_COUNTER_MASK,4,2 ## @MBOX_HOST_INT_STATUS_COUNTER_MASK
L_.str.2:                               ## @.str.2
	.asciz	"sdio pending irqs done %d status %d"

	.no_dead_strip	_ath10k_sdio_mbox_proc_pending_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_sdio_mbox_proc_pending_irqs
_ath10k_sdio_mbox_proc_pending_irqs:    ; @ath10k_sdio_mbox_proc_pending_irqs
	.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	x20, x1
	mov	x19, x0
	add	x1, sp, #28
	add	x2, sp, #16
	bl	_ath10k_sdio_mbox_read_int_status
Lloh0:
	adrp	x22, _ATH10K_DBG_SDIO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATH10K_DBG_SDIO@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	b	LBB0_14
LBB0_2:
	ldr	w3, [sp, #28]
	ldr	x8, [sp, #16]
	cmp	w3, #0
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_13
; %bb.3:
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w1, [x22]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x8
	bl	_ath10k_dbg
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_sdio_mbox_rxmsg_pending_handler
	mov	x21, x0
	cbnz	w0, LBB0_15
; %bb.5:
	ldr	w3, [sp, #28]
LBB0_6:
	ldr	w1, [x22]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
Lloh6:
	adrp	x8, _MBOX_HOST_INT_STATUS_CPU_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBOX_HOST_INT_STATUS_CPU_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [sp, #28]
	bl	_FIELD_GET
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_ath10k_sdio_mbox_proc_cpu_intr
	mov	x21, x0
	cbnz	w0, LBB0_15
LBB0_8:
Lloh9:
	adrp	x8, _MBOX_HOST_INT_STATUS_ERROR_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBOX_HOST_INT_STATUS_ERROR_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [sp, #28]
	bl	_FIELD_GET
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ath10k_sdio_mbox_proc_err_intr
	mov	x21, x0
	cbnz	w0, LBB0_15
LBB0_10:
Lloh12:
	adrp	x8, _MBOX_HOST_INT_STATUS_COUNTER_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MBOX_HOST_INT_STATUS_COUNTER_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [sp, #28]
	bl	_FIELD_GET
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_ath10k_sdio_mbox_proc_counter_intr
LBB0_12:
	mov	w21, #0
	b	LBB0_15
LBB0_13:
	mov	w21, #0
LBB0_14:
	mov	w8, #1
	str	w8, [x20]
LBB0_15:
	ldr	w1, [x22]
	ldr	w3, [x20]
	str	x21, [sp]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	mov	x0, x21
	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	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_SDIO,4,2            ; @ATH10K_DBG_SDIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdio pending mailbox msg lookahead 0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"sdio host_int_status 0x%x\n"

	.comm	_MBOX_HOST_INT_STATUS_CPU_MASK,4,2 ; @MBOX_HOST_INT_STATUS_CPU_MASK
	.comm	_MBOX_HOST_INT_STATUS_ERROR_MASK,4,2 ; @MBOX_HOST_INT_STATUS_ERROR_MASK
	.comm	_MBOX_HOST_INT_STATUS_COUNTER_MASK,4,2 ; @MBOX_HOST_INT_STATUS_COUNTER_MASK
l_.str.2:                               ; @.str.2
	.asciz	"sdio pending irqs done %d status %d"

	.no_dead_strip	_ath10k_sdio_mbox_proc_pending_irqs
.subsections_via_symbols
