	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_noise_cb
_wlc_phy_noise_cb:                      ## @wlc_phy_noise_cb
	.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
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	_PHY_NOISE_STATE_MON@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_5
## %bb.2:
	cmpq	%rsi, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	movq	8(%rax), %rax
	movl	%edx, (%rax,%rdi,4)
	movq	_MA_WINDOW_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MODINC
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	(%r14), %ecx
	movl	(%rbx), %eax
LBB0_4:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_5:
	movq	_PHY_NOISE_STATE_EXTERNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_NOISE_STATE_MON,4,2        ## @PHY_NOISE_STATE_MON
	.comm	_MA_WINDOW_SZ,4,2               ## @MA_WINDOW_SZ
	.comm	_PHY_NOISE_STATE_EXTERNAL,4,2   ## @PHY_NOISE_STATE_EXTERNAL
	.no_dead_strip	_wlc_phy_noise_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_noise_cb
_wlc_phy_noise_cb:                      ; @wlc_phy_noise_cb
	.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	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _PHY_NOISE_STATE_MON@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PHY_NOISE_STATE_MON@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	x10, [x19, #8]
	cmp	x10, x1
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	ldp	x0, x9, [x8]
	str	w2, [x9, x0, lsl #2]
Lloh2:
	adrp	x8, _MA_WINDOW_SZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MA_WINDOW_SZ@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_MODINC
	ldr	x8, [x19, #16]
	str	x0, [x8]
	ldr	w9, [x20]
	ldr	w8, [x19]
LBB0_4:
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_5:
Lloh5:
	adrp	x9, _PHY_NOISE_STATE_EXTERNAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PHY_NOISE_STATE_EXTERNAL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	bic	w8, w8, w9
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_NOISE_STATE_MON,4,2        ; @PHY_NOISE_STATE_MON
	.comm	_MA_WINDOW_SZ,4,2               ; @MA_WINDOW_SZ
	.comm	_PHY_NOISE_STATE_EXTERNAL,4,2   ; @PHY_NOISE_STATE_EXTERNAL
	.no_dead_strip	_wlc_phy_noise_cb
.subsections_via_symbols
