	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_sdio_hif_set_mbox_sleep
_ath10k_sdio_hif_set_mbox_sleep:        ## @ath10k_sdio_hif_set_mbox_sleep
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %rdx
	callq	_ath10k_sdio_read32
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %edx
	andl	(%rax), %edx
	jmp	LBB0_5
LBB0_4:
	movq	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %edx
	orl	(%rax), %edx
LBB0_5:
	movl	%edx, -36(%rbp)
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_ath10k_sdio_write32
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ath10k_warn
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL,4,2 ## @ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to read fifo/chip control register: %d\n"

	.comm	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF,4,2 ## @ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF
	.comm	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON,4,2 ## @ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON
L_.str.1:                               ## @.str.1
	.asciz	"failed to write to FIFO_TIMEOUT_AND_CHIP_CONTROL: %d"

	.no_dead_strip	_ath10k_sdio_hif_set_mbox_sleep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_sdio_hif_set_mbox_sleep
_ath10k_sdio_hif_set_mbox_sleep:        ; @ath10k_sdio_hif_set_mbox_sleep
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	bl	_ath10k_sdio_read32
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	and	w2, w9, w8
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
LBB0_5:
	str	w2, [sp, #12]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ath10k_sdio_write32
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.6:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	mov	x2, x20
	bl	_ath10k_warn
LBB0_8:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL,4,2 ; @ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to read fifo/chip control register: %d\n"

	.comm	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF,4,2 ; @ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_OFF
	.comm	_ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON,4,2 ; @ATH10K_FIFO_TIMEOUT_AND_CHIP_CONTROL_DISABLE_SLEEP_ON
l_.str.1:                               ; @.str.1
	.asciz	"failed to write to FIFO_TIMEOUT_AND_CHIP_CONTROL: %d"

	.no_dead_strip	_ath10k_sdio_hif_set_mbox_sleep
.subsections_via_symbols
