	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8192e2ant_set_switch_ss_type
_btc8192e2ant_set_switch_ss_type:       ## @btc8192e2ant_set_switch_ss_type
	.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, %r14d
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	movq	_BTC_MIMO_PS_DYNAMIC@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, -36(%rbp)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %r8d
	callq	_RT_TRACE
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_btc8192e2ant_decide_ra_mask
	movq	_FORCE_EXEC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_btc8192e2ant_update_ra_mask
	cmpl	$2, %r14d
	je	LBB0_3
## %bb.1:
	cmpl	$1, %r14d
	jne	LBB0_5
## %bb.2:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_btc8192e2ant_ps_tdma
	movq	%rbx, %rdi
	movl	$3076, %esi                     ## imm = 0xC04
	movl	$17, %edx
	callq	*8(%rbx)
	movq	%rbx, %rdi
	movl	$3332, %esi                     ## imm = 0xD04
	movl	$1, %edx
	callq	*8(%rbx)
	movq	%rbx, %rdi
	movl	$2316, %esi                     ## imm = 0x90C
	movl	$-2129587951, %edx              ## imm = 0x81111111
	callq	*24(%rbx)
	movq	%rbx, %rdi
	movl	$3703, %esi                     ## imm = 0xE77
	movl	$4, %edx
	movl	$1, %ecx
	callq	*16(%rbx)
	movq	%rbx, %rdi
	movl	$2567, %esi                     ## imm = 0xA07
	movl	$129, %edx
	callq	*8(%rbx)
	movq	_BTC_MIMO_PS_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_btc8192e2ant_ps_tdma
	movq	%rbx, %rdi
	movl	$3076, %esi                     ## imm = 0xC04
	movl	$51, %edx
	callq	*8(%rbx)
	movq	%rbx, %rdi
	movl	$3332, %esi                     ## imm = 0xD04
	movl	$3, %edx
	callq	*8(%rbx)
	movq	%rbx, %rdi
	movl	$2316, %esi                     ## imm = 0x90C
	movl	$-2129521901, %edx              ## imm = 0x81121313
	callq	*24(%rbx)
	movq	%rbx, %rdi
	movl	$3703, %esi                     ## imm = 0xE77
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	*16(%rbx)
	movq	%rbx, %rdi
	movl	$2567, %esi                     ## imm = 0xA07
	movl	$65, %edx
	callq	*8(%rbx)
	movl	(%r15), %eax
LBB0_4:
	movl	%eax, -36(%rbp)
LBB0_5:
	movq	_BTC_SET_ACT_SEND_MIMO_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_MIMO_PS_DYNAMIC,4,2        ## @BTC_MIMO_PS_DYNAMIC
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[BTCoex], REAL set SS Type = %d\n"

	.comm	_coex_dm,8,3                    ## @coex_dm
	.comm	_FORCE_EXEC,4,2                 ## @FORCE_EXEC
	.comm	_BTC_MIMO_PS_STATIC,4,2         ## @BTC_MIMO_PS_STATIC
	.comm	_BTC_SET_ACT_SEND_MIMO_PS,4,2   ## @BTC_SET_ACT_SEND_MIMO_PS
	.no_dead_strip	_btc8192e2ant_set_switch_ss_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8192e2ant_set_switch_ss_type
_btc8192e2ant_set_switch_ss_type:       ; @btc8192e2ant_set_switch_ss_type
	.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	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #32]
Lloh0:
	adrp	x21, _BTC_MIMO_PS_DYNAMIC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BTC_MIMO_PS_DYNAMIC@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [sp, #12]
Lloh2:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x20
	bl	_RT_TRACE
Lloh10:
	adrp	x8, _coex_dm@GOTPAGE
Lloh11:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_btc8192e2ant_decide_ra_mask
	mov	x2, x0
Lloh13:
	adrp	x22, _FORCE_EXEC@GOTPAGE
Lloh14:
	ldr	x22, [x22, _FORCE_EXEC@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_btc8192e2ant_update_ra_mask
	cmp	w20, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #1
	bl	_btc8192e2ant_ps_tdma
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #3076
	mov	w2, #17
	blr	x8
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #3332
	mov	w2, #1
	blr	x8
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	w1, #2316
	mov	w2, #4369
	movk	w2, #33041, lsl #16
	blr	x8
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	w1, #3703
	mov	w2, #4
	mov	w3, #1
	blr	x8
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #2567
	mov	w2, #129
	blr	x8
Lloh15:
	adrp	x8, _BTC_MIMO_PS_STATIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BTC_MIMO_PS_STATIC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	b	LBB0_4
LBB0_3:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_btc8192e2ant_ps_tdma
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #3076
	mov	w2, #51
	blr	x8
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #3332
	mov	w2, #3
	blr	x8
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	w1, #2316
	mov	w2, #4883
	movk	w2, #33042, lsl #16
	blr	x8
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	w1, #3703
	mov	w2, #4
	mov	w3, #0
	blr	x8
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #2567
	mov	w2, #65
	blr	x8
	ldr	w8, [x21]
LBB0_4:
	str	w8, [sp, #12]
LBB0_5:
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _BTC_SET_ACT_SEND_MIMO_PS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BTC_SET_ACT_SEND_MIMO_PS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	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	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_MIMO_PS_DYNAMIC,4,2        ; @BTC_MIMO_PS_DYNAMIC
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[BTCoex], REAL set SS Type = %d\n"

	.comm	_coex_dm,8,3                    ; @coex_dm
	.comm	_FORCE_EXEC,4,2                 ; @FORCE_EXEC
	.comm	_BTC_MIMO_PS_STATIC,4,2         ; @BTC_MIMO_PS_STATIC
	.comm	_BTC_SET_ACT_SEND_MIMO_PS,4,2   ; @BTC_SET_ACT_SEND_MIMO_PS
	.no_dead_strip	_btc8192e2ant_set_switch_ss_type
.subsections_via_symbols
