	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_mci_mute_bt
_ar9003_mci_mute_bt:                    ## @ar9003_mci_mute_bt
	.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	_AR_MCI_MSG_ATTRIBUTES_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-65536, %edx                   ## imm = 0xFFFF0000
	callq	_REG_WRITE
	movq	_AR_BTCOEX_WL_WEIGHTS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_BTCOEX_WL_WEIGHTS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_BTCOEX_WL_WEIGHTS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_BTCOEX_WL_WEIGHTS3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_REG_WRITE
	movq	_AR_MCI_TX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_SET_BIT
	movl	$10, %edi
	callq	_udelay
	movq	%rbx, %rdi
	callq	_MCI_ANT_ARCH_PA_LNA_SHARED
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ar9003_mci_send_lna_take
	movl	$5, %edi
	callq	_udelay
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ar9003_mci_send_sys_sleeping   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_MCI_MSG_ATTRIBUTES_TABLE,4,2 ## @AR_MCI_MSG_ATTRIBUTES_TABLE
	.comm	_AR_BTCOEX_WL_WEIGHTS0,4,2      ## @AR_BTCOEX_WL_WEIGHTS0
	.comm	_AR_BTCOEX_WL_WEIGHTS1,4,2      ## @AR_BTCOEX_WL_WEIGHTS1
	.comm	_AR_BTCOEX_WL_WEIGHTS2,4,2      ## @AR_BTCOEX_WL_WEIGHTS2
	.comm	_AR_BTCOEX_WL_WEIGHTS3,4,2      ## @AR_BTCOEX_WL_WEIGHTS3
	.comm	_AR_MCI_TX_CTRL,4,2             ## @AR_MCI_TX_CTRL
	.comm	_AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE,4,2 ## @AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE
	.no_dead_strip	_ar9003_mci_mute_bt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_mci_mute_bt
_ar9003_mci_mute_bt:                    ; @ar9003_mci_mute_bt
	.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, _AR_MCI_MSG_ATTRIBUTES_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_MCI_MSG_ATTRIBUTES_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #-65536
	bl	_REG_WRITE
Lloh3:
	adrp	x8, _AR_BTCOEX_WL_WEIGHTS0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR_BTCOEX_WL_WEIGHTS0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh6:
	adrp	x8, _AR_BTCOEX_WL_WEIGHTS1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR_BTCOEX_WL_WEIGHTS1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh9:
	adrp	x8, _AR_BTCOEX_WL_WEIGHTS2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR_BTCOEX_WL_WEIGHTS2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh12:
	adrp	x8, _AR_BTCOEX_WL_WEIGHTS3@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR_BTCOEX_WL_WEIGHTS3@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
Lloh15:
	adrp	x8, _AR_MCI_TX_CTRL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR_MCI_TX_CTRL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_SET_BIT
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	bl	_MCI_ANT_ARCH_PA_LNA_SHARED
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_ar9003_mci_send_lna_take
	mov	w0, #5
	bl	_udelay
LBB0_2:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ar9003_mci_send_sys_sleeping
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_MCI_MSG_ATTRIBUTES_TABLE,4,2 ; @AR_MCI_MSG_ATTRIBUTES_TABLE
	.comm	_AR_BTCOEX_WL_WEIGHTS0,4,2      ; @AR_BTCOEX_WL_WEIGHTS0
	.comm	_AR_BTCOEX_WL_WEIGHTS1,4,2      ; @AR_BTCOEX_WL_WEIGHTS1
	.comm	_AR_BTCOEX_WL_WEIGHTS2,4,2      ; @AR_BTCOEX_WL_WEIGHTS2
	.comm	_AR_BTCOEX_WL_WEIGHTS3,4,2      ; @AR_BTCOEX_WL_WEIGHTS3
	.comm	_AR_MCI_TX_CTRL,4,2             ; @AR_MCI_TX_CTRL
	.comm	_AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE,4,2 ; @AR_MCI_TX_CTRL_DISABLE_LNA_UPDATE
	.no_dead_strip	_ar9003_mci_mute_bt
.subsections_via_symbols
