	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cfg80211_set_default_mgmt_key
_mwifiex_cfg80211_set_default_mgmt_key: ## @mwifiex_cfg80211_set_default_mgmt_key
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_mwifiex_netdev_get_priv
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_wiphy_dbg
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_WLAN_KEY_LEN_CCMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	%r15d, -32(%rbp)
	movl	$1, -40(%rbp)
	movl	-36(%rbp), %edi
	callq	_eth_broadcast_addr
	movq	_HostCmd_CMD_802_11_KEY_MATERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	movq	%rbx, %r8
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set default mgmt key, key index=%d\n"

	.comm	_WLAN_KEY_LEN_CCMP,4,2          ## @WLAN_KEY_LEN_CCMP
	.comm	_HostCmd_CMD_802_11_KEY_MATERIAL,4,2 ## @HostCmd_CMD_802_11_KEY_MATERIAL
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.no_dead_strip	_mwifiex_cfg80211_set_default_mgmt_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cfg80211_set_default_mgmt_key
_mwifiex_cfg80211_set_default_mgmt_key: ; @mwifiex_cfg80211_set_default_mgmt_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x0
	mov	x0, x1
	bl	_mwifiex_netdev_get_priv
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_wiphy_dbg
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh2:
	adrp	x8, _WLAN_KEY_LEN_CCMP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WLAN_KEY_LEN_CCMP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w19, w8, [sp, #8]
	mov	w8, #1
	str	w8, [sp]
	ldr	w0, [sp, #4]
	bl	_eth_broadcast_addr
Lloh5:
	adrp	x8, _HostCmd_CMD_802_11_KEY_MATERIAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HostCmd_CMD_802_11_KEY_MATERIAL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x4, sp
	mov	x0, x21
	mov	w3, #1
	mov	w5, #1
	bl	_mwifiex_send_cmd
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set default mgmt key, key index=%d\n"

	.comm	_WLAN_KEY_LEN_CCMP,4,2          ; @WLAN_KEY_LEN_CCMP
	.comm	_HostCmd_CMD_802_11_KEY_MATERIAL,4,2 ; @HostCmd_CMD_802_11_KEY_MATERIAL
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.no_dead_strip	_mwifiex_cfg80211_set_default_mgmt_key
.subsections_via_symbols
