	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8192e2ant_switch_ss_type
_btc8192e2ant_switch_ss_type:           ## @btc8192e2ant_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %r9
	callq	_RT_TRACE
	movq	_coex_dm@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rbx, (%rax)
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	cmpq	%rbx, 8(%rax)
	je	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_btc8192e2ant_set_switch_ss_type
	movq	(%r12), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rax)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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], %s Switch SS Type = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"force to"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_coex_dm,8,3                    ## @coex_dm
	.no_dead_strip	_btc8192e2ant_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_switch_ss_type
_btc8192e2ant_switch_ss_type:           ; @btc8192e2ant_switch_ss_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x4, x9, x8, eq
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	mov	x5, x19
	bl	_RT_TRACE
Lloh12:
	adrp	x22, _coex_dm@GOTPAGE
Lloh13:
	ldr	x22, [x22, _coex_dm@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x19, [x8]
	cbnz	w21, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, x19
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_btc8192e2ant_set_switch_ss_type
	ldr	x8, [x22]
	ldr	x9, [x8]
	str	x9, [x8, #8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.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], %s Switch SS Type = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"force to"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_coex_dm,8,3                    ; @coex_dm
	.no_dead_strip	_btc8192e2ant_switch_ss_type
.subsections_via_symbols
