	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_get_key_sta
_iwl_mvm_get_key_sta:                   ## @iwl_mvm_get_key_sta
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	testq	%rbx, %rbx
	je	LBB0_1
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_sta_from_mac80211      ## TAILCALL
LBB0_1:
	movq	(%r15), %rcx
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	movq	(%rax), %rax
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rcx
	movl	(%rcx,%rax,4), %ebx
	movq	%r14, %rdi
	callq	_lockdep_is_held
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_check
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_IWL_MVM_INVALID_STA,8,3        ## @IWL_MVM_INVALID_STA
	.no_dead_strip	_iwl_mvm_get_key_sta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_get_key_sta
_iwl_mvm_get_key_sta:                   ; @iwl_mvm_get_key_sta
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	cbz	x20, LBB0_3
; %bb.1:
	mov	x0, x20
LBB0_2:
	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
	b	_iwl_mvm_sta_from_mac80211
LBB0_3:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	x9, [x19, #8]
	ldr	w20, [x9, x8, lsl #2]
	mov	x0, x19
	bl	_lockdep_is_held
	mov	x1, x0
	mov	x0, x20
	bl	_rcu_dereference_check
	mov	x19, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_7
LBB0_6:
	mov	x0, #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
LBB0_7:
	mov	x0, x19
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_IWL_MVM_INVALID_STA,8,3        ; @IWL_MVM_INVALID_STA
	.no_dead_strip	_iwl_mvm_get_key_sta
.subsections_via_symbols
