	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_sdio_irq_disable
_ath10k_sdio_irq_disable:               ## @ath10k_sdio_irq_disable
	.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, %r15
	callq	_ath10k_sdio_priv
	movq	%rax, %r14
	movq	24(%rax), %rbx
	movl	$4, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	leaq	16(%r14), %r13
	movq	%r13, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r12), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_skb_put
	movq	%r13, %rdi
	callq	_mutex_unlock
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_completion
	movq	_MBOX_INT_STATUS_ENABLE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ath10k_sdio_prep_async_req
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movl	8(%r14), %edi
	movq	%r14, %rsi
	addq	$4, %rsi
	callq	_queue_work
	movq	_SDIO_IRQ_DISABLE_TIMEOUT_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_wait_for_completion_timeout
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_4:
	movl	(%r14), %edi
	callq	_sdio_claim_host
	movl	(%r14), %edi
	callq	_sdio_release_irq
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_6:
	movl	(%r14), %edi
	callq	_sdio_release_host
LBB0_7:
	movq	%r12, %rdi
	callq	_kfree_skb
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBOX_INT_STATUS_ENABLE_ADDRESS,4,2 ## @MBOX_INT_STATUS_ENABLE_ADDRESS
	.comm	_SDIO_IRQ_DISABLE_TIMEOUT_HZ,4,2 ## @SDIO_IRQ_DISABLE_TIMEOUT_HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sdio irq disable request timed out\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to release sdio interrupt: %d\n"

	.no_dead_strip	_ath10k_sdio_irq_disable
.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_disable
_ath10k_sdio_irq_disable:               ; @ath10k_sdio_irq_disable
	.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
	mov	x21, x0
	bl	_ath10k_sdio_priv
	mov	x19, x0
	ldr	x22, [x0, #24]
	mov	w0, #4
	bl	_dev_alloc_skb
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	add	x23, x19, #16
	mov	x0, x23
	bl	_mutex_lock
	mov	x0, x22
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x20]
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	mov	x0, x20
	mov	w1, #4
	bl	_skb_put
	mov	x0, x23
	bl	_mutex_unlock
	add	x0, sp, #8
	bl	_init_completion
Lloh0:
	adrp	x8, _MBOX_INT_STATUS_ENABLE_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBOX_INT_STATUS_ENABLE_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x20
	mov	w4, #0
	mov	w5, #0
	bl	_ath10k_sdio_prep_async_req
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x19, #8]
	add	x1, x19, #4
	bl	_queue_work
Lloh3:
	adrp	x8, _SDIO_IRQ_DISABLE_TIMEOUT_HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDIO_IRQ_DISABLE_TIMEOUT_HZ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_wait_for_completion_timeout
	cbnz	w0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ath10k_warn
LBB0_4:
	ldr	w0, [x19]
	bl	_sdio_claim_host
	ldr	w0, [x19]
	bl	_sdio_release_irq
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_6
; %bb.5:
	str	x0, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_ath10k_warn
LBB0_6:
	ldr	w0, [x19]
	bl	_sdio_release_host
LBB0_7:
	mov	x0, x20
	bl	_kfree_skb
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MBOX_INT_STATUS_ENABLE_ADDRESS,4,2 ; @MBOX_INT_STATUS_ENABLE_ADDRESS
	.comm	_SDIO_IRQ_DISABLE_TIMEOUT_HZ,4,2 ; @SDIO_IRQ_DISABLE_TIMEOUT_HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sdio irq disable request timed out\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to release sdio interrupt: %d\n"

	.no_dead_strip	_ath10k_sdio_irq_disable
.subsections_via_symbols
