	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_init_new_priv_params
_mwifiex_init_new_priv_params:          ## @mwifiex_init_new_priv_params
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	32(%rdi), %r15
	callq	_mwifiex_init_priv
	movl	%r12d, (%rbx)
	movl	%r12d, 28(%rbx)
	movl	24(%rbx), %esi
	movq	%rbx, %rdi
	callq	_mwifiex_init_priv_params
	movq	$0, 16(%rbx)
	leal	-128(%r12), %eax
	cmpl	$5, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.mwifiex_init_new_priv_params(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	leaq	12(%r15), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	$0, (%r15)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	leaq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movl	$0, 4(%r15)
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_mwifiex_set_mac_address
	jmp	LBB0_3
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %r8d
	callq	_mwifiex_dbg
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_BSS_ROLE_STA,8,3       ## @MWIFIEX_BSS_ROLE_STA
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ## @MWIFIEX_BSS_ROLE_UAP
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: changing to %d not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_mwifiex_init_new_priv_params
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mwifiex_init_new_priv_params
l_switch.table.mwifiex_init_new_priv_params:
	.quad	_MWIFIEX_BSS_ROLE_STA
	.quad	_MWIFIEX_BSS_ROLE_UAP
	.quad	_MWIFIEX_BSS_ROLE_STA
	.quad	_MWIFIEX_BSS_ROLE_UAP
	.quad	_MWIFIEX_BSS_ROLE_STA

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_init_new_priv_params
_mwifiex_init_new_priv_params:          ; @mwifiex_init_new_priv_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #32]
	bl	_mwifiex_init_priv
	str	w22, [x20]
	str	w22, [x20, #28]
	ldr	w1, [x20, #24]
	mov	x0, x20
	bl	_mwifiex_init_priv_params
	str	xzr, [x20, #16]
	sub	w8, w22, #128
	cmp	w8, #5
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.mwifiex_init_new_priv_params@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mwifiex_init_new_priv_params@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x8, [x8]
	str	x8, [x20, #8]
	add	x22, x21, #12
	mov	x0, x22
	bl	_spin_lock_irqsave
	str	wzr, [x21]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	add	x22, x21, #8
	mov	x0, x22
	bl	_spin_lock_bh
	str	wzr, [x21, #4]
	mov	x0, x22
	bl	_spin_unlock_bh
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	bl	_mwifiex_set_mac_address
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w3, [x19]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x4, x22
	bl	_mwifiex_dbg
Lloh7:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_BSS_ROLE_STA,8,3       ; @MWIFIEX_BSS_ROLE_STA
	.comm	_MWIFIEX_BSS_ROLE_UAP,8,3       ; @MWIFIEX_BSS_ROLE_UAP
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: changing to %d not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_mwifiex_init_new_priv_params
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mwifiex_init_new_priv_params
l_switch.table.mwifiex_init_new_priv_params:
	.quad	_MWIFIEX_BSS_ROLE_STA
	.quad	_MWIFIEX_BSS_ROLE_UAP
	.quad	_MWIFIEX_BSS_ROLE_STA
	.quad	_MWIFIEX_BSS_ROLE_UAP
	.quad	_MWIFIEX_BSS_ROLE_STA

.subsections_via_symbols
