	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_is_ptk_eapol_key
_wil_is_ptk_eapol_key:                  ## @wil_is_ptk_eapol_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %r15d
	movq	%rsi, %rdi
	callq	_skb_mac_header_was_set
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_mac_offset
	subl	%eax, %r15d
	cmpl	$28, %r15d
	jb	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	callq	_skb_mac_header
	movq	16(%rax), %rcx
	movq	_WIL_1X_TYPE_EAPOL_KEY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.5:
	movq	48(%rax), %rcx
	movq	_WIL_EAPOL_KEY_TYPE_WPA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.6:
	movq	_WIL_EAPOL_KEY_TYPE_RSN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_9
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_wil_err
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rax, %rbx
	addq	$48, %rbx
	movl	56(%rax), %edi
	callq	_be16_to_cpu
	movl	%eax, %ecx
	movq	_WIL_KEY_INFO_KEY_TYPE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	cmovneq	%rbx, %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac header was not set\n"

	.comm	_WIL_1X_TYPE_EAPOL_KEY,8,3      ## @WIL_1X_TYPE_EAPOL_KEY
	.comm	_WIL_EAPOL_KEY_TYPE_WPA,8,3     ## @WIL_EAPOL_KEY_TYPE_WPA
	.comm	_WIL_EAPOL_KEY_TYPE_RSN,8,3     ## @WIL_EAPOL_KEY_TYPE_RSN
	.comm	_WIL_KEY_INFO_KEY_TYPE,4,2      ## @WIL_KEY_INFO_KEY_TYPE
	.no_dead_strip	_wil_is_ptk_eapol_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_is_ptk_eapol_key
_wil_is_ptk_eapol_key:                  ; @wil_is_ptk_eapol_key
	.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	x19, x1
	mov	x20, x0
	ldr	w21, [x1]
	mov	x0, x1
	bl	_skb_mac_header_was_set
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_skb_mac_offset
	sub	w8, w21, w0
	cmp	w8, #28
	b.lo	LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_skb_mac_header
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _WIL_1X_TYPE_EAPOL_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WIL_1X_TYPE_EAPOL_KEY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x19, x0
	ldr	x8, [x19, #48]!
Lloh3:
	adrp	x9, _WIL_EAPOL_KEY_TYPE_WPA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WIL_EAPOL_KEY_TYPE_WPA@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _WIL_EAPOL_KEY_TYPE_RSN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WIL_EAPOL_KEY_TYPE_RSN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x0, #56]
	bl	_be16_to_cpu
Lloh9:
	adrp	x8, _WIL_KEY_INFO_KEY_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WIL_KEY_INFO_KEY_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	csel	x0, xzr, x19, eq
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_wil_err
LBB0_6:
	mov	x0, #0
LBB0_7:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac header was not set\n"

	.comm	_WIL_1X_TYPE_EAPOL_KEY,8,3      ; @WIL_1X_TYPE_EAPOL_KEY
	.comm	_WIL_EAPOL_KEY_TYPE_WPA,8,3     ; @WIL_EAPOL_KEY_TYPE_WPA
	.comm	_WIL_EAPOL_KEY_TYPE_RSN,8,3     ; @WIL_EAPOL_KEY_TYPE_RSN
	.comm	_WIL_KEY_INFO_KEY_TYPE,4,2      ; @WIL_KEY_INFO_KEY_TYPE
	.no_dead_strip	_wil_is_ptk_eapol_key
.subsections_via_symbols
