	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostap_is_eapol_frame
_hostap_is_eapol_frame:                 ## @hostap_is_eapol_frame
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpl	$24, (%rsi)
	jl	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rdi), %r12
	movq	8(%rsi), %r13
	movl	8(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, %r15d
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	_IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	orl	%eax, %ecx
	andl	%r15d, %ecx
	cmpl	%eax, %ecx
	jne	LBB0_4
## %bb.2:
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_ether_addr_equal
	movq	_IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rsi
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rdx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%r13), %edi
	movl	(%r12), %esi
	callq	_ether_addr_equal
	movq	_IEEE80211_FCTL_FROMDS@GOTPCREL(%rip), %rsi
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rdx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_4:
	movl	(%rsi), %eax
	movl	(%rdx), %ecx
	orl	%eax, %ecx
	andl	%r15d, %ecx
	cmpl	%eax, %ecx
	jne	LBB0_8
## %bb.5:
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	cmpl	$32, (%rbx)
	jl	LBB0_8
## %bb.7:
	movq	8(%rbx), %rax
	movl	120(%rax), %ecx
	shll	$8, %ecx
	orl	124(%rax), %ecx
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	(%rax), %ecx
	sete	%r14b
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FCTL_TODS,4,2        ## @IEEE80211_FCTL_TODS
	.comm	_IEEE80211_FCTL_FROMDS,4,2      ## @IEEE80211_FCTL_FROMDS
	.comm	_ETH_P_PAE,4,2                  ## @ETH_P_PAE
	.no_dead_strip	_hostap_is_eapol_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostap_is_eapol_frame
_hostap_is_eapol_frame:                 ; @hostap_is_eapol_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x1]
	cmp	w8, #24
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x1
	ldr	x21, [x0]
	ldr	x22, [x1, #8]
	ldr	w0, [x22, #8]
	bl	_le16_to_cpu
	mov	x20, x0
Lloh0:
	adrp	x23, _IEEE80211_FCTL_TODS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IEEE80211_FCTL_TODS@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x24, _IEEE80211_FCTL_FROMDS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IEEE80211_FCTL_FROMDS@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w9, w9, w8
	and	w9, w9, w0
	cmp	w9, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x22]
	ldr	w1, [x21]
	bl	_ether_addr_equal
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x22, #4]
	ldr	w1, [x21]
	bl	_ether_addr_equal
	cbnz	x0, LBB0_6
LBB0_4:
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w8, w9, w8
	and	w8, w8, w20
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	ldr	w0, [x22]
	ldr	w1, [x21]
	bl	_ether_addr_equal
	cbz	x0, LBB0_8
LBB0_6:
	ldr	w8, [x19]
	cmp	w8, #32
	b.ge	LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x19, #8]
	ldp	w9, w8, [x8, #120]
	orr	w8, w8, w9, lsl #8
Lloh4:
	adrp	x9, _ETH_P_PAE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ETH_P_PAE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FCTL_TODS,4,2        ; @IEEE80211_FCTL_TODS
	.comm	_IEEE80211_FCTL_FROMDS,4,2      ; @IEEE80211_FCTL_FROMDS
	.comm	_ETH_P_PAE,4,2                  ; @ETH_P_PAE
	.no_dead_strip	_hostap_is_eapol_frame
.subsections_via_symbols
