	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_process_reauthentication
_eap_aka_process_reauthentication:      ## @eap_aka_process_reauthentication
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	64(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movl	56(%rbx), %edx
	movq	%r13, %rdi
	callq	_eap_aka_verify_checkcode
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	cmpq	$0, 96(%r13)
	je	LBB0_5
## %bb.6:
	movl	$1, (%r13)
	movq	48(%rbx), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_eap_aka_verify_mac
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_3
LBB0_5:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_8:
	movq	144(%r13), %rdi
	movq	48(%rbx), %rsi
	movq	_EAP_SIM_MAC_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_os_memcpy
	movl	(%r12), %edi
	movq	144(%r13), %rdx
	movl	(%r15), %ecx
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_hexdump
	movq	40(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	24(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.11:
	movl	136(%r13), %edi
	movl	32(%rbx), %edx
	leaq	-128(%rbp), %r8
	xorl	%r9d, %r9d
	callq	_eap_sim_parse_encr
	testq	%rax, %rax
	je	LBB0_12
## %bb.14:
	movq	%rax, %r15
	movq	-120(%rbp), %rsi
	movq	-112(%rbp), %rdx
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	testq	%rdx, %rdx
	js	LBB0_16
## %bb.17:
	movq	8(%r13), %rcx
	cmpq	%rcx, %rdx
	jbe	LBB0_18
## %bb.19:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, 8(%r13)
	movq	40(%r13), %rdi
	movq	_EAP_SIM_NONCE_S_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_os_memcpy
	movl	(%r12), %edi
	movq	40(%r13), %rdx
	movl	(%r15), %ecx
	leaq	L_.str.12(%rip), %rsi
	callq	_wpa_hexdump
	movq	16(%r13), %rax
	movq	_EAP_TYPE_AKA_PRIME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:
	movl	104(%r13), %edi
	movq	96(%r13), %rdx
	movq	88(%r13), %rcx
	movq	8(%r13), %rsi
	movq	40(%r13), %r8
	movl	76(%r13), %r9d
	movl	72(%r13), %eax
	movl	%eax, (%rsp)
	callq	_eap_aka_prime_derive_keys_reauth
	jmp	LBB0_22
LBB0_10:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_3:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_AKA_UNABLE_TO_PROCESS_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_aka_client_error           ## TAILCALL
LBB0_12:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_13
LBB0_16:
	testq	%rsi, %rsi
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmovneq	%rsi, %rax
	testq	%rdx, %rdx
	movq	_MSG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.10(%rip), %rcx
	cmovnsq	%rsi, %rcx
	leaq	L_.str.8(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_os_free
LBB0_13:
	movq	_EAP_AKA_UNABLE_TO_PROCESS_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_eap_aka_client_error
LBB0_33:
	movq	%rax, %rbx
LBB0_34:
	movq	%rbx, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-112(%rbp), %rax
	movq	%rax, 128(%r13)
	movq	120(%r13), %rdi
	callq	_os_free
	movups	88(%r13), %xmm0
	movups	%xmm0, 112(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r13)
	movq	-120(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_eap_aka_response_reauth
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_os_free
	jmp	LBB0_34
LBB0_21:
	movq	96(%r13), %rsi
	movq	88(%r13), %rdx
	movq	8(%r13), %rdi
	movq	40(%r13), %rcx
	movl	80(%r13), %r8d
	movl	76(%r13), %r9d
	movl	72(%r13), %eax
	movl	%eax, (%rsp)
	callq	_eap_sim_derive_keys_reauth
LBB0_22:
	movq	_CLEAR_REAUTH_ID@GOTPCREL(%rip), %rax
	movq	_CLEAR_EAP_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_eap_aka_clear_identities
	leaq	-128(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_eap_aka_learn_ids
	cmpq	$0, 64(%r13)
	je	LBB0_25
## %bb.23:
	cmpq	$0, (%rbx)
	je	LBB0_25
## %bb.24:
	movl	$1, 24(%r13)
LBB0_25:
	movq	32(%r13), %rax
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_30
## %bb.26:
	cmpl	$0, 24(%r13)
	jne	LBB0_27
## %bb.28:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_27:
	movq	_RESULT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_eap_aka_state
LBB0_30:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r13)
	movq	8(%r13), %rax
	movq	_EAP_AKA_MAX_FAST_REAUTHS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_32
## %bb.31:
	movl	(%r12), %edi
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_CLEAR_EAP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CLEAR_REAUTH_ID@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_eap_aka_clear_identities
LBB0_32:
	movq	%rbx, %rdi
	callq	_os_free
	movq	40(%r13), %rcx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_eap_aka_response_reauth
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-AKA: subtype Reauthentication"

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: Invalid AT_CHECKCODE in the message"

	.comm	_EAP_AKA_UNABLE_TO_PROCESS_PACKET,4,2 ## @EAP_AKA_UNABLE_TO_PROCESS_PACKET
L_.str.2:                               ## @.str.2
	.asciz	"EAP-AKA: Server is trying reauthentication, but no reauth_id available"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"EAP-AKA: Reauthentication did not have valid AT_MAC"

	.comm	_EAP_SIM_MAC_LEN,4,2            ## @EAP_SIM_MAC_LEN
L_.str.5:                               ## @.str.5
	.asciz	"EAP-AKA: Server MAC"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-AKA: Reauthentication message did not include encrypted data"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-AKA: Failed to parse encrypted data from reauthentication message"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.8:                               ## @.str.8
	.asciz	"EAP-AKA: (encr) No%s%s in reauth packet"

L_.str.9:                               ## @.str.9
	.asciz	" AT_NONCE_S"

L_.str.10:                              ## @.str.10
	.asciz	" AT_COUNTER"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-AKA: (encr) Invalid counter (%d <= %d)"

	.comm	_EAP_SIM_NONCE_S_LEN,4,2        ## @EAP_SIM_NONCE_S_LEN
L_.str.12:                              ## @.str.12
	.asciz	"EAP-AKA: (encr) AT_NONCE_S"

	.comm	_EAP_TYPE_AKA_PRIME,8,3         ## @EAP_TYPE_AKA_PRIME
	.comm	_CLEAR_REAUTH_ID,4,2            ## @CLEAR_REAUTH_ID
	.comm	_CLEAR_EAP_ID,4,2               ## @CLEAR_EAP_ID
	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_RESULT_SUCCESS,4,2             ## @RESULT_SUCCESS
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.comm	_EAP_AKA_MAX_FAST_REAUTHS,8,3   ## @EAP_AKA_MAX_FAST_REAUTHS
L_.str.13:                              ## @.str.13
	.asciz	"EAP-AKA: Maximum number of fast reauths performed - force fullauth"

	.no_dead_strip	_eap_aka_process_reauthentication
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_aka_process_reauthentication
_eap_aka_process_reauthentication:      ; @eap_aka_process_reauthentication
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x1, [x23, #64]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w2, [x23, #56]
	mov	x0, x20
	bl	_eap_aka_verify_checkcode
	cbz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_3:
	ldr	x8, [x20, #96]
	cbz	x8, LBB0_6
; %bb.4:
	mov	w8, #1
	str	w8, [x20]
	ldr	x2, [x23, #48]
Lloh9:
	adrp	x24, l_.str.3@PAGE
Lloh10:
	add	x24, x24, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x3, x24
	mov	w4, #0
	bl	_eap_aka_verify_mac
	cbz	x0, LBB0_7
; %bb.5:
Lloh11:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_6:
Lloh16:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_7:
	ldr	x0, [x20, #144]
	ldr	x1, [x23, #48]
Lloh21:
	adrp	x22, _EAP_SIM_MAC_LEN@GOTPAGE
Lloh22:
	ldr	x22, [x22, _EAP_SIM_MAC_LEN@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_os_memcpy
	ldr	w0, [x25]
	ldr	x2, [x20, #144]
	ldr	w3, [x22]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump
	ldr	x1, [x23, #40]
	cbz	x1, LBB0_15
; %bb.8:
	ldr	x3, [x23, #24]
	cbz	x3, LBB0_15
; %bb.9:
	ldr	w0, [x20, #136]
	ldr	w2, [x23, #32]
	add	x4, sp, #24
	mov	w5, #0
	bl	_eap_sim_parse_encr
	cbz	x0, LBB0_17
; %bb.10:
	mov	x22, x0
	ldp	x1, x8, [sp, #32]
	cbz	x1, LBB0_18
; %bb.11:
	tbnz	x8, #63, LBB0_18
; %bb.12:
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ls	LBB0_22
; %bb.13:
	str	x8, [x20, #8]
	ldr	x0, [x20, #40]
Lloh25:
	adrp	x24, _EAP_SIM_NONCE_S_LEN@GOTPAGE
Lloh26:
	ldr	x24, [x24, _EAP_SIM_NONCE_S_LEN@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_os_memcpy
	ldr	w0, [x25]
	ldr	x2, [x20, #40]
	ldr	w3, [x24]
Lloh27:
	adrp	x1, l_.str.12@PAGE
Lloh28:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_hexdump
	ldr	x8, [x20, #16]
Lloh29:
	adrp	x9, _EAP_TYPE_AKA_PRIME@GOTPAGE
Lloh30:
	ldr	x9, [x9, _EAP_TYPE_AKA_PRIME@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.14:
	ldr	w0, [x20, #104]
	ldr	x1, [x20, #8]
	ldp	x3, x2, [x20, #88]
	ldr	x4, [x20, #40]
	ldp	w6, w5, [x20, #72]
	bl	_eap_aka_prime_derive_keys_reauth
	b	LBB0_24
LBB0_15:
Lloh32:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_16:
	bl	_wpa_printf
Lloh37:
	adrp	x8, _EAP_AKA_UNABLE_TO_PROCESS_PACKET@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EAP_AKA_UNABLE_TO_PROCESS_PACKET@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_eap_aka_client_error
LBB0_17:
Lloh40:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.7@PAGE
Lloh44:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	b	LBB0_19
LBB0_18:
Lloh45:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh46:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x9]
Lloh48:
	adrp	x9, l_.str.9@PAGE
Lloh49:
	add	x9, x9, l_.str.9@PAGEOFF
	cmp	x1, #0
	csel	x9, x9, x24, eq
Lloh50:
	adrp	x10, l_.str.10@PAGE
Lloh51:
	add	x10, x10, l_.str.10@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x24, lt
	stp	x9, x8, [sp]
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	bl	_os_free
LBB0_19:
Lloh54:
	adrp	x8, _EAP_AKA_UNABLE_TO_PROCESS_PACKET@GOTPAGE
Lloh55:
	ldr	x8, [x8, _EAP_AKA_UNABLE_TO_PROCESS_PACKET@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_eap_aka_client_error
LBB0_20:
	mov	x19, x0
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_22:
Lloh57:
	adrp	x10, _MSG_INFO@GOTPAGE
Lloh58:
	ldr	x10, [x10, _MSG_INFO@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x10]
	stp	x8, x9, [sp]
Lloh60:
	adrp	x1, l_.str.11@PAGE
Lloh61:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [sp, #40]
	str	x8, [x20, #128]
	ldr	x0, [x20, #120]
	bl	_os_free
	ldp	x9, x8, [x20, #88]
	stp	x9, x8, [x20, #112]
	stp	xzr, xzr, [x20, #88]
	ldr	x3, [sp, #32]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_eap_aka_response_reauth
	mov	x19, x0
	mov	x0, x22
	bl	_os_free
	b	LBB0_21
LBB0_23:
	ldr	x0, [x20, #8]
	ldp	x2, x1, [x20, #88]
	ldr	x3, [x20, #40]
	ldp	w5, w4, [x20, #76]
	ldr	w6, [x20, #72]
	bl	_eap_sim_derive_keys_reauth
LBB0_24:
Lloh62:
	adrp	x24, _CLEAR_REAUTH_ID@GOTPAGE
Lloh63:
	ldr	x24, [x24, _CLEAR_REAUTH_ID@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh64:
	adrp	x26, _CLEAR_EAP_ID@GOTPAGE
Lloh65:
	ldr	x26, [x26, _CLEAR_EAP_ID@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w2, w9, w8
	mov	x0, x21
	mov	x1, x20
	bl	_eap_aka_clear_identities
	add	x2, sp, #24
	mov	x0, x21
	mov	x1, x20
	bl	_eap_aka_learn_ids
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_27
; %bb.25:
	ldr	x8, [x23]
	cbz	x8, LBB0_27
; %bb.26:
	mov	w8, #1
	str	w8, [x20, #24]
LBB0_27:
	ldr	x8, [x20, #32]
Lloh66:
	adrp	x9, _FAILURE@GOTPAGE
Lloh67:
	ldr	x9, [x9, _FAILURE@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_29
; %bb.28:
Lloh69:
	adrp	x8, _RESULT_SUCCESS@GOTPAGE
Lloh70:
	ldr	x8, [x8, _RESULT_SUCCESS@GOTPAGEOFF]
	ldr	w9, [x20, #24]
Lloh71:
	adrp	x10, _SUCCESS@GOTPAGE
Lloh72:
	ldr	x10, [x10, _SUCCESS@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_aka_state
LBB0_29:
	stp	xzr, xzr, [x20, #48]
	ldr	x8, [x20, #8]
Lloh73:
	adrp	x9, _EAP_AKA_MAX_FAST_REAUTHS@GOTPAGE
Lloh74:
	ldr	x9, [x9, _EAP_AKA_MAX_FAST_REAUTHS@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_31
; %bb.30:
	ldr	w0, [x25]
Lloh76:
	adrp	x1, l_.str.13@PAGE
Lloh77:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x24]
	ldr	w9, [x26]
	orr	w2, w9, w8
	mov	x0, x21
	mov	x1, x20
	bl	_eap_aka_clear_identities
LBB0_31:
	mov	x0, x22
	bl	_os_free
	ldr	x3, [x20, #40]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_eap_aka_response_reauth
	b	LBB0_20
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: subtype Reauthentication"

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: Invalid AT_CHECKCODE in the message"

	.comm	_EAP_AKA_UNABLE_TO_PROCESS_PACKET,4,2 ; @EAP_AKA_UNABLE_TO_PROCESS_PACKET
l_.str.2:                               ; @.str.2
	.asciz	"EAP-AKA: Server is trying reauthentication, but no reauth_id available"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"EAP-AKA: Reauthentication did not have valid AT_MAC"

	.comm	_EAP_SIM_MAC_LEN,4,2            ; @EAP_SIM_MAC_LEN
l_.str.5:                               ; @.str.5
	.asciz	"EAP-AKA: Server MAC"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-AKA: Reauthentication message did not include encrypted data"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-AKA: Failed to parse encrypted data from reauthentication message"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.8:                               ; @.str.8
	.asciz	"EAP-AKA: (encr) No%s%s in reauth packet"

l_.str.9:                               ; @.str.9
	.asciz	" AT_NONCE_S"

l_.str.10:                              ; @.str.10
	.asciz	" AT_COUNTER"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-AKA: (encr) Invalid counter (%d <= %d)"

	.comm	_EAP_SIM_NONCE_S_LEN,4,2        ; @EAP_SIM_NONCE_S_LEN
l_.str.12:                              ; @.str.12
	.asciz	"EAP-AKA: (encr) AT_NONCE_S"

	.comm	_EAP_TYPE_AKA_PRIME,8,3         ; @EAP_TYPE_AKA_PRIME
	.comm	_CLEAR_REAUTH_ID,4,2            ; @CLEAR_REAUTH_ID
	.comm	_CLEAR_EAP_ID,4,2               ; @CLEAR_EAP_ID
	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_RESULT_SUCCESS,4,2             ; @RESULT_SUCCESS
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.comm	_EAP_AKA_MAX_FAST_REAUTHS,8,3   ; @EAP_AKA_MAX_FAST_REAUTHS
l_.str.13:                              ; @.str.13
	.asciz	"EAP-AKA: Maximum number of fast reauths performed - force fullauth"

	.no_dead_strip	_eap_aka_process_reauthentication
.subsections_via_symbols
