	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_ret_802_11_key_material_v2
_mwifiex_ret_802_11_key_material_v2:    ## @mwifiex_ret_802_11_key_material_v2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	24(%rsi), %edi
	callq	_le16_to_cpu
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	movl	16(%rbx), %edi
	callq	_le16_to_cpu
	movq	_KEY_MCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movl	20(%r14), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movq	$1, (%r14)
	movl	$1, 8(%r14)
LBB0_3:
	movq	(%rbx), %rax
	movq	_KEY_TYPE_ID_AES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	12(%r14), %edi
	movq	_WLAN_KEY_LEN_CCMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	12(%rbx), %edi
	movl	%edi, 16(%r14)
	movl	12(%r14), %r14d
	movl	8(%rbx), %ebx
	callq	_le16_to_cpu
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_memcpy
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.comm	_KEY_MCAST,4,2                  ## @KEY_MCAST
	.comm	_INFO,4,2                       ## @INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"info: key: GTK is set\n"

	.comm	_KEY_TYPE_ID_AES,8,3            ## @KEY_TYPE_ID_AES
	.comm	_WLAN_KEY_LEN_CCMP,4,2          ## @WLAN_KEY_LEN_CCMP
	.no_dead_strip	_mwifiex_ret_802_11_key_material_v2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mwifiex_ret_802_11_key_material_v2
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mwifiex_ret_802_11_key_material_v2:    ; @mwifiex_ret_802_11_key_material_v2
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #24]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_le16_to_cpu
Lloh3:
	adrp	x8, _KEY_MCAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEY_MCAST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20, #20]
Lloh6:
	adrp	x8, _INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_3:
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _KEY_TYPE_ID_AES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _KEY_TYPE_ID_AES@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x20, #12]
Lloh16:
	adrp	x8, _WLAN_KEY_LEN_CCMP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WLAN_KEY_LEN_CCMP@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldp	w19, w0, [x19, #8]
	str	w0, [x20, #16]
	ldr	w20, [x20, #12]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_memcpy
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.comm	_KEY_MCAST,4,2                  ; @KEY_MCAST
	.comm	_INFO,4,2                       ; @INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"info: key: GTK is set\n"

	.comm	_KEY_TYPE_ID_AES,8,3            ; @KEY_TYPE_ID_AES
	.comm	_WLAN_KEY_LEN_CCMP,4,2          ; @WLAN_KEY_LEN_CCMP
	.no_dead_strip	_mwifiex_ret_802_11_key_material_v2
.subsections_via_symbols
