	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_wl_ccklock_action
_rtw_coex_wl_ccklock_action:            ## @rtw_coex_wl_ccklock_action
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_COEX_H2C69_WL_LEAKAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -48(%rbp)
	movl	12(%rdi), %eax
	cmpl	$3, 8(%rdi)
	jne	LBB0_4
## %bb.2:
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movq	_PARA1_H2C69_DIS_5MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-44(%rbp), %rdx
	movl	%eax, -44(%rbp)
	movq	%rbx, %rdi
	callq	_rtw_fw_bt_wifi_control
	movl	$0, 12(%rbx)
	movq	16(%rbx), %rax
	movq	_COEX_CNT_WL_5MS_NOEXTEND@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, (%rax,%rcx,4)
	jmp	LBB0_13
LBB0_4:
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	cmpq	$0, 48(%rbx)
	je	LBB0_13
## %bb.6:
	cmpl	$0, 40(%rbx)
	jne	LBB0_13
## %bb.7:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	cmpl	$6, 28(%rcx)
	movq	_COEX_CNT_WL_5MS_NOEXTEND@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	jge	LBB0_8
## %bb.9:
	movl	(%rax,%rcx,4), %edx
	incl	%edx
	movl	%edx, (%rax,%rcx,4)
	cmpl	$7, %edx
	jne	LBB0_13
## %bb.10:
	leaq	-44(%rbp), %rdx
	movl	$1, -44(%rbp)
	movl	-48(%rbp), %esi
	movq	%rbx, %rdi
	callq	_rtw_fw_bt_wifi_control
	movl	$0, 12(%rbx)
	movq	16(%rbx), %rax
	movq	(%r14), %rcx
	movl	$0, (%rax,%rcx,4)
	jmp	LBB0_13
LBB0_11:
	cmpq	$0, 32(%rbx)
	je	LBB0_13
## %bb.12:
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_rtw_fw_bt_wifi_control
	movl	$1, 12(%rbx)
	jmp	LBB0_13
LBB0_8:
	movl	$0, (%rax,%rcx,4)
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_H2C69_WL_LEAKAP,4,2       ## @COEX_H2C69_WL_LEAKAP
	.comm	_PARA1_H2C69_DIS_5MS,4,2        ## @PARA1_H2C69_DIS_5MS
	.comm	_COEX_CNT_WL_5MS_NOEXTEND,8,3   ## @COEX_CNT_WL_5MS_NOEXTEND
	.no_dead_strip	_rtw_coex_wl_ccklock_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_wl_ccklock_action
_rtw_coex_wl_ccklock_action:            ; @rtw_coex_wl_ccklock_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stur	xzr, [sp, #12]
	stur	xzr, [sp, #4]
	str	wzr, [sp, #20]
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_1:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	mov	x19, x0
	mov	x8, sp
Lloh6:
	adrp	x9, _COEX_H2C69_WL_LEAKAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COEX_H2C69_WL_LEAKAP@GOTPAGEOFF]
	add	x2, x8, #4
Lloh8:
	ldr	w1, [x9]
	str	w1, [sp]
	ldp	w9, w8, [x0, #8]
	cmp	w9, #3
	b.ne	LBB0_6
; %bb.4:
	cbz	w8, LBB0_12
; %bb.5:
Lloh9:
	adrp	x8, _PARA1_H2C69_DIS_5MS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PARA1_H2C69_DIS_5MS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	mov	x0, x19
	bl	_rtw_fw_bt_wifi_control
	str	wzr, [x19, #12]
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _COEX_CNT_WL_5MS_NOEXTEND@GOTPAGE
Lloh13:
	ldr	x9, [x9, _COEX_CNT_WL_5MS_NOEXTEND@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	wzr, [x8, x9, lsl #2]
	b	LBB0_1
LBB0_6:
	cbz	w8, LBB0_12
; %bb.7:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_1
; %bb.8:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_1
; %bb.9:
	ldp	x8, x9, [x19, #16]
	ldr	w10, [x9, #28]
Lloh15:
	adrp	x20, _COEX_CNT_WL_5MS_NOEXTEND@GOTPAGE
Lloh16:
	ldr	x20, [x20, _COEX_CNT_WL_5MS_NOEXTEND@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	w10, #6
	b.ge	LBB0_14
; %bb.10:
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	cmp	w10, #7
	b.ne	LBB0_1
; %bb.11:
	mov	w8, #1
	str	w8, [sp, #4]
	ldr	w1, [sp]
	mov	x0, x19
	bl	_rtw_fw_bt_wifi_control
	str	wzr, [x19, #12]
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	str	wzr, [x8, x9, lsl #2]
	b	LBB0_1
LBB0_12:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_1
; %bb.13:
	mov	x0, x19
	bl	_rtw_fw_bt_wifi_control
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_1
LBB0_14:
	str	wzr, [x8, x9, lsl #2]
	b	LBB0_1
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_H2C69_WL_LEAKAP,4,2       ; @COEX_H2C69_WL_LEAKAP
	.comm	_PARA1_H2C69_DIS_5MS,4,2        ; @PARA1_H2C69_DIS_5MS
	.comm	_COEX_CNT_WL_5MS_NOEXTEND,8,3   ; @COEX_CNT_WL_5MS_NOEXTEND
	.no_dead_strip	_rtw_coex_wl_ccklock_action
.subsections_via_symbols
