	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_channel_state_to_snmp     ## -- Begin function wlan_channel_state_to_snmp
	.p2align	4, 0x90
_wlan_channel_state_to_snmp:            ## @wlan_channel_state_to_snmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE80211_CHANSTATE_RADAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%edi, %edx
	movq	_WlanIfaceChannelStateType_radar@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	movl	$1, %esi
	shll	%cl, %esi
	testl	%edx, %edx
	cmovel	%edx, %esi
	movq	_IEEE80211_CHANSTATE_CACDONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%edi, %edx
	movq	_WlanIfaceChannelStateType_cacDone@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	testl	%edx, %edx
	cmovel	%edx, %r8d
	orl	%esi, %r8d
	movq	_IEEE80211_CHANSTATE_CWINT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%edi, %edx
	movq	_WlanIfaceChannelStateType_interferenceDetected@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	testl	%edx, %edx
	cmovel	%edx, %esi
	movq	_IEEE80211_CHANSTATE_NORADAR@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	movq	_WlanIfaceChannelStateType_radarClear@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	testl	%edi, %edi
	cmovel	%edi, %eax
	orl	%esi, %eax
	orl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHANSTATE_RADAR,4,2  ## @IEEE80211_CHANSTATE_RADAR
	.comm	_WlanIfaceChannelStateType_radar,4,2 ## @WlanIfaceChannelStateType_radar
	.comm	_IEEE80211_CHANSTATE_CACDONE,4,2 ## @IEEE80211_CHANSTATE_CACDONE
	.comm	_WlanIfaceChannelStateType_cacDone,4,2 ## @WlanIfaceChannelStateType_cacDone
	.comm	_IEEE80211_CHANSTATE_CWINT,4,2  ## @IEEE80211_CHANSTATE_CWINT
	.comm	_WlanIfaceChannelStateType_interferenceDetected,4,2 ## @WlanIfaceChannelStateType_interferenceDetected
	.comm	_IEEE80211_CHANSTATE_NORADAR,4,2 ## @IEEE80211_CHANSTATE_NORADAR
	.comm	_WlanIfaceChannelStateType_radarClear,4,2 ## @WlanIfaceChannelStateType_radarClear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_channel_state_to_snmp     ; -- Begin function wlan_channel_state_to_snmp
	.p2align	2
_wlan_channel_state_to_snmp:            ; @wlan_channel_state_to_snmp
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE80211_CHANSTATE_RADAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CHANSTATE_RADAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WlanIfaceChannelStateType_radar@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WlanIfaceChannelStateType_radar@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	tst	w8, w0
Lloh6:
	adrp	x8, _IEEE80211_CHANSTATE_CACDONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_CHANSTATE_CACDONE@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x11, _WlanIfaceChannelStateType_cacDone@GOTPAGE
Lloh10:
	ldr	x11, [x11, _WlanIfaceChannelStateType_cacDone@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w11, w10, w11
	tst	w8, w0
	csel	w8, wzr, w11, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IEEE80211_CHANSTATE_CWINT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_CHANSTATE_CWINT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x11, _WlanIfaceChannelStateType_interferenceDetected@GOTPAGE
Lloh16:
	ldr	x11, [x11, _WlanIfaceChannelStateType_interferenceDetected@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	lsl	w11, w10, w11
	tst	w9, w0
	csel	w9, wzr, w11, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IEEE80211_CHANSTATE_NORADAR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_CHANSTATE_NORADAR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x11, _WlanIfaceChannelStateType_radarClear@GOTPAGE
Lloh22:
	ldr	x11, [x11, _WlanIfaceChannelStateType_radarClear@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHANSTATE_RADAR,4,2  ; @IEEE80211_CHANSTATE_RADAR
	.comm	_WlanIfaceChannelStateType_radar,4,2 ; @WlanIfaceChannelStateType_radar
	.comm	_IEEE80211_CHANSTATE_CACDONE,4,2 ; @IEEE80211_CHANSTATE_CACDONE
	.comm	_WlanIfaceChannelStateType_cacDone,4,2 ; @WlanIfaceChannelStateType_cacDone
	.comm	_IEEE80211_CHANSTATE_CWINT,4,2  ; @IEEE80211_CHANSTATE_CWINT
	.comm	_WlanIfaceChannelStateType_interferenceDetected,4,2 ; @WlanIfaceChannelStateType_interferenceDetected
	.comm	_IEEE80211_CHANSTATE_NORADAR,4,2 ; @IEEE80211_CHANSTATE_NORADAR
	.comm	_WlanIfaceChannelStateType_radarClear,4,2 ; @WlanIfaceChannelStateType_radarClear
.subsections_via_symbols
