	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_get_keyid     ## -- Begin function ieee80211_crypto_get_keyid
	.p2align	4, 0x90
_ieee80211_crypto_get_keyid:            ## @ieee80211_crypto_get_keyid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	%rsi, %rax
	subq	%rcx, %rax
	movq	_IEEE80211_WEP_NKID@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rdx,4), %rdx
	shrq	$2, %rax
	xorl	%edi, %edi
	cmpq	%rsi, %rdx
	cmovbel	%edi, %eax
	cmpq	%rcx, %rsi
	cmovbl	%edi, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_WEP_NKID,8,3         ## @IEEE80211_WEP_NKID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_get_keyid     ; -- Begin function ieee80211_crypto_get_keyid
	.p2align	2
_ieee80211_crypto_get_keyid:            ; @ieee80211_crypto_get_keyid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_WEP_NKID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_WEP_NKID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x9, x8, x9, lsl #2
	sub	x10, x1, x8
	cmp	x9, x1
	ccmp	x1, x8, #0, hi
	lsr	x8, x10, #2
	csel	w0, w8, wzr, hs
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_WEP_NKID,8,3         ; @IEEE80211_WEP_NKID
.subsections_via_symbols
