	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_coex_scan_notify           ## -- Begin function rtw_coex_scan_notify
	.p2align	4, 0x90
_rtw_coex_scan_notify:                  ## @rtw_coex_scan_notify
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, (%rdi)
	movq	_COEX_SCAN_FINISH@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_COEX_SCBD_ACTIVE@GOTPCREL(%rip), %rax
	movq	_COEX_SCBD_SCAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_COEX_SCBD_ONOFF@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rtw_coex_write_scbd
LBB0_3:
	movq	_COEX_SCAN_START_5G@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_COEX_SET_ANT_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rtw_coex_set_ant_path
	movq	_COEX_RSN_5GSCANSTART@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_COEX_SCAN_START_2G@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_7
## %bb.6:
	movq	_COEX_SCAN_START@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_7
## %bb.8:
	movl	$0, 16(%rbx)
	movq	_COEX_RSN_SCANFINISH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movl	$1, 16(%rbx)
	movq	_COEX_SET_ANT_2G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rtw_coex_set_ant_path
	movq	_COEX_RSN_2GSCANSTART@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtw_coex_run_coex              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_SCAN_FINISH,8,3           ## @COEX_SCAN_FINISH
	.comm	_COEX_SCBD_ACTIVE,4,2           ## @COEX_SCBD_ACTIVE
	.comm	_COEX_SCBD_SCAN,4,2             ## @COEX_SCBD_SCAN
	.comm	_COEX_SCBD_ONOFF,4,2            ## @COEX_SCBD_ONOFF
	.comm	_COEX_SCAN_START_5G,8,3         ## @COEX_SCAN_START_5G
	.comm	_COEX_SET_ANT_5G,4,2            ## @COEX_SET_ANT_5G
	.comm	_COEX_RSN_5GSCANSTART,4,2       ## @COEX_RSN_5GSCANSTART
	.comm	_COEX_SCAN_START_2G,8,3         ## @COEX_SCAN_START_2G
	.comm	_COEX_SCAN_START,8,3            ## @COEX_SCAN_START
	.comm	_COEX_SET_ANT_2G,4,2            ## @COEX_SET_ANT_2G
	.comm	_COEX_RSN_2GSCANSTART,4,2       ## @COEX_RSN_2GSCANSTART
	.comm	_COEX_RSN_SCANFINISH,4,2        ## @COEX_RSN_SCANFINISH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_coex_scan_notify           ; -- Begin function rtw_coex_scan_notify
	.p2align	2
_rtw_coex_scan_notify:                  ; @rtw_coex_scan_notify
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	str	wzr, [x0]
Lloh0:
	adrp	x8, _COEX_SCAN_FINISH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COEX_SCAN_FINISH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _COEX_SCBD_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COEX_SCBD_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _COEX_SCBD_SCAN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COEX_SCBD_SCAN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _COEX_SCBD_ONOFF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _COEX_SCBD_ONOFF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	mov	w2, #1
	bl	_rtw_coex_write_scbd
LBB0_4:
Lloh12:
	adrp	x8, _COEX_SCAN_START_5G@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COEX_SCAN_START_5G@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _COEX_SET_ANT_5G@GOTPAGE
Lloh16:
	ldr	x8, [x8, _COEX_SET_ANT_5G@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_rtw_coex_set_ant_path
Lloh18:
	adrp	x8, _COEX_RSN_5GSCANSTART@GOTPAGE
Lloh19:
	ldr	x8, [x8, _COEX_RSN_5GSCANSTART@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh20:
	adrp	x8, _COEX_SCAN_START_2G@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COEX_SCAN_START_2G@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _COEX_SCAN_START@GOTPAGE
Lloh24:
	ldr	x9, [x9, _COEX_SCAN_START@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x20
	ccmp	x9, x20, #4, ne
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #16]
Lloh26:
	adrp	x8, _COEX_SET_ANT_2G@GOTPAGE
Lloh27:
	ldr	x8, [x8, _COEX_SET_ANT_2G@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_rtw_coex_set_ant_path
Lloh29:
	adrp	x8, _COEX_RSN_2GSCANSTART@GOTPAGE
Lloh30:
	ldr	x8, [x8, _COEX_RSN_2GSCANSTART@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	str	wzr, [x19, #16]
Lloh31:
	adrp	x8, _COEX_RSN_SCANFINISH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _COEX_RSN_SCANFINISH@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtw_coex_run_coex
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_SCAN_FINISH,8,3           ; @COEX_SCAN_FINISH
	.comm	_COEX_SCBD_ACTIVE,4,2           ; @COEX_SCBD_ACTIVE
	.comm	_COEX_SCBD_SCAN,4,2             ; @COEX_SCBD_SCAN
	.comm	_COEX_SCBD_ONOFF,4,2            ; @COEX_SCBD_ONOFF
	.comm	_COEX_SCAN_START_5G,8,3         ; @COEX_SCAN_START_5G
	.comm	_COEX_SET_ANT_5G,4,2            ; @COEX_SET_ANT_5G
	.comm	_COEX_RSN_5GSCANSTART,4,2       ; @COEX_RSN_5GSCANSTART
	.comm	_COEX_SCAN_START_2G,8,3         ; @COEX_SCAN_START_2G
	.comm	_COEX_SCAN_START,8,3            ; @COEX_SCAN_START
	.comm	_COEX_SET_ANT_2G,4,2            ; @COEX_SET_ANT_2G
	.comm	_COEX_RSN_2GSCANSTART,4,2       ; @COEX_RSN_2GSCANSTART
	.comm	_COEX_RSN_SCANFINISH,4,2        ; @COEX_RSN_SCANFINISH
.subsections_via_symbols
