	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_mci_set_full_sleep      ## -- Begin function ar9003_mci_set_full_sleep
	.p2align	4, 0x90
_ar9003_mci_set_full_sleep:             ## @ar9003_mci_set_full_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MCI_STATE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ar9003_mci_state
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	_MCI_BT_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	cmpl	$0, 12(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_ar9003_mci_send_coex_halt_bt_gpm
LBB0_4:
	movl	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_STATE_ENABLE,4,2           ## @MCI_STATE_ENABLE
	.comm	_MCI_BT_SLEEP,8,3               ## @MCI_BT_SLEEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_mci_set_full_sleep      ; -- Begin function ar9003_mci_set_full_sleep
	.p2align	2
_ar9003_mci_set_full_sleep:             ; @ar9003_mci_set_full_sleep
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MCI_STATE_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCI_STATE_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ar9003_mci_state
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MCI_BT_SLEEP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MCI_BT_SLEEP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_ar9003_mci_send_coex_halt_bt_gpm
LBB0_4:
	str	wzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_STATE_ENABLE,4,2           ; @MCI_STATE_ENABLE
	.comm	_MCI_BT_SLEEP,8,3               ; @MCI_BT_SLEEP
.subsections_via_symbols
