	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wlan_peercaps_to_snmp
LCPI0_0:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wlan_peercaps_to_snmp:                 ## @wlan_peercaps_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_CAPINFO_ESS@GOTPCREL(%rip), %rax
	movq	_IEEE80211_CAPINFO_PRIVACY@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_CAPINFO_SHORT_PREAMBLE@GOTPCREL(%rip), %rdx
	movd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm0
	movq	_WlanPeerCapabilityFlags_ess@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_CAPINFO_PBCC@GOTPCREL(%rip), %rdx
	pinsrd	$2, (%rdx), %xmm0
	movq	_IEEE80211_CAPINFO_CHNL_AGILITY@GOTPCREL(%rip), %rdx
	pinsrd	$3, (%rdx), %xmm0
	movq	_IEEE80211_CAPINFO_IBSS@GOTPCREL(%rip), %rdx
	movd	(%rdx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movq	_IEEE80211_CAPINFO_CF_POLLABLE@GOTPCREL(%rip), %rdx
	pinsrd	$1, (%rax), %xmm1
	movq	_IEEE80211_CAPINFO_CF_POLLREQ@GOTPCREL(%rip), %rax
	pinsrd	$2, (%rdx), %xmm1
	movq	_WlanPeerCapabilityFlags_privacy@GOTPCREL(%rip), %rdx
	pinsrd	$3, (%rax), %xmm1
	movq	_WlanPeerCapabilityFlags_shortPreamble@GOTPCREL(%rip), %rax
	movd	(%rdx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movq	_WlanPeerCapabilityFlags_pbcc@GOTPCREL(%rip), %rdx
	pinsrd	$1, (%rax), %xmm2
	movq	_WlanPeerCapabilityFlags_channelAgility@GOTPCREL(%rip), %rax
	pinsrd	$2, (%rdx), %xmm2
	pinsrd	$3, (%rax), %xmm2
	movq	_WlanPeerCapabilityFlags_ibss@GOTPCREL(%rip), %rax
	movq	_WlanPeerCapabilityFlags_cfPollable@GOTPCREL(%rip), %rdx
	movd	(%rax), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	movq	_WlanPeerCapabilityFlags_cfPollRequest@GOTPCREL(%rip), %rax
	pinsrd	$1, (%rcx), %xmm3
	pinsrd	$2, (%rdx), %xmm3
	movd	%edi, %xmm4
	pinsrd	$3, (%rax), %xmm3
	movq	_IEEE80211_CAPINFO_SHORT_SLOTTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movq	_WlanPeerCapabilityFlags_shortSlotTime@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	movq	_IEEE80211_CAPINFO_RSN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%edi, %esi
	movq	_WlanPeerCapabilityFlags_rsn@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	testl	%esi, %esi
	cmovel	%esi, %eax
	movq	_IEEE80211_CAPINFO_DSSSOFDM@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	movq	_WlanPeerCapabilityFlags_dsssofdm@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	testl	%edi, %edi
	cmovel	%edi, %esi
	orl	%edx, %eax
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	pand	%xmm4, %xmm1
	pand	%xmm4, %xmm0
	pxor	%xmm4, %xmm4
	pslld	$23, %xmm3
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm5, %xmm3
	cvttps2dq	%xmm3, %xmm3
	pslld	$23, %xmm2
	paddd	%xmm5, %xmm2
	cvttps2dq	%xmm2, %xmm2
	pcmpeqd	%xmm4, %xmm0
	pandn	%xmm2, %xmm0
	pcmpeqd	%xmm4, %xmm1
	pandn	%xmm3, %xmm1
	por	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	orl	%esi, %eax
	movd	%xmm1, %ecx
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CAPINFO_ESS,4,2      ## @IEEE80211_CAPINFO_ESS
	.comm	_WlanPeerCapabilityFlags_ess,4,2 ## @WlanPeerCapabilityFlags_ess
	.comm	_IEEE80211_CAPINFO_IBSS,4,2     ## @IEEE80211_CAPINFO_IBSS
	.comm	_WlanPeerCapabilityFlags_ibss,4,2 ## @WlanPeerCapabilityFlags_ibss
	.comm	_IEEE80211_CAPINFO_CF_POLLABLE,4,2 ## @IEEE80211_CAPINFO_CF_POLLABLE
	.comm	_WlanPeerCapabilityFlags_cfPollable,4,2 ## @WlanPeerCapabilityFlags_cfPollable
	.comm	_IEEE80211_CAPINFO_CF_POLLREQ,4,2 ## @IEEE80211_CAPINFO_CF_POLLREQ
	.comm	_WlanPeerCapabilityFlags_cfPollRequest,4,2 ## @WlanPeerCapabilityFlags_cfPollRequest
	.comm	_IEEE80211_CAPINFO_PRIVACY,4,2  ## @IEEE80211_CAPINFO_PRIVACY
	.comm	_WlanPeerCapabilityFlags_privacy,4,2 ## @WlanPeerCapabilityFlags_privacy
	.comm	_IEEE80211_CAPINFO_SHORT_PREAMBLE,4,2 ## @IEEE80211_CAPINFO_SHORT_PREAMBLE
	.comm	_WlanPeerCapabilityFlags_shortPreamble,4,2 ## @WlanPeerCapabilityFlags_shortPreamble
	.comm	_IEEE80211_CAPINFO_PBCC,4,2     ## @IEEE80211_CAPINFO_PBCC
	.comm	_WlanPeerCapabilityFlags_pbcc,4,2 ## @WlanPeerCapabilityFlags_pbcc
	.comm	_IEEE80211_CAPINFO_CHNL_AGILITY,4,2 ## @IEEE80211_CAPINFO_CHNL_AGILITY
	.comm	_WlanPeerCapabilityFlags_channelAgility,4,2 ## @WlanPeerCapabilityFlags_channelAgility
	.comm	_IEEE80211_CAPINFO_SHORT_SLOTTIME,4,2 ## @IEEE80211_CAPINFO_SHORT_SLOTTIME
	.comm	_WlanPeerCapabilityFlags_shortSlotTime,4,2 ## @WlanPeerCapabilityFlags_shortSlotTime
	.comm	_IEEE80211_CAPINFO_RSN,4,2      ## @IEEE80211_CAPINFO_RSN
	.comm	_WlanPeerCapabilityFlags_rsn,4,2 ## @WlanPeerCapabilityFlags_rsn
	.comm	_IEEE80211_CAPINFO_DSSSOFDM,4,2 ## @IEEE80211_CAPINFO_DSSSOFDM
	.comm	_WlanPeerCapabilityFlags_dsssofdm,4,2 ## @WlanPeerCapabilityFlags_dsssofdm
	.no_dead_strip	_wlan_peercaps_to_snmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_peercaps_to_snmp
_wlan_peercaps_to_snmp:                 ; @wlan_peercaps_to_snmp
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE80211_CAPINFO_ESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CAPINFO_ESS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _WlanPeerCapabilityFlags_ess@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WlanPeerCapabilityFlags_ess@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	mov	w8, #1
	lsl	w10, w8, w10
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh6:
	adrp	x10, _IEEE80211_CAPINFO_IBSS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IEEE80211_CAPINFO_IBSS@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _WlanPeerCapabilityFlags_ibss@GOTPAGE
Lloh10:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_ibss@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
Lloh12:
	adrp	x11, _IEEE80211_CAPINFO_CF_POLLABLE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IEEE80211_CAPINFO_CF_POLLABLE@GOTPAGEOFF]
	orr	w9, w10, w9
Lloh14:
	ldr	w10, [x11]
Lloh15:
	adrp	x11, _WlanPeerCapabilityFlags_cfPollable@GOTPAGE
Lloh16:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_cfPollable@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh18:
	adrp	x10, _IEEE80211_CAPINFO_CF_POLLREQ@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IEEE80211_CAPINFO_CF_POLLREQ@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _WlanPeerCapabilityFlags_cfPollRequest@GOTPAGE
Lloh22:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_cfPollRequest@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh24:
	adrp	x10, _IEEE80211_CAPINFO_PRIVACY@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IEEE80211_CAPINFO_PRIVACY@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _WlanPeerCapabilityFlags_privacy@GOTPAGE
Lloh28:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_privacy@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
Lloh30:
	adrp	x11, _IEEE80211_CAPINFO_SHORT_PREAMBLE@GOTPAGE
Lloh31:
	ldr	x11, [x11, _IEEE80211_CAPINFO_SHORT_PREAMBLE@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh32:
	ldr	w10, [x11]
Lloh33:
	adrp	x11, _WlanPeerCapabilityFlags_shortPreamble@GOTPAGE
Lloh34:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_shortPreamble@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh36:
	adrp	x10, _IEEE80211_CAPINFO_PBCC@GOTPAGE
Lloh37:
	ldr	x10, [x10, _IEEE80211_CAPINFO_PBCC@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _WlanPeerCapabilityFlags_pbcc@GOTPAGE
Lloh40:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_pbcc@GOTPAGEOFF]
Lloh41:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh42:
	adrp	x10, _IEEE80211_CAPINFO_CHNL_AGILITY@GOTPAGE
Lloh43:
	ldr	x10, [x10, _IEEE80211_CAPINFO_CHNL_AGILITY@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
Lloh45:
	adrp	x11, _WlanPeerCapabilityFlags_channelAgility@GOTPAGE
Lloh46:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_channelAgility@GOTPAGEOFF]
Lloh47:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
Lloh48:
	adrp	x11, _IEEE80211_CAPINFO_SHORT_SLOTTIME@GOTPAGE
Lloh49:
	ldr	x11, [x11, _IEEE80211_CAPINFO_SHORT_SLOTTIME@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh50:
	ldr	w10, [x11]
Lloh51:
	adrp	x11, _WlanPeerCapabilityFlags_shortSlotTime@GOTPAGE
Lloh52:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_shortSlotTime@GOTPAGEOFF]
Lloh53:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh54:
	adrp	x10, _IEEE80211_CAPINFO_RSN@GOTPAGE
Lloh55:
	ldr	x10, [x10, _IEEE80211_CAPINFO_RSN@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x10]
Lloh57:
	adrp	x11, _WlanPeerCapabilityFlags_rsn@GOTPAGE
Lloh58:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_rsn@GOTPAGEOFF]
Lloh59:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w0
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh60:
	adrp	x10, _IEEE80211_CAPINFO_DSSSOFDM@GOTPAGE
Lloh61:
	ldr	x10, [x10, _IEEE80211_CAPINFO_DSSSOFDM@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
Lloh63:
	adrp	x11, _WlanPeerCapabilityFlags_dsssofdm@GOTPAGE
Lloh64:
	ldr	x11, [x11, _WlanPeerCapabilityFlags_dsssofdm@GOTPAGEOFF]
Lloh65:
	ldr	w11, [x11]
	lsl	w8, w8, w11
	tst	w10, w0
	csel	w8, wzr, w8, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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_CAPINFO_ESS,4,2      ; @IEEE80211_CAPINFO_ESS
	.comm	_WlanPeerCapabilityFlags_ess,4,2 ; @WlanPeerCapabilityFlags_ess
	.comm	_IEEE80211_CAPINFO_IBSS,4,2     ; @IEEE80211_CAPINFO_IBSS
	.comm	_WlanPeerCapabilityFlags_ibss,4,2 ; @WlanPeerCapabilityFlags_ibss
	.comm	_IEEE80211_CAPINFO_CF_POLLABLE,4,2 ; @IEEE80211_CAPINFO_CF_POLLABLE
	.comm	_WlanPeerCapabilityFlags_cfPollable,4,2 ; @WlanPeerCapabilityFlags_cfPollable
	.comm	_IEEE80211_CAPINFO_CF_POLLREQ,4,2 ; @IEEE80211_CAPINFO_CF_POLLREQ
	.comm	_WlanPeerCapabilityFlags_cfPollRequest,4,2 ; @WlanPeerCapabilityFlags_cfPollRequest
	.comm	_IEEE80211_CAPINFO_PRIVACY,4,2  ; @IEEE80211_CAPINFO_PRIVACY
	.comm	_WlanPeerCapabilityFlags_privacy,4,2 ; @WlanPeerCapabilityFlags_privacy
	.comm	_IEEE80211_CAPINFO_SHORT_PREAMBLE,4,2 ; @IEEE80211_CAPINFO_SHORT_PREAMBLE
	.comm	_WlanPeerCapabilityFlags_shortPreamble,4,2 ; @WlanPeerCapabilityFlags_shortPreamble
	.comm	_IEEE80211_CAPINFO_PBCC,4,2     ; @IEEE80211_CAPINFO_PBCC
	.comm	_WlanPeerCapabilityFlags_pbcc,4,2 ; @WlanPeerCapabilityFlags_pbcc
	.comm	_IEEE80211_CAPINFO_CHNL_AGILITY,4,2 ; @IEEE80211_CAPINFO_CHNL_AGILITY
	.comm	_WlanPeerCapabilityFlags_channelAgility,4,2 ; @WlanPeerCapabilityFlags_channelAgility
	.comm	_IEEE80211_CAPINFO_SHORT_SLOTTIME,4,2 ; @IEEE80211_CAPINFO_SHORT_SLOTTIME
	.comm	_WlanPeerCapabilityFlags_shortSlotTime,4,2 ; @WlanPeerCapabilityFlags_shortSlotTime
	.comm	_IEEE80211_CAPINFO_RSN,4,2      ; @IEEE80211_CAPINFO_RSN
	.comm	_WlanPeerCapabilityFlags_rsn,4,2 ; @WlanPeerCapabilityFlags_rsn
	.comm	_IEEE80211_CAPINFO_DSSSOFDM,4,2 ; @IEEE80211_CAPINFO_DSSSOFDM
	.comm	_WlanPeerCapabilityFlags_dsssofdm,4,2 ; @WlanPeerCapabilityFlags_dsssofdm
	.no_dead_strip	_wlan_peercaps_to_snmp
.subsections_via_symbols
