	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_get_mmie_keyidx
_ieee80211_get_mmie_keyidx:             ## @ieee80211_get_mmie_keyidx
	.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
	cmpl	$40, 4(%rdi)
	jb	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movslq	(%rdi), %r14
	movl	(%r14), %edi
	callq	_is_multicast_ether_addr
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_ieee80211_is_robust_mgmt_frame
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movslq	(%rbx), %rax
	movslq	4(%rbx), %rcx
	movq	-16(%rcx,%rax), %rdx
	movq	_WLAN_EID_MMIE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.4:
	cmpl	$14, -8(%rax,%rcx)
	jne	LBB0_5
## %bb.6:
	movl	-4(%rax,%rcx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_le16_to_cpu                    ## TAILCALL
LBB0_5:
	movl	$-1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_MMIE,8,3              ## @WLAN_EID_MMIE
	.no_dead_strip	_ieee80211_get_mmie_keyidx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_get_mmie_keyidx
_ieee80211_get_mmie_keyidx:             ; @ieee80211_get_mmie_keyidx
	.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
	ldr	w8, [x0, #4]
	cmp	w8, #40
	b.lo	LBB0_6
; %bb.1:
	mov	x19, x0
	ldrsw	x20, [x0]
	ldr	w0, [x20]
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_ieee80211_is_robust_mgmt_frame
	cbz	w0, LBB0_6
; %bb.3:
	ldpsw	x8, x9, [x19]
	add	x8, x9, x8
	ldur	x9, [x8, #-16]
Lloh0:
	adrp	x10, _WLAN_EID_MMIE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WLAN_EID_MMIE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.4:
	ldur	w9, [x8, #-8]
	cmp	w9, #14
	b.ne	LBB0_6
; %bb.5:
	ldur	w0, [x8, #-4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_le16_to_cpu
LBB0_6:
	mov	w0, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_MMIE,8,3              ; @WLAN_EID_MMIE
	.no_dead_strip	_ieee80211_get_mmie_keyidx
.subsections_via_symbols
