	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_aka_process
_eap_aka_process:                       ## @eap_aka_process
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rsi
	leaq	-64(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	-64(%rbp), %r15
	cmpq	$3, %r15
	jb	LBB0_20
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_eap_aka_subtype_ok
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	leaq	(%rbx,%r15,8), %rsi
	addq	$24, %rbx
	movq	(%r13), %rax
	movq	_EAP_TYPE_AKA_PRIME@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	incl	%ecx
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_eap_sim_parse_attr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r13)
	movq	%r13, %rdi
	movl	$129, %esi
	callq	_eap_aka_state
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_EAP_AKA_SUBTYPE_CLIENT_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_9
## %bb.8:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_client_error
	jmp	LBB0_20
LBB0_9:
	movq	_EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_11
## %bb.10:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_authentication_reject
	jmp	LBB0_20
LBB0_11:
	movl	8(%r13), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_19
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_reauth
	jmp	LBB0_20
LBB0_13:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_identity
	jmp	LBB0_20
LBB0_14:
	movq	_EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_16
## %bb.15:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_sync_failure
	jmp	LBB0_20
LBB0_19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_20
LBB0_18:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_notification
	jmp	LBB0_20
LBB0_16:
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_eap_aka_process_challenge
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-AKA: Unrecognized or unexpected EAP-AKA Subtype in EAP Response"

	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,8,3 ## @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_EAP_TYPE_AKA_PRIME,8,3         ## @EAP_TYPE_AKA_PRIME
L_.str.1:                               ## @.str.1
	.asciz	"EAP-AKA: Failed to parse attributes"

	.comm	_EAP_AKA_SUBTYPE_CLIENT_ERROR,8,3 ## @EAP_AKA_SUBTYPE_CLIENT_ERROR
	.comm	_EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT,8,3 ## @EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT
	.comm	_EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE,8,3 ## @EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE
L_.str.2:                               ## @.str.2
	.asciz	"EAP-AKA: Unknown state %d in process"

	.no_dead_strip	_eap_aka_process
.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
_eap_aka_process:                       ; @eap_aka_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x1, [x1]
	add	x3, sp, #24
	bl	_eap_hdr_validate
	ldr	x24, [sp, #24]
	cmp	x0, #0
	ccmp	x24, #3, #0, ne
	b.lo	LBB0_6
; %bb.1:
	mov	x23, x0
	ldr	x22, [x0]
	mov	x0, x19
	mov	x1, x22
	bl	_eap_aka_subtype_ok
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	add	x0, x23, #24
	add	x1, x23, x24, lsl #3
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _EAP_TYPE_AKA_PRIME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EAP_TYPE_AKA_PRIME@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	cinc	w3, w8, eq
	add	x2, sp, #16
	mov	w4, #0
	bl	_eap_sim_parse_attr
	cbz	x0, LBB0_7
; %bb.4:
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	bl	_wpa_printf
Lloh16:
	adrp	x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	x0, x19
	mov	w1, #129
	bl	_eap_aka_state
LBB0_6:
	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
	add	sp, sp, #96
	ret
LBB0_7:
Lloh19:
	adrp	x8, _EAP_AKA_SUBTYPE_CLIENT_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EAP_AKA_SUBTYPE_CLIENT_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_9
; %bb.8:
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_aka_process_client_error
	b	LBB0_6
LBB0_9:
Lloh22:
	adrp	x8, _EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.10:
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_aka_process_authentication_reject
	b	LBB0_6
LBB0_11:
	ldr	w8, [x19, #8]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_15
; %bb.12:
Lloh25:
	adrp	x8, lJTI0_0@PAGE
Lloh26:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_aka_process_reauth
	b	LBB0_6
LBB0_14:
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_aka_process_identity
	b	LBB0_6
LBB0_15:
Lloh27:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	b	LBB0_6
LBB0_16:
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_aka_process_notification
	b	LBB0_6
LBB0_17:
Lloh32:
	adrp	x8, _EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	cmp	x22, x8
	b.ne	LBB0_19
; %bb.18:
	bl	_eap_aka_process_sync_failure
	b	LBB0_6
LBB0_19:
	bl	_eap_aka_process_challenge
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_14-LBB0_13)>>2
	.byte	(LBB0_17-LBB0_13)>>2
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-AKA: Unrecognized or unexpected EAP-AKA Subtype in EAP Response"

	.comm	_EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH,8,3 ; @EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH
	.comm	_EAP_TYPE_AKA_PRIME,8,3         ; @EAP_TYPE_AKA_PRIME
l_.str.1:                               ; @.str.1
	.asciz	"EAP-AKA: Failed to parse attributes"

	.comm	_EAP_AKA_SUBTYPE_CLIENT_ERROR,8,3 ; @EAP_AKA_SUBTYPE_CLIENT_ERROR
	.comm	_EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT,8,3 ; @EAP_AKA_SUBTYPE_AUTHENTICATION_REJECT
	.comm	_EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE,8,3 ; @EAP_AKA_SUBTYPE_SYNCHRONIZATION_FAILURE
l_.str.2:                               ; @.str.2
	.asciz	"EAP-AKA: Unknown state %d in process"

	.no_dead_strip	_eap_aka_process
.subsections_via_symbols
