	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_set_mgmt_beacon_data_ies
_mwifiex_set_mgmt_beacon_data_ies:      ## @mwifiex_set_mgmt_beacon_data_ies
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_MWIFIEX_AUTO_IDX_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r12, -88(%rbp)
	movq	%r12, -80(%rbp)
	movq	%r12, -72(%rbp)
	movq	40(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	32(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_MGMT_MASK_BEACON@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_WLAN_OUI_MICROSOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-64(%rbp), %r15
	movq	%r15, %rdx
	callq	_mwifiex_update_vs_ie
	movq	32(%rbx), %rsi
	movq	40(%rbx), %rdi
	movl	(%r13), %ecx
	movq	_WLAN_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WLAN_OUI_TYPE_WFA_P2P@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdx
	callq	_mwifiex_update_vs_ie
LBB0_3:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	_MGMT_MASK_PROBE_RESP@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_WLAN_OUI_MICROSOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-56(%rbp), %r15
	movq	%r15, %rdx
	callq	_mwifiex_update_vs_ie
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdi
	movl	(%r13), %ecx
	movq	_WLAN_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WLAN_OUI_TYPE_WFA_P2P@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdx
	callq	_mwifiex_update_vs_ie
LBB0_6:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.7:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	movq	_MGMT_MASK_ASSOC_RESP@GOTPCREL(%rip), %rax
	movq	_MGMT_MASK_REASSOC_RESP@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%rax), %ecx
	movq	_WLAN_OUI_MICROSOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-48(%rbp), %r15
	movq	%r15, %rdx
	callq	_mwifiex_update_vs_ie
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	movl	(%r13), %ecx
	movq	_MGMT_MASK_ASSOC_RESP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_WLAN_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WLAN_OUI_TYPE_WFA_P2P@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdx
	callq	_mwifiex_update_vs_ie
	movq	-48(%rbp), %r9
	jmp	LBB0_11
LBB0_10:
	xorl	%r9d, %r9d
LBB0_11:
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rcx
	testq	%rsi, %rsi
	jne	LBB0_14
## %bb.12:
	testq	%rcx, %rcx
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rax
	movq	%r12, %rdx
	testq	%r9, %r9
	je	LBB0_16
LBB0_14:
	leaq	-72(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-88(%rbp), %rdx
	leaq	-80(%rbp), %r8
	movq	%r14, %rdi
	callq	_mwifiex_update_uap_custom_ie
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rax
	movq	-72(%rbp), %r12
LBB0_16:
	movq	%rdx, 16(%r14)
	movq	%rax, 8(%r14)
	movq	%r12, (%r14)
	xorl	%ebx, %ebx
LBB0_17:
	movq	-64(%rbp), %rdi
	callq	_kfree
	movq	-56(%rbp), %rdi
	callq	_kfree
	movq	-48(%rbp), %rdi
	callq	_kfree
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_AUTO_IDX_MASK,8,3      ## @MWIFIEX_AUTO_IDX_MASK
	.comm	_MGMT_MASK_BEACON,4,2           ## @MGMT_MASK_BEACON
	.comm	_WLAN_OUI_MICROSOFT,4,2         ## @WLAN_OUI_MICROSOFT
	.comm	_WLAN_OUI_TYPE_MICROSOFT_WPS,4,2 ## @WLAN_OUI_TYPE_MICROSOFT_WPS
	.comm	_WLAN_OUI_WFA,4,2               ## @WLAN_OUI_WFA
	.comm	_WLAN_OUI_TYPE_WFA_P2P,4,2      ## @WLAN_OUI_TYPE_WFA_P2P
	.comm	_MGMT_MASK_PROBE_RESP,4,2       ## @MGMT_MASK_PROBE_RESP
	.comm	_MGMT_MASK_ASSOC_RESP,4,2       ## @MGMT_MASK_ASSOC_RESP
	.comm	_MGMT_MASK_REASSOC_RESP,4,2     ## @MGMT_MASK_REASSOC_RESP
	.no_dead_strip	_mwifiex_set_mgmt_beacon_data_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_set_mgmt_beacon_data_ies
_mwifiex_set_mgmt_beacon_data_ies:      ; @mwifiex_set_mgmt_beacon_data_ies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #32]
Lloh0:
	adrp	x8, _MWIFIEX_AUTO_IDX_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWIFIEX_AUTO_IDX_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	stp	x21, xzr, [sp, #16]
	stp	x21, x21, [sp]
	ldr	x0, [x1, #40]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_3
; %bb.2:
Lloh3:
	adrp	x22, _MGMT_MASK_BEACON@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MGMT_MASK_BEACON@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh5:
	adrp	x8, _WLAN_OUI_MICROSOFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WLAN_OUI_MICROSOFT@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x8, _WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	add	x2, sp, #40
	bl	_mwifiex_update_vs_ie
	ldp	x1, x0, [x20, #32]
	ldr	w3, [x22]
Lloh11:
	adrp	x8, _WLAN_OUI_WFA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WLAN_OUI_WFA@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
Lloh14:
	adrp	x8, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	add	x2, sp, #40
	bl	_mwifiex_update_vs_ie
LBB0_3:
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_6
; %bb.5:
Lloh17:
	adrp	x22, _MGMT_MASK_PROBE_RESP@GOTPAGE
Lloh18:
	ldr	x22, [x22, _MGMT_MASK_PROBE_RESP@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh19:
	adrp	x8, _WLAN_OUI_MICROSOFT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WLAN_OUI_MICROSOFT@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
Lloh22:
	adrp	x8, _WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
	add	x2, sp, #32
	bl	_mwifiex_update_vs_ie
	ldp	x1, x0, [x20, #16]
	ldr	w3, [x22]
Lloh25:
	adrp	x8, _WLAN_OUI_WFA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WLAN_OUI_WFA@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
Lloh28:
	adrp	x8, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGEOFF]
Lloh30:
	ldr	w5, [x8]
	add	x2, sp, #32
	bl	_mwifiex_update_vs_ie
LBB0_6:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x1, [x20]
	cbz	x1, LBB0_9
; %bb.8:
Lloh31:
	adrp	x22, _MGMT_MASK_ASSOC_RESP@GOTPAGE
Lloh32:
	ldr	x22, [x22, _MGMT_MASK_ASSOC_RESP@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh33:
	adrp	x23, _MGMT_MASK_REASSOC_RESP@GOTPAGE
Lloh34:
	ldr	x23, [x23, _MGMT_MASK_REASSOC_RESP@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w3, w9, w8
Lloh35:
	adrp	x8, _WLAN_OUI_MICROSOFT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WLAN_OUI_MICROSOFT@GOTPAGEOFF]
Lloh37:
	ldr	w4, [x8]
Lloh38:
	adrp	x8, _WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WLAN_OUI_TYPE_MICROSOFT_WPS@GOTPAGEOFF]
Lloh40:
	ldr	w5, [x8]
	add	x2, sp, #24
	bl	_mwifiex_update_vs_ie
	ldp	x1, x0, [x20]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w3, w9, w8
Lloh41:
	adrp	x8, _WLAN_OUI_WFA@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WLAN_OUI_WFA@GOTPAGEOFF]
Lloh43:
	ldr	w4, [x8]
Lloh44:
	adrp	x8, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WLAN_OUI_TYPE_WFA_P2P@GOTPAGEOFF]
Lloh46:
	ldr	w5, [x8]
	add	x2, sp, #24
	bl	_mwifiex_update_vs_ie
	ldr	x5, [sp, #24]
	ldp	x3, x1, [sp, #32]
	cbz	x1, LBB0_10
	b	LBB0_12
LBB0_9:
	mov	x5, #0
	ldp	x3, x1, [sp, #32]
	cbnz	x1, LBB0_12
LBB0_10:
	cbnz	x3, LBB0_12
; %bb.11:
	mov	x8, x21
	mov	x9, x21
	cbz	x5, LBB0_14
LBB0_12:
	add	x2, sp, #16
	add	x4, sp, #8
	mov	x6, sp
	mov	x0, x19
	bl	_mwifiex_update_uap_custom_ie
	mov	x20, x0
	cbnz	w0, LBB0_15
; %bb.13:
	ldp	x8, x9, [sp, #8]
	ldr	x21, [sp]
LBB0_14:
	mov	w20, #0
	stp	x8, x9, [x19, #8]
	str	x21, [x19]
LBB0_15:
	ldr	x0, [sp, #40]
	bl	_kfree
	ldr	x0, [sp, #32]
	bl	_kfree
	ldr	x0, [sp, #24]
	bl	_kfree
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_AUTO_IDX_MASK,8,3      ; @MWIFIEX_AUTO_IDX_MASK
	.comm	_MGMT_MASK_BEACON,4,2           ; @MGMT_MASK_BEACON
	.comm	_WLAN_OUI_MICROSOFT,4,2         ; @WLAN_OUI_MICROSOFT
	.comm	_WLAN_OUI_TYPE_MICROSOFT_WPS,4,2 ; @WLAN_OUI_TYPE_MICROSOFT_WPS
	.comm	_WLAN_OUI_WFA,4,2               ; @WLAN_OUI_WFA
	.comm	_WLAN_OUI_TYPE_WFA_P2P,4,2      ; @WLAN_OUI_TYPE_WFA_P2P
	.comm	_MGMT_MASK_PROBE_RESP,4,2       ; @MGMT_MASK_PROBE_RESP
	.comm	_MGMT_MASK_ASSOC_RESP,4,2       ; @MGMT_MASK_ASSOC_RESP
	.comm	_MGMT_MASK_REASSOC_RESP,4,2     ; @MGMT_MASK_REASSOC_RESP
	.no_dead_strip	_mwifiex_set_mgmt_beacon_data_ies
.subsections_via_symbols
