	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_psk_process_2
_eap_psk_process_2:                     ## @eap_psk_process_2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_PSK_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	(%r13), %rax
	movq	_PSK_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_EAP_TYPE_PSK@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, %r15
	movq	-64(%rbp), %rax
	cmpq	$15, %rax
	jbe	LBB0_17
## %bb.3:
	leaq	16(%r15), %rbx
	addq	$-16, %rax
	movq	%rax, -64(%rbp)
	movq	40(%r13), %rdi
	callq	_os_free
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_os_memdup
	movq	%rax, 40(%r13)
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	-64(%rbp), %rcx
	movq	%rcx, 8(%r13)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_ascii
	movq	8(%r13), %rdx
	movq	40(%r13), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_eap_user_get
	testq	%rax, %rax
	js	LBB0_20
## %bb.5:
	movq	_EAP_MAX_METHODS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_19
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r8
	movq	16(%r8), %rdx
	movq	(%r12), %rdi
	movq	_EAP_TYPE_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %r9
	shlq	$4, %rcx
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %rbx
	cmpq	%rbx, %rcx
	je	LBB0_19
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rdx,%rbx)
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%rdx,%rbx), %rsi
	cmpq	%rax, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%r9, %rsi
	jne	LBB0_7
LBB0_11:
	cmpq	%rdi, (%rdx,%rbx)
	jne	LBB0_19
## %bb.12:
	cmpq	%r9, 8(%rdx,%rbx)
	jne	LBB0_19
## %bb.13:
	movq	8(%r8), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.14:
	movq	(%r8), %rax
	movq	_EAP_PSK_PSK_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.15:
	movl	16(%r13), %esi
	movl	48(%r13), %edx
	callq	_eap_psk_key_setup
	testq	%rax, %rax
	jne	LBB0_22
## %bb.27:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	16(%r13), %edx
	movq	_EAP_PSK_AK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rsi
	callq	_wpa_hexdump_key
	movl	(%rbx), %edi
	movl	48(%r13), %edx
	movq	_EAP_PSK_KDK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.8(%rip), %rsi
	callq	_wpa_hexdump_key
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rdx
	movq	_EAP_PSK_RAND_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	L_.str.9(%rip), %rsi
	callq	_wpa_hexdump
	movq	24(%r13), %rdi
	movq	8(%r15), %rsi
	movl	(%r14), %edx
	callq	_os_memcpy
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rbx), %rax
	addq	8(%r13), %rax
	movslq	(%r14), %rcx
	leaq	(%rax,%rcx,2), %r12
	movq	%r12, %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.28:
	movq	40(%r13), %rsi
	movl	8(%r13), %edx
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_os_memcpy
	movq	8(%r13), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	callq	_os_memcpy
	movslq	(%rbx), %rax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	movq	32(%r13), %rsi
	movq	_EAP_PSK_RAND_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_os_memcpy
	movslq	(%rbx), %rdx
	leaq	(%r12,%rdx,4), %rdi
	movq	24(%r13), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_os_memcpy
	movl	16(%r13), %edi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_omac1_aes_128
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_os_free
	testq	%r12, %r12
	jne	LBB0_22
## %bb.29:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	movq	%rbx, %r14
	movq	_EAP_PSK_MAC_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	L_.str.10(%rip), %rsi
	callq	_wpa_hexdump
	movq	(%r15), %rsi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %ecx
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	jmp	LBB0_22
LBB0_17:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_24
LBB0_18:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_24
LBB0_19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rcx
	movq	40(%r13), %rdx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_21
LBB0_20:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rcx
	movq	40(%r13), %rdx
	leaq	L_.str.4(%rip), %rsi
LBB0_21:
	callq	_wpa_hexdump_ascii
LBB0_22:
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_23:
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rcx
	movq	40(%r13), %rdx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_21
LBB0_31:
	movq	_PSK_3@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_PSK_MAC_LEN,4,2            ## @EAP_PSK_MAC_LEN
	.comm	_PSK_1,8,3                      ## @PSK_1
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-PSK: Received PSK-2"

	.comm	_EAP_VENDOR_IETF,8,3            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_PSK,8,3               ## @EAP_TYPE_PSK
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-PSK: Invalid frame"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-PSK: Failed to allocate memory for ID_P"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.3:                               ## @.str.3
	.asciz	"EAP-PSK: ID_P"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-PSK: unknown ID_P"

	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_EAP_MAX_METHODS,4,2            ## @EAP_MAX_METHODS
	.comm	_EAP_TYPE_NONE,8,3              ## @EAP_TYPE_NONE
L_.str.5:                               ## @.str.5
	.asciz	"EAP-PSK: EAP-PSK not enabled for ID_P"

	.comm	_EAP_PSK_PSK_LEN,8,3            ## @EAP_PSK_PSK_LEN
L_.str.6:                               ## @.str.6
	.asciz	"EAP-PSK: invalid password in user database for ID_P"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-PSK: AK"

	.comm	_EAP_PSK_AK_LEN,4,2             ## @EAP_PSK_AK_LEN
L_.str.8:                               ## @.str.8
	.asciz	"EAP-PSK: KDK"

	.comm	_EAP_PSK_KDK_LEN,4,2            ## @EAP_PSK_KDK_LEN
L_.str.9:                               ## @.str.9
	.asciz	"EAP-PSK: RAND_P (client rand)"

	.comm	_EAP_PSK_RAND_LEN,4,2           ## @EAP_PSK_RAND_LEN
L_.str.10:                              ## @.str.10
	.asciz	"EAP-PSK: MAC_P"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-PSK: Invalid MAC_P"

L_.str.12:                              ## @.str.12
	.asciz	"EAP-PSK: Expected MAC_P"

	.comm	_PSK_3,8,3                      ## @PSK_3
	.no_dead_strip	_eap_psk_process_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_psk_process_2
_eap_psk_process_2:                     ; @eap_psk_process_2
	.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, #16
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _EAP_PSK_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x26, [x26, _EAP_PSK_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x1]
Lloh7:
	adrp	x9, _PSK_1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PSK_1@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.1:
Lloh10:
	adrp	x27, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x27, [x27, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh14:
	adrp	x25, _EAP_VENDOR_IETF@GOTPAGE
Lloh15:
	ldr	x25, [x25, _EAP_VENDOR_IETF@GOTPAGEOFF]
	ldr	x0, [x25]
Lloh16:
	adrp	x24, _EAP_TYPE_PSK@GOTPAGE
Lloh17:
	ldr	x24, [x24, _EAP_TYPE_PSK@GOTPAGEOFF]
	ldr	x1, [x24]
	sub	x3, x29, #96
	mov	x2, x21
	bl	_eap_hdr_validate
	ldur	x8, [x29, #-96]
	cmp	x0, #0
	ccmp	x8, #15, #0, ne
	b.hi	LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_25
LBB0_3:
	mov	x21, x0
	add	x23, x0, #16
	sub	x8, x8, #16
	stur	x8, [x29, #-96]
	ldr	x0, [x19, #40]
	bl	_os_free
	ldur	x1, [x29, #-96]
	mov	x0, x23
	bl	_os_memdup
	str	x0, [x19, #40]
	cbz	x0, LBB0_19
; %bb.4:
	mov	x2, x0
	ldur	x3, [x29, #-96]
	str	x3, [x19, #8]
Lloh23:
	adrp	x28, _MSG_MSGDUMP@GOTPAGE
Lloh24:
	ldr	x28, [x28, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_hexdump_ascii
	ldr	x1, [x19, #40]
	ldr	x2, [x19, #8]
	mov	x0, x22
	mov	w3, #0
	bl	_eap_user_get
	tbnz	x0, #63, LBB0_21
; %bb.5:
Lloh27:
	adrp	x8, _EAP_MAX_METHODS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAP_MAX_METHODS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_20
; %bb.6:
	ldr	x8, [x22, #16]
	ldr	x12, [x8, #16]
	ldr	x11, [x25]
Lloh30:
	adrp	x10, _EAP_TYPE_NONE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _EAP_TYPE_NONE@GOTPAGEOFF]
Lloh32:
	ldr	x13, [x10]
	ldr	x10, [x24]
	add	x12, x12, #8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x12, x12, #16
	subs	x9, x9, #1
	b.eq	LBB0_20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x14, [x12, #-8]
	cmp	x14, x11
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x14, [x12]
	cmp	x14, x13
	ccmp	x14, x10, #4, ne
	b.ne	LBB0_7
; %bb.10:
	ldur	x9, [x12, #-8]
	cmp	x9, x11
	b.ne	LBB0_20
; %bb.11:
	ldr	x9, [x12]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.12:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_27
; %bb.13:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _EAP_PSK_PSK_LEN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EAP_PSK_PSK_LEN@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.14:
	ldr	w1, [x19, #16]
	ldr	w2, [x19, #48]
	bl	_eap_psk_key_setup
	cbnz	x0, LBB0_23
; %bb.15:
	ldr	w0, [x27]
	ldr	w2, [x19, #16]
Lloh36:
	adrp	x8, _EAP_PSK_AK_LEN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EAP_PSK_AK_LEN@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_hexdump_key
	ldr	w0, [x27]
	ldr	w2, [x19, #48]
Lloh41:
	adrp	x8, _EAP_PSK_KDK_LEN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EAP_PSK_KDK_LEN@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
Lloh44:
	adrp	x1, l_.str.8@PAGE
Lloh45:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_hexdump_key
	ldr	w0, [x28]
	ldr	x2, [x21, #8]
Lloh46:
	adrp	x23, _EAP_PSK_RAND_LEN@GOTPAGE
Lloh47:
	ldr	x23, [x23, _EAP_PSK_RAND_LEN@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh48:
	adrp	x1, l_.str.9@PAGE
Lloh49:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_hexdump
	ldr	x0, [x19, #24]
	ldr	x1, [x21, #8]
	ldr	w2, [x23]
	bl	_os_memcpy
	ldr	x8, [x19, #8]
	ldrsw	x9, [x22]
	add	x8, x8, x9
	ldrsw	x9, [x23]
	add	x24, x8, x9, lsl #1
	mov	x0, x24
	bl	_os_malloc
	cbz	x0, LBB0_23
; %bb.16:
	mov	x23, x0
	ldr	x1, [x19, #40]
	ldr	w2, [x19, #8]
	bl	_os_memcpy
	ldr	x8, [x19, #8]
	add	x25, x23, x8, lsl #2
	ldr	x1, [x22, #8]
	ldr	w2, [x22]
	mov	x0, x25
	bl	_os_memcpy
	ldrsw	x8, [x22]
	add	x22, x25, x8, lsl #2
	ldr	x1, [x19, #32]
Lloh50:
	adrp	x25, _EAP_PSK_RAND_LEN@GOTPAGE
Lloh51:
	ldr	x25, [x25, _EAP_PSK_RAND_LEN@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x22
	bl	_os_memcpy
	ldrsw	x2, [x25]
	add	x0, x22, x2, lsl #2
	ldr	x1, [x19, #24]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_os_memcpy
	ldr	w0, [x19, #16]
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_omac1_aes_128
	mov	x22, x0
	mov	x0, x23
	bl	_os_free
	cbnz	x22, LBB0_23
; %bb.17:
	ldr	w0, [x27]
	ldr	x2, [x21]
	ldr	w3, [x26]
Lloh52:
	adrp	x1, l_.str.10@PAGE
Lloh53:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_hexdump
	ldr	x1, [x21]
	ldr	w2, [x26]
	mov	x0, x20
	bl	_os_memcmp_const
	cbz	x0, LBB0_28
; %bb.18:
Lloh54:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x1, l_.str.11@PAGE
Lloh58:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x28]
	ldr	w3, [x26]
Lloh59:
	adrp	x1, l_.str.12@PAGE
Lloh60:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump
	b	LBB0_23
LBB0_19:
Lloh61:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x1, l_.str.2@PAGE
Lloh65:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	b	LBB0_25
LBB0_20:
	ldr	w0, [x27]
	ldr	x2, [x19, #40]
	ldr	x3, [x19, #8]
Lloh66:
	adrp	x1, l_.str.5@PAGE
Lloh67:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_22
LBB0_21:
	ldr	w0, [x27]
	ldr	x2, [x19, #40]
	ldr	x3, [x19, #8]
Lloh68:
	adrp	x1, l_.str.4@PAGE
Lloh69:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_22:
	bl	_wpa_hexdump_ascii
LBB0_23:
Lloh70:
	adrp	x8, _FAILURE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_24:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_25:
	ldur	x8, [x29, #-88]
Lloh72:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh73:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.26:
	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_27:
	ldr	w0, [x27]
	ldr	x2, [x19, #40]
	ldr	x3, [x19, #8]
Lloh75:
	adrp	x1, l_.str.6@PAGE
Lloh76:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_28:
Lloh77:
	adrp	x8, _PSK_3@GOTPAGE
Lloh78:
	ldr	x8, [x8, _PSK_3@GOTPAGEOFF]
	b	LBB0_24
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_PSK_MAC_LEN,4,2            ; @EAP_PSK_MAC_LEN
	.comm	_PSK_1,8,3                      ; @PSK_1
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-PSK: Received PSK-2"

	.comm	_EAP_VENDOR_IETF,8,3            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_PSK,8,3               ; @EAP_TYPE_PSK
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-PSK: Invalid frame"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-PSK: Failed to allocate memory for ID_P"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.3:                               ; @.str.3
	.asciz	"EAP-PSK: ID_P"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-PSK: unknown ID_P"

	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_EAP_MAX_METHODS,4,2            ; @EAP_MAX_METHODS
	.comm	_EAP_TYPE_NONE,8,3              ; @EAP_TYPE_NONE
l_.str.5:                               ; @.str.5
	.asciz	"EAP-PSK: EAP-PSK not enabled for ID_P"

	.comm	_EAP_PSK_PSK_LEN,8,3            ; @EAP_PSK_PSK_LEN
l_.str.6:                               ; @.str.6
	.asciz	"EAP-PSK: invalid password in user database for ID_P"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-PSK: AK"

	.comm	_EAP_PSK_AK_LEN,4,2             ; @EAP_PSK_AK_LEN
l_.str.8:                               ; @.str.8
	.asciz	"EAP-PSK: KDK"

	.comm	_EAP_PSK_KDK_LEN,4,2            ; @EAP_PSK_KDK_LEN
l_.str.9:                               ; @.str.9
	.asciz	"EAP-PSK: RAND_P (client rand)"

	.comm	_EAP_PSK_RAND_LEN,4,2           ; @EAP_PSK_RAND_LEN
l_.str.10:                              ; @.str.10
	.asciz	"EAP-PSK: MAC_P"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-PSK: Invalid MAC_P"

l_.str.12:                              ; @.str.12
	.asciz	"EAP-PSK: Expected MAC_P"

	.comm	_PSK_3,8,3                      ; @PSK_3
	.no_dead_strip	_eap_psk_process_2
.subsections_via_symbols
