	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_fill_new_bss_desc      ## -- Begin function mwifiex_fill_new_bss_desc
	.p2align	4, 0x90
_mwifiex_fill_new_bss_desc:             ## @mwifiex_fill_new_bss_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	16(%r15), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	movl	12(%rax), %edi
	movq	(%rax), %rsi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_kmemdup
	movq	%rax, %r13
	movq	(%r14), %r12
	movl	8(%r14), %eax
	movl	%eax, 56(%rbx)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testq	%r13, %r13
	je	LBB0_10
## %bb.1:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	52(%rbx), %edi
	movl	12(%r15), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	8(%r15), %eax
	movl	%eax, 48(%rbx)
	movq	%r13, 40(%rbx)
	movq	%r12, (%rbx)
	movl	4(%r15), %eax
	movl	%eax, 36(%rbx)
	movl	(%r15), %eax
	movl	%eax, 8(%rbx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx), %ecx
	movl	%ecx, 32(%rbx)
	movl	(%rdx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_WLAN_CAPABILITY_PRIVACY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movl	(%r14), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_mwifiex_dbg
	movl	8(%rbx), %eax
	movq	_MWIFIEX_802_11_PRIV_FILTER_8021X_WEP@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	_WLAN_CAPABILITY_IBSS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_5
## %bb.6:
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movl	$1, 12(%rbx)
	movq	_WLAN_CAPABILITY_SPECTRUM_MGMT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movl	$1, 16(%rbx)
LBB0_9:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_update_bss_desc_with_ie ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" failed to alloc beacon_ie\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WLAN_CAPABILITY_PRIVACY,4,2    ## @WLAN_CAPABILITY_PRIVACY
	.comm	_INFO,4,2                       ## @INFO
L_.str.1:                               ## @.str.1
	.asciz	"info: InterpretIE: AP WEP enabled\n"

	.comm	_MWIFIEX_802_11_PRIV_FILTER_8021X_WEP,4,2 ## @MWIFIEX_802_11_PRIV_FILTER_8021X_WEP
	.comm	_MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL,4,2 ## @MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ## @WLAN_CAPABILITY_IBSS
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_STATION,4,2     ## @NL80211_IFTYPE_STATION
	.comm	_WLAN_CAPABILITY_SPECTRUM_MGMT,4,2 ## @WLAN_CAPABILITY_SPECTRUM_MGMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_fill_new_bss_desc      ; -- Begin function mwifiex_fill_new_bss_desc
	.p2align	2
_mwifiex_fill_new_bss_desc:             ; @mwifiex_fill_new_bss_desc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x24, [x1, #24]
	bl	_rcu_read_lock
	ldr	w0, [x21, #16]
	bl	_rcu_dereference
	mov	x23, x0
	ldr	w0, [x0, #12]
	ldr	x1, [x23]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_kmemdup
	mov	x22, x0
	ldr	x25, [x23]
	ldr	w8, [x23, #8]
	str	w8, [x19, #56]
	bl	_rcu_read_unlock
	cbz	x22, LBB0_3
; %bb.1:
	ldr	w0, [x19, #52]
	ldr	w1, [x21, #12]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w8, [x21, #8]
	str	w8, [x19, #48]
	str	x22, [x19, #40]
	str	x25, [x19]
	ldp	w8, w9, [x21]
	str	w9, [x19, #36]
	str	w8, [x19, #8]
	ldr	d0, [x24]
	stur	d0, [x19, #28]
Lloh6:
	adrp	x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WLAN_CAPABILITY_PRIVACY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	w0, [x20]
Lloh9:
	adrp	x8, _INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mwifiex_dbg
	ldr	w8, [x19, #8]
Lloh14:
	adrp	x9, _MWIFIEX_802_11_PRIV_FILTER_8021X_WEP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MWIFIEX_802_11_PRIV_FILTER_8021X_WEP@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x20]
Lloh16:
	adrp	x8, _ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str@PAGE
Lloh20:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh24:
	adrp	x9, _MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh26:
	adrp	x9, _WLAN_CAPABILITY_IBSS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _WLAN_CAPABILITY_IBSS@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh30:
	ldr	x10, [x10, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh31:
	adrp	x11, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh32:
	ldr	x11, [x11, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	str	w9, [x19, #20]
	mov	w9, #1
	str	w9, [x19, #12]
Lloh33:
	adrp	x10, _WLAN_CAPABILITY_SPECTRUM_MGMT@GOTPAGE
Lloh34:
	ldr	x10, [x10, _WLAN_CAPABILITY_SPECTRUM_MGMT@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.6:
	str	w9, [x19, #16]
LBB0_7:
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mwifiex_update_bss_desc_with_ie
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" failed to alloc beacon_ie\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WLAN_CAPABILITY_PRIVACY,4,2    ; @WLAN_CAPABILITY_PRIVACY
	.comm	_INFO,4,2                       ; @INFO
l_.str.1:                               ; @.str.1
	.asciz	"info: InterpretIE: AP WEP enabled\n"

	.comm	_MWIFIEX_802_11_PRIV_FILTER_8021X_WEP,4,2 ; @MWIFIEX_802_11_PRIV_FILTER_8021X_WEP
	.comm	_MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL,4,2 ; @MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ; @WLAN_CAPABILITY_IBSS
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_STATION,4,2     ; @NL80211_IFTYPE_STATION
	.comm	_WLAN_CAPABILITY_SPECTRUM_MGMT,4,2 ; @WLAN_CAPABILITY_SPECTRUM_MGMT
.subsections_via_symbols
