	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_bt_coex_reduced_txp
_iwl_mvm_bt_coex_reduced_txp:           ## @iwl_mvm_bt_coex_reduced_txp
	.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
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	callq	_iwl_mvm_sta_from_staid_protected
	movq	%rax, %rbx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	cmpl	%r14d, (%rbx)
	je	LBB0_6
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	movq	_BT_REDUCED_TX_POWER_BIT@GOTPCREL(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	movl	(%rax), %r13d
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdx
	movl	%r14d, %r13d
LBB0_5:
	orl	4(%rbx), %r13d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %ecx
	callq	_IWL_DEBUG_COEX
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movl	%eax, -48(%rbp)
	movl	%r14d, (%rbx)
	movq	_BT_COEX_UPDATE_REDUCED_TXP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	movl	$4, %ecx
	callq	_iwl_mvm_send_cmd_pdu
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_REDUCED_TX_POWER_BIT,4,2    ## @BT_REDUCED_TX_POWER_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%sable reduced Tx Power for sta %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"en"

L_.str.2:                               ## @.str.2
	.asciz	"dis"

	.comm	_BT_COEX_UPDATE_REDUCED_TXP,4,2 ## @BT_COEX_UPDATE_REDUCED_TXP
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
	.no_dead_strip	_iwl_mvm_bt_coex_reduced_txp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_bt_coex_reduced_txp
_iwl_mvm_bt_coex_reduced_txp:           ; @iwl_mvm_bt_coex_reduced_txp
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_iwl_mvm_sta_from_staid_protected
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	w8, [x21, #4]
Lloh0:
	adrp	x9, _BT_REDUCED_TX_POWER_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BT_REDUCED_TX_POWER_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, l_.str.1@PAGE
Lloh4:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh5:
	adrp	x11, l_.str.2@PAGE
Lloh6:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	w9, wzr, w9, eq
	csel	x2, x11, x10, eq
	orr	w23, w9, w8
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	bl	_IWL_DEBUG_COEX
	mov	x0, x23
	bl	_cpu_to_le32
	str	w0, [sp, #8]
	str	w20, [x21]
Lloh9:
	adrp	x8, _BT_COEX_UPDATE_REDUCED_TXP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BT_COEX_UPDATE_REDUCED_TXP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CMD_ASYNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CMD_ASYNC@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #4
	bl	_iwl_mvm_send_cmd_pdu
LBB0_4:
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_REDUCED_TX_POWER_BIT,4,2    ; @BT_REDUCED_TX_POWER_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%sable reduced Tx Power for sta %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"en"

l_.str.2:                               ; @.str.2
	.asciz	"dis"

	.comm	_BT_COEX_UPDATE_REDUCED_TXP,4,2 ; @BT_COEX_UPDATE_REDUCED_TXP
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
	.no_dead_strip	_iwl_mvm_bt_coex_reduced_txp
.subsections_via_symbols
