	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_update_tkip_key        ## -- Begin function iwl_mvm_update_tkip_key
	.p2align	4, 0x90
_iwl_mvm_update_tkip_key:               ## @iwl_mvm_update_tkip_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_IEEE80211_KEY_FLAG_PAIRWISE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_iwl_mvm_get_key_sta
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %cl
	movl	(%rbx), %esi
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r12), %ebx
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r12, %rdx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	pushq	%rax
	callq	_iwl_mvm_send_sta_key
	addq	$32, %rsp
LBB0_5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_KEY_FLAG_PAIRWISE,4,2 ## @IEEE80211_KEY_FLAG_PAIRWISE
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_update_tkip_key        ; -- Begin function iwl_mvm_update_tkip_key
	.p2align	2
_iwl_mvm_update_tkip_key:               ; @iwl_mvm_update_tkip_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x25, x1
	mov	x22, x0
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _IEEE80211_KEY_FLAG_PAIRWISE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_KEY_FLAG_PAIRWISE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w23, eq
	cbz	x3, LBB0_2
; %bb.1:
	ldr	w26, [x24]
	b	LBB0_3
LBB0_2:
	mov	w26, #0
LBB0_3:
	bl	_rcu_read_lock
	mov	x0, x22
	mov	x1, x25
	mov	x2, x24
	bl	_iwl_mvm_get_key_sta
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x24]
Lloh3:
	adrp	x8, _CMD_ASYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_ASYNC@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	ldr	w7, [x21, #4]
	str	w26, [sp]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x20
	mov	x5, x19
	bl	_iwl_mvm_send_sta_key
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_rcu_read_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_KEY_FLAG_PAIRWISE,4,2 ; @IEEE80211_KEY_FLAG_PAIRWISE
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
.subsections_via_symbols
