	.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_v1
_mwifiex_ret_802_11_key_material_v1:    ## @mwifiex_ret_802_11_key_material_v1
	.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, %r14
	movq	%rdi, %rbx
	movl	12(%rsi), %edi
	callq	_le16_to_cpu
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	movl	8(%r14), %edi
	callq	_le16_to_cpu
	movq	_KEY_MCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movl	20(%rbx), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movq	$1, (%rbx)
	movl	$1, 8(%rbx)
LBB0_3:
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	4(%r14), %edi
	movl	%edi, 12(%rbx)
	movl	16(%rbx), %ebx
	movl	(%r14), %r14d
	callq	_le16_to_cpu
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_memcpy
	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"

	.no_dead_strip	_mwifiex_ret_802_11_key_material_v1
.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_v1
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mwifiex_ret_802_11_key_material_v1:    ; @mwifiex_ret_802_11_key_material_v1
	.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, #12]
	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, #8]
	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	w0, [x20, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldp	w19, w0, [x19]
	str	w0, [x20, #12]
	ldr	w20, [x20, #16]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_memcpy
	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
	.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"

	.no_dead_strip	_mwifiex_ret_802_11_key_material_v1
.subsections_via_symbols
