	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_cmd_gtk_rekey_offload
_mwifiex_cmd_gtk_rekey_offload:         ## @mwifiex_cmd_gtk_rekey_offload
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	_HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	_S_DS_GEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$32, %rdi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	callq	_cpu_to_le16
	movq	%rax, 40(%rbx)
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	36(%rbx), %edi
	movl	12(%r14), %esi
	movq	_NL80211_KEK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	32(%rbx), %edi
	movl	8(%r14), %esi
	movq	_NL80211_KCK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	(%r14), %rdi
	callq	_be64_to_cpup
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG,8,3 ## @HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG
	.comm	_S_DS_GEN,8,3                   ## @S_DS_GEN
	.comm	_HostCmd_ACT_GEN_SET,8,3        ## @HostCmd_ACT_GEN_SET
	.comm	_NL80211_KEK_LEN,4,2            ## @NL80211_KEK_LEN
	.comm	_NL80211_KCK_LEN,4,2            ## @NL80211_KCK_LEN
	.no_dead_strip	_mwifiex_cmd_gtk_rekey_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_cmd_gtk_rekey_offload
_mwifiex_cmd_gtk_rekey_offload:         ; @mwifiex_cmd_gtk_rekey_offload
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #8]
Lloh3:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, #32
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #40]
Lloh6:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #36]
	ldr	w1, [x20, #12]
Lloh9:
	adrp	x8, _NL80211_KEK_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_KEK_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x19, #32]
	ldr	w1, [x20, #8]
Lloh12:
	adrp	x8, _NL80211_KCK_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NL80211_KCK_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x0, [x20]
	bl	_be64_to_cpup
	bl	_cpu_to_le32
	str	x0, [x19, #24]
	bl	_cpu_to_le32
	str	x0, [x19, #16]
LBB0_2:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG,8,3 ; @HostCmd_CMD_GTK_REKEY_OFFLOAD_CFG
	.comm	_S_DS_GEN,8,3                   ; @S_DS_GEN
	.comm	_HostCmd_ACT_GEN_SET,8,3        ; @HostCmd_ACT_GEN_SET
	.comm	_NL80211_KEK_LEN,4,2            ; @NL80211_KEK_LEN
	.comm	_NL80211_KCK_LEN,4,2            ; @NL80211_KCK_LEN
	.no_dead_strip	_mwifiex_cmd_gtk_rekey_offload
.subsections_via_symbols
