	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8192e2ant_periodical     ## -- Begin function ex_btc8192e2ant_periodical
	.p2align	4, 0x90
_ex_btc8192e2ant_periodical:            ## @ex_btc8192e2ant_periodical
	.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
	movq	%rdi, %rbx
	movq	48(%rdi), %r14
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	_ex_btc8192e2ant_periodical.dis_ver_info_cnt(%rip), %eax
	cmpl	$5, %eax
	jg	LBB0_2
## %bb.1:
	incl	%eax
	movl	%eax, _ex_btc8192e2ant_periodical.dis_ver_info_cnt(%rip)
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r12), %esi
	movl	(%r13), %edx
	movl	40(%rbx), %r8d
	movl	32(%rbx), %r10d
	movl	36(%rbx), %r9d
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	pushq	%r10
	callq	_RT_TRACE
	addq	$16, %rsp
	movl	(%r12), %esi
	movl	(%r13), %edx
	cmpq	$0, 24(%rbx)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %r8
	cmoveq	%rax, %r8
	movl	16(%rbx), %r9d
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BTC_GET_U4_BT_PATCH_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	_BTC_GET_U4_WIFI_FW_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_glcoex_ver_date_8192e_2ant@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_glcoex_ver_8192e_2ant@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-48(%rbp), %r10d
	movl	-44(%rbp), %r11d
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r11
	pushq	%r10
	callq	_RT_TRACE
	addq	$32, %rsp
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_2:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_btc8192e2ant_is_wifi_status_changed
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_btc8192e2ant_run_coexist_mechanism
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_btc8192e2ant_query_bt_info
	movq	%rbx, %rdi
	callq	_btc8192e2ant_monitor_bt_ctr
	movq	%rbx, %rdi
	callq	_btc8192e2ant_monitor_bt_enable_disable
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ex_btc8192e2ant_periodical.dis_ver_info_cnt,4,2 ## @ex_btc8192e2ant_periodical.dis_ver_info_cnt
	.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	"=======================Periodical=======================\n"

L_.str.1:                               ## @.str.1
	.asciz	"************************************************\n"

L_.str.2:                               ## @.str.2
	.asciz	"Ant PG Num/ Ant Mech/ Ant Pos = %d/ %d/ %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"BT stack/ hci ext ver = %s / %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Yes"

L_.str.5:                               ## @.str.5
	.asciz	"No"

	.comm	_BTC_GET_U4_BT_PATCH_VER,4,2    ## @BTC_GET_U4_BT_PATCH_VER
	.comm	_BTC_GET_U4_WIFI_FW_VER,4,2     ## @BTC_GET_U4_WIFI_FW_VER
L_.str.6:                               ## @.str.6
	.asciz	"CoexVer/ FwVer/ PatchVer = %d_%x/ 0x%x/ 0x%x(%d)\n"

	.comm	_glcoex_ver_date_8192e_2ant,4,2 ## @glcoex_ver_date_8192e_2ant
	.comm	_glcoex_ver_8192e_2ant,4,2      ## @glcoex_ver_8192e_2ant
	.comm	_coex_dm,8,3                    ## @coex_dm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8192e2ant_periodical     ; -- Begin function ex_btc8192e2ant_periodical
	.p2align	2
_ex_btc8192e2ant_periodical:            ; @ex_btc8192e2ant_periodical
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	ldr	x20, [x0, #48]
	str	xzr, [sp, #40]
Lloh0:
	adrp	x22, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x22, [x22, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	adrp	x8, _ex_btc8192e2ant_periodical.dis_ver_info_cnt@PAGE
	ldr	w9, [x8, _ex_btc8192e2ant_periodical.dis_ver_info_cnt@PAGEOFF]
	cmp	w9, #5
	b.gt	LBB0_2
; %bb.1:
	add	w9, w9, #1
	str	w9, [x8, _ex_btc8192e2ant_periodical.dis_ver_info_cnt@PAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	bl	_RT_TRACE
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldp	w9, w8, [x19, #36]
	ldr	w10, [x19, #32]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh8:
	adrp	x3, l_.str.2@PAGE
Lloh9:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh10:
	adrp	x8, l_.str.4@PAGE
Lloh11:
	add	x8, x8, l_.str.4@PAGEOFF
	ldr	x9, [x19, #24]
Lloh12:
	adrp	x10, l_.str.5@PAGE
Lloh13:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w9, [x19, #16]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x3, l_.str.3@PAGE
Lloh15:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, _BTC_GET_U4_BT_PATCH_VER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BTC_GET_U4_BT_PATCH_VER@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	add	x2, sp, #40
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
Lloh19:
	adrp	x9, _BTC_GET_U4_WIFI_FW_VER@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BTC_GET_U4_WIFI_FW_VER@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x9]
	add	x2, sp, #44
	mov	x0, x19
	blr	x8
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh22:
	adrp	x8, _glcoex_ver_date_8192e_2ant@GOTPAGE
Lloh23:
	ldr	x8, [x8, _glcoex_ver_date_8192e_2ant@GOTPAGEOFF]
Lloh24:
	adrp	x9, _glcoex_ver_8192e_2ant@GOTPAGE
Lloh25:
	ldr	x9, [x9, _glcoex_ver_8192e_2ant@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	ldr	w9, [x9]
	ldp	w11, w10, [sp, #40]
	stp	x11, x11, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh28:
	adrp	x3, l_.str.6@PAGE
Lloh29:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x3, x21
	bl	_RT_TRACE
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_btc8192e2ant_is_wifi_status_changed
	cbnz	x0, LBB0_5
; %bb.4:
Lloh30:
	adrp	x8, _coex_dm@GOTPAGE
Lloh31:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_btc8192e2ant_run_coexist_mechanism
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_btc8192e2ant_query_bt_info
	mov	x0, x19
	bl	_btc8192e2ant_monitor_bt_ctr
	mov	x0, x19
	bl	_btc8192e2ant_monitor_bt_enable_disable
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ex_btc8192e2ant_periodical.dis_ver_info_cnt,4,2 ; @ex_btc8192e2ant_periodical.dis_ver_info_cnt
	.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	"=======================Periodical=======================\n"

l_.str.1:                               ; @.str.1
	.asciz	"************************************************\n"

l_.str.2:                               ; @.str.2
	.asciz	"Ant PG Num/ Ant Mech/ Ant Pos = %d/ %d/ %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"BT stack/ hci ext ver = %s / %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Yes"

l_.str.5:                               ; @.str.5
	.asciz	"No"

	.comm	_BTC_GET_U4_BT_PATCH_VER,4,2    ; @BTC_GET_U4_BT_PATCH_VER
	.comm	_BTC_GET_U4_WIFI_FW_VER,4,2     ; @BTC_GET_U4_WIFI_FW_VER
l_.str.6:                               ; @.str.6
	.asciz	"CoexVer/ FwVer/ PatchVer = %d_%x/ 0x%x/ 0x%x(%d)\n"

	.comm	_glcoex_ver_date_8192e_2ant,4,2 ; @glcoex_ver_date_8192e_2ant
	.comm	_glcoex_ver_8192e_2ant,4,2      ; @glcoex_ver_8192e_2ant
	.comm	_coex_dm,8,3                    ; @coex_dm
.subsections_via_symbols
