	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eapol_sm_processKey
_eapol_sm_processKey:                   ## @eapol_sm_processKey
	.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
	subq	$1352, %rsp                     ## imm = 0x548
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IEEE8021X_KEY_SIGN_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -1384(%rbp)               ## 8-byte Spill
	movq	_IEEE8021X_KEY_IV_LEN@GOTPCREL(%rip), %rcx
	movq	_IEEE8021X_ENCR_KEY_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	addl	(%rcx), %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -1392(%rbp)               ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	64(%r14), %r12
	testq	%r12, %r12
	je	LBB0_42
## %bb.1:
	cmpl	$0, 28(%r14)
	je	LBB0_2
## %bb.4:
	cmpl	$52, (%r14)
	jb	LBB0_42
## %bb.5:
	movl	(%r12), %edi
	callq	_be_to_host16
	movslq	%eax, %rdx
	addq	$12, %rdx
	movslq	(%r14), %rcx
	cmpq	%rcx, %rdx
	ja	LBB0_7
## %bb.6:
	cmpl	$39, %eax
	jbe	LBB0_7
## %bb.8:
	movl	%eax, -1360(%rbp)               ## 4-byte Spill
	movq	%r15, -1336(%rbp)               ## 8-byte Spill
	movl	48(%r12), %edi
	callq	_WPA_GET_BE16
	movl	%eax, %r15d
	movl	(%rbx), %eax
	movl	%eax, -1340(%rbp)               ## 4-byte Spill
	movl	8(%r12), %eax
	movl	%eax, -1352(%rbp)               ## 4-byte Spill
	movl	(%r12), %edi
	movl	4(%r12), %ebx
	callq	_be_to_host16
	movl	12(%r12), %r10d
	movl	44(%r12), %r9d
	leaq	L_.str.3(%rip), %rsi
	movl	-1340(%rbp), %edi               ## 4-byte Reload
	movl	-1352(%rbp), %edx               ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	pushq	%r10
	movq	%r15, -1352(%rbp)               ## 8-byte Spill
	pushq	%r15
	callq	_wpa_printf
	addq	$16, %rsp
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_eapol_sm_notify_lower_layer_success
	movq	_IEEE8021X_SIGN_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %r15d
	leaq	-1376(%rbp), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_eapol_sm_get_key
	testl	%eax, %eax
	js	LBB0_9
## %bb.11:
	movq	-1384(%rbp), %r13               ## 8-byte Reload
	je	LBB0_18
## %bb.12:
	cmpl	$16, %eax
	movq	-1336(%rbp), %r15               ## 8-byte Reload
	jne	LBB0_15
## %bb.13:
	leaq	-1376(%rbp), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_eapol_sm_get_key
	testl	%eax, %eax
	je	LBB0_17
## %bb.14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_3:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_42:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_45
## %bb.43:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-1336(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_42
LBB0_15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edx
LBB0_16:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_42
LBB0_17:
	movq	-1376(%rbp), %rsi
	movq	-1368(%rbp), %rdi
	movl	$16, %edx
	callq	_os_memcpy
	movl	$16, %r15d
	movl	$16, %ebx
LBB0_18:
	movl	%ebx, -1340(%rbp)               ## 4-byte Spill
	cmpq	$0, 56(%r14)
	je	LBB0_21
## %bb.19:
	movq	48(%r14), %rdi
	movq	20(%r12), %rsi
	movq	_IEEE8021X_REPLAY_COUNTER_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_os_memcmp
	testq	%rax, %rax
	js	LBB0_21
## %bb.20:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	48(%r14), %rdx
	movl	(%rbx), %ecx
	leaq	L_.str.8(%rip), %rsi
	callq	_wpa_hexdump
	movl	(%r15), %edi
	movq	20(%r12), %rdx
	movl	(%rbx), %ecx
	leaq	L_.str.9(%rip), %rsi
	callq	_wpa_hexdump
	movq	-1336(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_42
LBB0_21:
	movl	%r15d, -1356(%rbp)              ## 4-byte Spill
	movq	36(%r12), %rsi
	movq	_IEEE8021X_KEY_SIGN_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_os_memcpy
	movq	36(%r12), %rdi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_os_memset
	movq	-1368(%rbp), %r15
	movq	64(%r14), %r13
	movl	(%r12), %edi
	callq	_be_to_host16
                                        ## kill: def $eax killed $eax def $rax
	leal	12(%rax), %ecx
	movq	36(%r12), %r8
	movq	%r15, %rdi
	movq	%rbx, %r15
	movl	-1340(%rbp), %esi               ## 4-byte Reload
	movq	%r13, %rdx
	movq	-1384(%rbp), %r13               ## 8-byte Reload
	callq	_hmac_md5
	movq	36(%r12), %rsi
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_os_memcmp_const
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	36(%r12), %rdi
	movl	(%r15), %edx
	movq	%r13, %rsi
	callq	_os_memcpy
	movq	-1336(%rbp), %r15               ## 8-byte Reload
	jmp	LBB0_42
LBB0_23:
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-1360(%rbp), %edx               ## 4-byte Reload
	addl	$-40, %edx
	cmpl	$32, %edx
	movq	-1336(%rbp), %r15               ## 8-byte Reload
	movq	-1352(%rbp), %r13               ## 8-byte Reload
	jg	LBB0_25
## %bb.24:
	cmpl	$33, %r13d
	jge	LBB0_25
## %bb.26:
	cmpl	%r13d, %edx
	jne	LBB0_28
## %bb.27:
	movq	28(%r12), %rsi
	movq	_IEEE8021X_KEY_IV_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	-1392(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_os_memcpy
	movslq	(%r15), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rbx,%rax,8), %rdi
	movq	-1376(%rbp), %rsi
	movl	-1356(%rbp), %r15d              ## 4-byte Reload
	movl	%r15d, %edx
	callq	_os_memcpy
	leaq	52(%r12), %rsi
	leaq	-1328(%rbp), %rdi
	movl	%r13d, %edx
	callq	_os_memcpy
	movq	_IEEE8021X_KEY_IV_LEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	leaq	-1328(%rbp), %r15
	movq	%r15, %rcx
	movl	%r13d, %r8d
	callq	_rc4_skip
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_30
LBB0_25:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edx, %edx
	cmovnel	%edx, %r13d
	leaq	L_.str.12(%rip), %rsi
	movl	%r13d, %edx
	jmp	LBB0_16
LBB0_28:
	testl	%edx, %edx
	je	LBB0_29
## %bb.44:
	movl	(%rbx), %edi
	leaq	L_.str.15(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_42
LBB0_29:
	movq	-1376(%rbp), %rsi
	leaq	-1328(%rbp), %r15
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_os_memcpy
	movl	(%rbx), %edi
	leaq	L_.str.14(%rip), %rsi
LBB0_30:
	movq	%r15, %rdx
	movl	%r13d, %ecx
	callq	_wpa_hexdump_key
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r14)
	movq	48(%r14), %rdi
	movq	20(%r12), %rsi
	movq	_IEEE8021X_REPLAY_COUNTER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_os_memcpy
	movl	12(%r12), %ecx
	movq	_IEEE8021X_KEY_INDEX_FLAG@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	andl	%ecx, %eax
	leaq	L_.str.18(%rip), %rax
	leaq	L_.str.17(%rip), %rdx
	cmoveq	%rax, %rdx
	movl	(%rbx), %edi
	movq	_IEEE8021X_KEY_INDEX_MASK@GOTPCREL(%rip), %rbx
	andl	(%rbx), %ecx
	leaq	L_.str.16(%rip), %rsi
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r14), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.31:
	movl	8(%rcx), %edi
	movl	12(%r12), %edx
	movl	(%r15), %esi
	andl	%edx, %esi
	andl	(%rbx), %edx
	leaq	-1328(%rbp), %rcx
	movl	%r13d, %r8d
	callq	*%rax
	testq	%rax, %rax
	js	LBB0_32
LBB0_33:
	movl	(%r15), %ecx
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testl	%ecx, 12(%r12)
	je	LBB0_35
## %bb.34:
	movq	%rax, 40(%r14)
	jmp	LBB0_36
LBB0_35:
	movq	%rax, 32(%r14)
	movq	40(%r14), %rax
LBB0_36:
	movq	-1336(%rbp), %r15               ## 8-byte Reload
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_37
LBB0_38:
	cmpq	$0, 32(%r14)
	je	LBB0_39
LBB0_40:
	movl	(%rcx), %edi
	leaq	L_.str.20(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%rbx), %rax
	movq	%rax, 16(%r14)
	movq	8(%r14), %rcx
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movl	8(%rcx), %edi
	callq	*%rax
	jmp	LBB0_42
LBB0_37:
	movq	_EAPOL_REQUIRE_KEY_UNICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%r14)
	jne	LBB0_42
	jmp	LBB0_38
LBB0_32:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.19(%rip), %rsi
	jmp	LBB0_10
LBB0_39:
	movq	_EAPOL_REQUIRE_KEY_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%r14)
	jne	LBB0_42
	jmp	LBB0_40
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE8021X_KEY_SIGN_LEN,4,2     ## @IEEE8021X_KEY_SIGN_LEN
	.comm	_IEEE8021X_KEY_IV_LEN,4,2       ## @IEEE8021X_KEY_IV_LEN
	.comm	_IEEE8021X_ENCR_KEY_LEN,4,2     ## @IEEE8021X_ENCR_KEY_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAPOL: processKey"

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"EAPOL: Received IEEE 802.1X EAPOL-Key even though this was not accepted - ignoring this packet"

L_.str.2:                               ## @.str.2
	.asciz	"EAPOL: Too short EAPOL-Key frame"

L_.str.3:                               ## @.str.3
	.asciz	"EAPOL: RX IEEE 802.1X ver=%d type=%d len=%d EAPOL-Key: type=%d key_length=%d key_index=0x%x"

	.comm	_IEEE8021X_SIGN_KEY_LEN,4,2     ## @IEEE8021X_SIGN_KEY_LEN
L_.str.4:                               ## @.str.4
	.asciz	"EAPOL: Could not get master key for decrypting EAPOL-Key keys"

L_.str.5:                               ## @.str.5
	.asciz	"EAPOL: Could not get LEAP master key for decrypting EAPOL-Key keys"

L_.str.6:                               ## @.str.6
	.asciz	"EAPOL: Could not get enough master key data for decrypting EAPOL-Key keys (res=%d)"

	.comm	_IEEE8021X_REPLAY_COUNTER_LEN,4,2 ## @IEEE8021X_REPLAY_COUNTER_LEN
L_.str.7:                               ## @.str.7
	.asciz	"EAPOL: EAPOL-Key replay counter did not increase - ignoring key"

L_.str.8:                               ## @.str.8
	.asciz	"EAPOL: last replay counter"

L_.str.9:                               ## @.str.9
	.asciz	"EAPOL: received replay counter"

L_.str.10:                              ## @.str.10
	.asciz	"EAPOL: Invalid key signature in EAPOL-Key packet"

L_.str.11:                              ## @.str.11
	.asciz	"EAPOL: EAPOL-Key key signature verified"

L_.str.12:                              ## @.str.12
	.asciz	"EAPOL: Too long key data length %d"

L_.str.13:                              ## @.str.13
	.asciz	"EAPOL: Decrypted(RC4) key"

L_.str.14:                              ## @.str.14
	.asciz	"EAPOL: using part of EAP keying material data encryption key"

L_.str.15:                              ## @.str.15
	.asciz	"EAPOL: Invalid key data length %d (key_length=%d)"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.16:                              ## @.str.16
	.asciz	"EAPOL: Setting dynamic WEP key: %s keyidx %d len %d"

	.comm	_IEEE8021X_KEY_INDEX_FLAG,4,2   ## @IEEE8021X_KEY_INDEX_FLAG
L_.str.17:                              ## @.str.17
	.asciz	"unicast"

L_.str.18:                              ## @.str.18
	.asciz	"broadcast"

	.comm	_IEEE8021X_KEY_INDEX_MASK,4,2   ## @IEEE8021X_KEY_INDEX_MASK
L_.str.19:                              ## @.str.19
	.asciz	"EAPOL: Failed to set WEP key to the  driver."

	.comm	_EAPOL_REQUIRE_KEY_UNICAST,4,2  ## @EAPOL_REQUIRE_KEY_UNICAST
	.comm	_EAPOL_REQUIRE_KEY_BROADCAST,4,2 ## @EAPOL_REQUIRE_KEY_BROADCAST
L_.str.20:                              ## @.str.20
	.asciz	"EAPOL: all required EAPOL-Key frames received"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.no_dead_strip	_eapol_sm_processKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eapol_sm_processKey
_eapol_sm_processKey:                   ; @eapol_sm_processKey
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1344
	mov	x19, sp
	mov	x20, x0
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _IEEE8021X_KEY_SIGN_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE8021X_KEY_SIGN_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7ffffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x8, _IEEE8021X_KEY_IV_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE8021X_KEY_IV_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x24, _IEEE8021X_ENCR_KEY_LEN@GOTPAGE
Lloh12:
	ldr	x24, [x24, _IEEE8021X_ENCR_KEY_LEN@GOTPAGEOFF]
	ldr	w9, [x24]
	add	w8, w9, w8
	mov	w9, #40
	umull	x9, w8, w9
	add	x8, x9, #15
	and	x8, x8, #0x7ffffffff0
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
Lloh15:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x27, [x20, #64]
	cbz	x27, LBB0_22
; %bb.1:
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_10
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #52
	b.lo	LBB0_22
; %bb.3:
	ldr	w0, [x27]
	bl	_be_to_host16
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x8, x8, #12
	ldrsw	x9, [x20]
	cmp	x8, x9
	b.hi	LBB0_11
; %bb.4:
	cmp	w0, #39
	b.ls	LBB0_11
; %bb.5:
	str	x0, [x19, #8]                   ; 8-byte Folded Spill
	str	x21, [x19, #24]                 ; 8-byte Folded Spill
	ldr	w0, [x27, #48]
	bl	_WPA_GET_BE16
	mov	x28, x0
	ldr	w25, [x25]
	ldp	w26, w21, [x27, #4]
	ldr	w0, [x27]
	bl	_be_to_host16
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x27, #44]
	ldr	w9, [x27, #12]
	sub	sp, sp, #48
	str	x28, [x19, #16]                 ; 8-byte Folded Spill
	mov	x10, x28
	stp	x10, x9, [sp, #32]
	stp	x0, x8, [sp, #16]
	stp	x21, x26, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_wpa_printf
	add	sp, sp, #48
	mov	x0, x20
	mov	w1, #1
	bl	_eapol_sm_notify_lower_layer_success
Lloh21:
	adrp	x8, _IEEE8021X_SIGN_KEY_LEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE8021X_SIGN_KEY_LEN@GOTPAGEOFF]
Lloh23:
	ldr	w25, [x8]
	ldr	w28, [x24]
	add	x1, x19, #32
	mov	x0, x20
	mov	w2, #16
	bl	_eapol_sm_get_key
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_12
; %bb.6:
Lloh24:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh25:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	cbz	w0, LBB0_13
; %bb.7:
	cmp	w0, #16
	ldr	x21, [x19, #24]                 ; 8-byte Folded Reload
	b.ne	LBB0_14
; %bb.8:
	add	x1, x19, #32
	mov	x0, x20
	mov	w2, #16
	bl	_eapol_sm_get_key
	cbz	w0, LBB0_16
; %bb.9:
	ldr	w0, [x26]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_22
LBB0_10:
Lloh28:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_22
LBB0_11:
Lloh33:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	b	LBB0_22
LBB0_12:
Lloh38:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	x21, [x19, #24]                 ; 8-byte Folded Reload
	b	LBB0_22
LBB0_13:
	ldr	x21, [x19, #24]                 ; 8-byte Folded Reload
	b	LBB0_17
LBB0_14:
	ldr	w8, [x26]
	str	x0, [sp, #-16]!
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x8
LBB0_15:
	bl	_wpa_printf
	add	sp, sp, #16
	b	LBB0_22
LBB0_16:
	ldp	x1, x0, [x19, #32]
	mov	w25, #16
	mov	w2, #16
	bl	_os_memcpy
	mov	w28, #16
LBB0_17:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_20
; %bb.18:
	ldr	x0, [x20, #48]
	ldur	x1, [x27, #20]
Lloh45:
	adrp	x24, _IEEE8021X_REPLAY_COUNTER_LEN@GOTPAGE
Lloh46:
	ldr	x24, [x24, _IEEE8021X_REPLAY_COUNTER_LEN@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_os_memcmp
	tbnz	x0, #63, LBB0_20
; %bb.19:
Lloh47:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.7@PAGE
Lloh51:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x26]
	ldr	x2, [x20, #48]
	ldr	w3, [x24]
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_hexdump
	ldr	w0, [x26]
	ldur	x2, [x27, #20]
	ldr	w3, [x24]
Lloh54:
	adrp	x1, l_.str.9@PAGE
Lloh55:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_hexdump
	b	LBB0_22
LBB0_20:
	ldur	x1, [x27, #36]
Lloh56:
	adrp	x24, _IEEE8021X_KEY_SIGN_LEN@GOTPAGE
Lloh57:
	ldr	x24, [x24, _IEEE8021X_KEY_SIGN_LEN@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x23
	bl	_os_memcpy
	ldur	x0, [x27, #36]
	ldr	w2, [x24]
	mov	w1, #0
	bl	_os_memset
	ldr	x8, [x19, #40]
	str	x8, [x19]                       ; 8-byte Folded Spill
	ldr	x8, [x20, #64]
	str	x8, [x19, #24]                  ; 8-byte Folded Spill
	ldr	w0, [x27]
	bl	_be_to_host16
	add	w3, w0, #12
	ldur	x4, [x27, #36]
	ldr	x0, [x19]                       ; 8-byte Folded Reload
	mov	x1, x25
	ldr	x2, [x19, #24]                  ; 8-byte Folded Reload
	bl	_hmac_md5
	ldur	x1, [x27, #36]
	ldr	w2, [x24]
	mov	x0, x23
	bl	_os_memcmp_const
	mov	x8, x0
	ldr	w0, [x26]
	cbz	x8, LBB0_24
; %bb.21:
Lloh58:
	adrp	x1, l_.str.10@PAGE
Lloh59:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	ldur	x0, [x27, #36]
	ldr	w2, [x24]
	mov	x1, x23
	bl	_os_memcpy
LBB0_22:
	mov	sp, x21
	ldur	x8, [x29, #-96]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.23:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh63:
	adrp	x1, l_.str.11@PAGE
Lloh64:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	ldp	x8, x25, [x19, #8]              ; 16-byte Folded Reload
	sub	w8, w8, #40
	cmp	w8, #32
	b.gt	LBB0_28
; %bb.25:
	cmp	w25, #33
	b.ge	LBB0_28
; %bb.26:
	cmp	w8, w25
	b.ne	LBB0_29
; %bb.27:
	ldur	x1, [x27, #28]
Lloh65:
	adrp	x23, _IEEE8021X_KEY_IV_LEN@GOTPAGE
Lloh66:
	ldr	x23, [x23, _IEEE8021X_KEY_IV_LEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x22
	bl	_os_memcpy
	ldrsw	x8, [x23]
	mov	w9, #40
	madd	x0, x8, x9, x22
	ldr	x1, [x19, #32]
	mov	x2, x28
	bl	_os_memcpy
	add	x1, x27, #52
	add	x0, x19, #48
	mov	x2, x25
	bl	_os_memcpy
	ldr	w8, [x23]
	add	w1, w8, w28
	add	x3, x19, #48
	mov	x0, x22
	mov	w2, #0
	mov	x4, x25
	bl	_rc4_skip
	ldr	w0, [x26]
Lloh67:
	adrp	x1, l_.str.13@PAGE
Lloh68:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_32
LBB0_28:
Lloh69:
	adrp	x9, _MSG_WARNING@GOTPAGE
Lloh70:
	ldr	x9, [x9, _MSG_WARNING@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x9]
	cmp	w8, #0
	csel	w8, w25, w8, eq
	str	x8, [sp, #-16]!
Lloh72:
	adrp	x1, l_.str.12@PAGE
Lloh73:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_15
LBB0_29:
	cbz	w8, LBB0_31
; %bb.30:
	ldr	w0, [x26]
	mov	x9, x25
	stp	x8, x9, [sp, #-16]!
Lloh74:
	adrp	x1, l_.str.15@PAGE
Lloh75:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_15
LBB0_31:
	ldr	x1, [x19, #32]
	add	x0, x19, #48
	mov	x2, x25
	bl	_os_memcpy
	ldr	w0, [x26]
Lloh76:
	adrp	x1, l_.str.14@PAGE
Lloh77:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_32:
	add	x2, x19, #48
	mov	x3, x25
	bl	_wpa_hexdump_key
Lloh78:
	adrp	x22, _TRUE@GOTPAGE
Lloh79:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x20, #56]
	ldr	x0, [x20, #48]
	ldur	x1, [x27, #20]
Lloh80:
	adrp	x8, _IEEE8021X_REPLAY_COUNTER_LEN@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IEEE8021X_REPLAY_COUNTER_LEN@GOTPAGEOFF]
Lloh82:
	ldr	w2, [x8]
	bl	_os_memcpy
	ldr	w0, [x26]
Lloh83:
	adrp	x23, _IEEE8021X_KEY_INDEX_FLAG@GOTPAGE
Lloh84:
	ldr	x23, [x23, _IEEE8021X_KEY_INDEX_FLAG@GOTPAGEOFF]
	ldr	w8, [x27, #12]
	ldr	w9, [x23]
Lloh85:
	adrp	x10, l_.str.17@PAGE
Lloh86:
	add	x10, x10, l_.str.17@PAGEOFF
Lloh87:
	adrp	x11, l_.str.18@PAGE
Lloh88:
	add	x11, x11, l_.str.18@PAGEOFF
	tst	w9, w8
	csel	x9, x11, x10, eq
Lloh89:
	adrp	x24, _IEEE8021X_KEY_INDEX_MASK@GOTPAGE
Lloh90:
	ldr	x24, [x24, _IEEE8021X_KEY_INDEX_MASK@GOTPAGEOFF]
	ldr	w10, [x24]
	and	w8, w10, w8
	sub	sp, sp, #32
	stp	x8, x25, [sp, #8]
	str	x9, [sp]
Lloh91:
	adrp	x1, l_.str.16@PAGE
Lloh92:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #32
	ldr	x9, [x20, #8]
	ldr	x8, [x9]
	cbz	x8, LBB0_34
; %bb.33:
	ldr	w0, [x9, #8]
	ldr	w9, [x27, #12]
	ldr	w10, [x23]
	and	w1, w10, w9
	ldr	w10, [x24]
	and	w2, w10, w9
	add	x3, x19, #48
	mov	x4, x25
	blr	x8
	tbnz	x0, #63, LBB0_42
LBB0_34:
	ldr	w9, [x27, #12]
	ldr	w10, [x23]
	ldr	x8, [x22]
	tst	w10, w9
	b.eq	LBB0_36
; %bb.35:
	str	x8, [x20, #40]
	b	LBB0_37
LBB0_36:
	str	x8, [x20, #32]
	ldr	x8, [x20, #40]
LBB0_37:
	cbz	x8, LBB0_41
LBB0_38:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_43
LBB0_39:
	ldr	w0, [x26]
Lloh93:
	adrp	x1, l_.str.20@PAGE
Lloh94:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x22]
	str	x8, [x20, #16]
	ldr	x9, [x20, #8]
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_22
; %bb.40:
	ldr	w0, [x9, #8]
	blr	x8
	b	LBB0_22
LBB0_41:
	ldr	w8, [x20, #24]
Lloh95:
	adrp	x9, _EAPOL_REQUIRE_KEY_UNICAST@GOTPAGE
Lloh96:
	ldr	x9, [x9, _EAPOL_REQUIRE_KEY_UNICAST@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
	b	LBB0_38
LBB0_42:
Lloh98:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh99:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh100:
	ldr	w0, [x8]
Lloh101:
	adrp	x1, l_.str.19@PAGE
Lloh102:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_wpa_printf
	b	LBB0_22
LBB0_43:
	ldr	w8, [x20, #24]
Lloh103:
	adrp	x9, _EAPOL_REQUIRE_KEY_BROADCAST@GOTPAGE
Lloh104:
	ldr	x9, [x9, _EAPOL_REQUIRE_KEY_BROADCAST@GOTPAGEOFF]
Lloh105:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
	b	LBB0_39
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE8021X_KEY_SIGN_LEN,4,2     ; @IEEE8021X_KEY_SIGN_LEN
	.comm	_IEEE8021X_KEY_IV_LEN,4,2       ; @IEEE8021X_KEY_IV_LEN
	.comm	_IEEE8021X_ENCR_KEY_LEN,4,2     ; @IEEE8021X_ENCR_KEY_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAPOL: processKey"

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"EAPOL: Received IEEE 802.1X EAPOL-Key even though this was not accepted - ignoring this packet"

l_.str.2:                               ; @.str.2
	.asciz	"EAPOL: Too short EAPOL-Key frame"

l_.str.3:                               ; @.str.3
	.asciz	"EAPOL: RX IEEE 802.1X ver=%d type=%d len=%d EAPOL-Key: type=%d key_length=%d key_index=0x%x"

	.comm	_IEEE8021X_SIGN_KEY_LEN,4,2     ; @IEEE8021X_SIGN_KEY_LEN
l_.str.4:                               ; @.str.4
	.asciz	"EAPOL: Could not get master key for decrypting EAPOL-Key keys"

l_.str.5:                               ; @.str.5
	.asciz	"EAPOL: Could not get LEAP master key for decrypting EAPOL-Key keys"

l_.str.6:                               ; @.str.6
	.asciz	"EAPOL: Could not get enough master key data for decrypting EAPOL-Key keys (res=%d)"

	.comm	_IEEE8021X_REPLAY_COUNTER_LEN,4,2 ; @IEEE8021X_REPLAY_COUNTER_LEN
l_.str.7:                               ; @.str.7
	.asciz	"EAPOL: EAPOL-Key replay counter did not increase - ignoring key"

l_.str.8:                               ; @.str.8
	.asciz	"EAPOL: last replay counter"

l_.str.9:                               ; @.str.9
	.asciz	"EAPOL: received replay counter"

l_.str.10:                              ; @.str.10
	.asciz	"EAPOL: Invalid key signature in EAPOL-Key packet"

l_.str.11:                              ; @.str.11
	.asciz	"EAPOL: EAPOL-Key key signature verified"

l_.str.12:                              ; @.str.12
	.asciz	"EAPOL: Too long key data length %d"

l_.str.13:                              ; @.str.13
	.asciz	"EAPOL: Decrypted(RC4) key"

l_.str.14:                              ; @.str.14
	.asciz	"EAPOL: using part of EAP keying material data encryption key"

l_.str.15:                              ; @.str.15
	.asciz	"EAPOL: Invalid key data length %d (key_length=%d)"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.16:                              ; @.str.16
	.asciz	"EAPOL: Setting dynamic WEP key: %s keyidx %d len %d"

	.comm	_IEEE8021X_KEY_INDEX_FLAG,4,2   ; @IEEE8021X_KEY_INDEX_FLAG
l_.str.17:                              ; @.str.17
	.asciz	"unicast"

l_.str.18:                              ; @.str.18
	.asciz	"broadcast"

	.comm	_IEEE8021X_KEY_INDEX_MASK,4,2   ; @IEEE8021X_KEY_INDEX_MASK
l_.str.19:                              ; @.str.19
	.asciz	"EAPOL: Failed to set WEP key to the  driver."

	.comm	_EAPOL_REQUIRE_KEY_UNICAST,4,2  ; @EAPOL_REQUIRE_KEY_UNICAST
	.comm	_EAPOL_REQUIRE_KEY_BROADCAST,4,2 ; @EAPOL_REQUIRE_KEY_BROADCAST
l_.str.20:                              ; @.str.20
	.asciz	"EAPOL: all required EAPOL-Key frames received"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.no_dead_strip	_eapol_sm_processKey
.subsections_via_symbols
