	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_ttls_process_decrypted
_eap_ttls_process_decrypted:            ## @eap_ttls_process_decrypted
	.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	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	$0, -56(%rbp)
	callq	_eap_get_config
	movq	%rax, %r15
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %ebx
	jmp	LBB0_14
LBB0_5:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_ttls_process_phase2_mschapv2 ## TAILCALL
LBB0_2:
	leaq	-56(%rbp), %r8
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_eap_ttls_process_phase2_eap
	movl	$-1, %ebx
	testl	%eax, %eax
	js	LBB0_14
## %bb.3:
	movq	-56(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_eap_ttls_encrypt_response
	testq	%rax, %rax
	jns	LBB0_13
	jmp	LBB0_14
LBB0_7:
	cmpq	$0, 32(%r15)
	jne	LBB0_12
## %bb.8:
	cmpq	$0, 24(%r15)
	jne	LBB0_12
## %bb.9:
	cmpq	$0, 16(%r15)
	jne	LBB0_12
## %bb.10:
	cmpq	$0, 8(%r15)
	jne	LBB0_12
## %bb.11:
	cmpq	$0, (%r15)
	je	LBB0_13
LBB0_12:
	movl	8(%r13), %edi
	callq	_wpabuf_clear_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_wpabuf_dup
	movl	%eax, 8(%r13)
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TTLS: Phase 2 received unexpected tunneled data"

	.comm	_METHOD_MAY_CONT,4,2            ## @METHOD_MAY_CONT
	.no_dead_strip	_eap_ttls_process_decrypted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_ttls_process_decrypted
_eap_ttls_process_decrypted:            ; @eap_ttls_process_decrypted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x6
	mov	x20, x5
	mov	x25, x4
	mov	x23, x3
	mov	x26, x2
	mov	x19, x1
	mov	x24, x0
	str	xzr, [sp, #8]
	bl	_eap_get_config
	mov	x22, x0
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_3:
	mov	w0, #-1
	b	LBB0_15
LBB0_4:
	mov	x0, x24
	mov	x1, x19
	mov	x2, x26
	mov	x3, x25
	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
	add	sp, sp, #96
	b	_eap_ttls_process_phase2_mschapv2
LBB0_5:
	add	x4, sp, #8
	mov	x0, x24
	mov	x1, x19
	mov	x2, x26
	mov	x3, x25
	bl	_eap_ttls_process_phase2_eap
	tbnz	w0, #31, LBB0_3
; %bb.6:
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_8
; %bb.7:
	mov	x0, x24
	mov	x1, x19
	mov	x3, x23
	mov	x4, x21
	bl	_eap_ttls_encrypt_response
	tbz	x0, #63, LBB0_14
	b	LBB0_3
LBB0_8:
	ldr	x8, [x22, #32]
	cbnz	x8, LBB0_13
; %bb.9:
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_13
; %bb.10:
	ldr	x8, [x22, #16]
	cbnz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x22]
	cbz	x8, LBB0_14
LBB0_13:
	ldr	w0, [x19, #8]
	bl	_wpabuf_clear_free
	mov	x0, x20
	bl	_wpabuf_dup
	str	w0, [x19, #8]
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TTLS: Phase 2 received unexpected tunneled data"

	.comm	_METHOD_MAY_CONT,4,2            ; @METHOD_MAY_CONT
	.no_dead_strip	_eap_ttls_process_decrypted
.subsections_via_symbols
