	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_teap_process
_eap_teap_process:                      ## @eap_teap_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_TEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_36
## %bb.1:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.2:
	movq	%rax, %r13
	movl	(%rax), %r15d
	decq	%rsi
	movq	%rsi, -48(%rbp)
	movq	_EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPCREL(%rip), %rcx
	movq	%rbx, %r12
	testl	%r15d, (%rcx)
	je	LBB0_30
## %bb.3:
	movq	(%r14), %rcx
	movq	_PHASE1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.6:
	leaq	4(%r13), %r12
	movq	_EAP_TLS_FLAGS_LENGTH_INCLUDED@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_7
## %bb.8:
	cmpq	$3, %rsi
	ja	LBB0_10
## %bb.9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	xorl	%ecx, %ecx
	cmpq	$3, %rsi
	ja	LBB0_14
LBB0_13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_10:
	movq	%r12, %rdi
	callq	_WPA_GET_BE32
	movq	-48(%rbp), %rsi
	addq	$-4, %rsi
	movq	%rsi, -48(%rbp)
	cmpl	$3, %eax
	jg	LBB0_11
## %bb.37:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_11:
	movl	%eax, %ecx
	addq	$20, %r13
	movq	%r13, %r12
	cmpq	$3, %rsi
	jbe	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	_WPA_GET_BE32
	addq	$-4, -48(%rbp)
	movl	%eax, %r13d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movslq	%r13d, %rax
	cmpq	%rax, -48(%rbp)
	jae	LBB0_16
## %bb.15:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_5
LBB0_16:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.27:
	cmpl	%r13d, %ecx
	jl	LBB0_29
## %bb.28:
	leal	4(%r13), %r12d
	cmpl	%r12d, %ecx
	jge	LBB0_18
LBB0_29:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_5:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_36
LBB0_17:
	leal	4(%r13), %r12d
LBB0_18:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_wpabuf_len
	cmpl	%r12d, %eax
	jl	LBB0_36
## %bb.19:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -48(%rbp)
	jb	LBB0_36
## %bb.20:
	movq	%rbx, %rdi
	callq	_wpabuf_len
                                        ## kill: def $eax killed $eax def $rax
	movl	$-4, %r13d
	subl	-72(%rbp), %r13d                ## 4-byte Folded Reload
	leal	(%rax,%r13), %edi
	callq	_wpabuf_alloc
	testq	%rax, %rax
	je	LBB0_36
## %bb.21:
	movq	%rax, %r12
	addq	$16, -88(%rbp)                  ## 8-byte Folded Spill
	movq	%rbx, %rdi
	callq	_wpabuf_head
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_WPA_GET_BE16
	addl	%eax, %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_wpabuf_put_be16
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	_EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%r15d, %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	_EAP_TLS_FLAGS_LENGTH_INCLUDED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_23
## %bb.22:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	subl	-72(%rbp), %esi                 ## 4-byte Folded Reload
	addl	$-4, %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_be32
LBB0_23:
	movq	-48(%rbp), %rdx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	subq	%r13, %rdx
	movq	%r12, %rdi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_wpabuf_put_data
	movq	-48(%rbp), %rax
	subq	%r13, %rax
	leaq	(%r15,%rax,4), %r15
	movq	16(%r14), %rdi
	callq	_wpabuf_free
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_wpabuf_alloc_copy
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_36
## %bb.24:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_hexdump_buf
	movl	(%r15), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump_buf
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_TEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	cmpq	$0, -48(%rbp)
	je	LBB0_26
LBB0_30:
	movq	(%r14), %rax
	movq	_PHASE1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.31:
	movq	_PHASE1B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_teap_state
LBB0_32:
	leaq	8(%r14), %rsi
	movq	_EAP_TYPE_TEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_eap_teap_process_version@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_eap_teap_process_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_eap_server_tls_process
	testq	%rax, %rax
	jns	LBB0_34
## %bb.33:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_teap_state
LBB0_34:
	cmpq	%rbx, %r12
	je	LBB0_36
## %bb.35:
	movq	%r12, %rdi
	callq	_wpabuf_free
LBB0_36:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_TEAP,4,2              ## @EAP_TYPE_TEAP
	.comm	_EAP_TEAP_FLAGS_OUTER_TLV_LEN,4,2 ## @EAP_TEAP_FLAGS_OUTER_TLV_LEN
	.comm	_PHASE1,8,3                     ## @PHASE1
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TEAP: Unexpected Outer TLVs in a message that is not the first message from the peer"

	.comm	_EAP_TLS_FLAGS_LENGTH_INCLUDED,4,2 ## @EAP_TLS_FLAGS_LENGTH_INCLUDED
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TEAP: Too short message to include Message Length field"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-TEAP: Message Length field has too msall value to include Outer TLV Length field"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-TEAP: Too short message to include Outer TLVs Length field"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.4:                               ## @.str.4
	.asciz	"EAP-TEAP: Message Length %u Outer TLV Length %u"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-TEAP: Too short message to include Outer TLVs field"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-TEAP: Message Length field has too small value to include Outer TLVs"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-TEAP: Outer TLVs"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-TEAP: TLS Data message after Outer TLV removal"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-TEAP: Invalid frame after Outer TLV removal"

	.comm	_PHASE1B,4,2                    ## @PHASE1B
	.comm	_eap_teap_process_version,4,2   ## @eap_teap_process_version
	.comm	_eap_teap_process_msg,4,2       ## @eap_teap_process_msg
	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_eap_teap_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_teap_process
_eap_teap_process:                      ; @eap_teap_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x27, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x27, [x27, _EAP_VENDOR_IETF@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh2:
	adrp	x28, _EAP_TYPE_TEAP@GOTPAGE
Lloh3:
	ldr	x28, [x28, _EAP_TYPE_TEAP@GOTPAGEOFF]
	ldr	w1, [x28]
	add	x3, sp, #56
	bl	_eap_hdr_validate
	ldr	x8, [sp, #56]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_30
; %bb.1:
	mov	x24, x0
	mov	x25, x0
	ldr	w23, [x25], #4
	sub	x8, x8, #1
Lloh4:
	adrp	x26, _EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPAGE
Lloh5:
	ldr	x26, [x26, _EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPAGEOFF]
	str	x8, [sp, #56]
	ldr	w9, [x26]
Lloh6:
	adrp	x10, _PHASE1@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHASE1@GOTPAGEOFF]
	mov	x22, x19
	tst	w9, w23
	b.eq	LBB0_24
; %bb.2:
	ldr	x9, [x20]
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
Lloh8:
	adrp	x9, _EAP_TLS_FLAGS_LENGTH_INCLUDED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EAP_TLS_FLAGS_LENGTH_INCLUDED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w23
	b.eq	LBB0_7
; %bb.4:
	cmp	x8, #3
	b.hi	LBB0_9
; %bb.5:
Lloh11:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
LBB0_6:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
LBB0_7:
	mov	w0, #0
	cmp	x8, #3
	b.hi	LBB0_12
LBB0_8:
Lloh21:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
LBB0_9:
	mov	x0, x25
	bl	_WPA_GET_BE32
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [sp, #56]
	sub	x8, x8, #4
	str	x8, [sp, #56]
	cmp	w0, #3
	b.gt	LBB0_11
; %bb.10:
Lloh26:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
LBB0_11:
	add	x25, x24, #20
	cmp	x8, #3
	b.ls	LBB0_8
LBB0_12:
	mov	x24, x0
	mov	x0, x25
	bl	_WPA_GET_BE32
	mov	x22, x0
	ldr	x8, [sp, #56]
	sub	x8, x8, #4
	str	x8, [sp, #56]
Lloh31:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	stp	x24, x22, [sp]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [sp, #56]
	sxtw	x9, w22
	cmp	x8, x9
	b.hs	LBB0_14
; %bb.13:
Lloh36:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
LBB0_14:
	add	w22, w9, #4
	cbz	w24, LBB0_17
; %bb.15:
	cmp	w24, w9
	ccmp	w24, w22, #8, ge
	b.ge	LBB0_17
; %bb.16:
Lloh41:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.6@PAGE
Lloh45:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
LBB0_17:
	str	x24, [sp, #48]                  ; 8-byte Folded Spill
	mov	x0, x19
	mov	x24, x9
	bl	_wpabuf_len
	ldr	x8, [sp, #56]
	cmp	w0, w22
	ccmp	x8, x24, #0, ge
	b.lo	LBB0_30
; %bb.18:
	mov	x0, x19
	bl	_wpabuf_len
	mov	w8, #-4
	sub	w8, w8, w24
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	add	w0, w8, w0
	bl	_wpabuf_alloc
	cbz	x0, LBB0_30
; %bb.19:
	mov	x22, x0
	add	x8, x25, #16
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_wpabuf_head
	mov	x25, x0
	ldr	w1, [x0]
	mov	x0, x22
	bl	_wpabuf_put_u8
	add	x8, x25, #8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w1, [x25, #4]
	mov	x0, x22
	bl	_wpabuf_put_u8
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_WPA_GET_BE16
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w1, w8, w0
	mov	x0, x22
	bl	_wpabuf_put_be16
	ldr	w1, [x25, #16]
	mov	x0, x22
	bl	_wpabuf_put_u8
	ldr	w8, [x26]
	bic	w1, w23, w8
	mov	x0, x22
	bl	_wpabuf_put_u8
Lloh46:
	adrp	x8, _EAP_TLS_FLAGS_LENGTH_INCLUDED@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EAP_TLS_FLAGS_LENGTH_INCLUDED@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_21
; %bb.20:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	sub	w8, w8, w24
	sub	w1, w8, #4
	mov	x0, x22
	bl	_wpabuf_put_be32
LBB0_21:
	ldr	x8, [sp, #56]
	sub	x2, x8, x24
	mov	x0, x22
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_wpabuf_put_data
	ldr	x8, [sp, #56]
	sub	x8, x8, x24
	add	x23, x23, x8, lsl #2
	ldr	x0, [x20, #16]
	bl	_wpabuf_free
	mov	x0, x23
	mov	x1, x24
	bl	_wpabuf_alloc_copy
	str	x0, [x20, #16]
	cbz	x0, LBB0_30
; %bb.22:
	mov	x2, x0
Lloh49:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh50:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_hexdump_buf
	ldr	w0, [x23]
Lloh53:
	adrp	x1, l_.str.8@PAGE
Lloh54:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump_buf
	ldr	w0, [x27]
	ldr	w1, [x28]
	add	x3, sp, #56
	mov	x2, x22
	bl	_eap_hdr_validate
Lloh55:
	adrp	x10, _PHASE1@GOTPAGE
Lloh56:
	ldr	x10, [x10, _PHASE1@GOTPAGEOFF]
	cbz	x0, LBB0_31
; %bb.23:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_31
LBB0_24:
	ldr	x8, [x20]
	ldr	x9, [x10]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.25:
Lloh57:
	adrp	x8, _PHASE1B@GOTPAGE
Lloh58:
	ldr	x8, [x8, _PHASE1B@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_teap_state
LBB0_26:
	add	x1, x20, #8
	ldr	w4, [x28]
Lloh60:
	adrp	x8, _eap_teap_process_version@GOTPAGE
Lloh61:
	ldr	x8, [x8, _eap_teap_process_version@GOTPAGEOFF]
Lloh62:
	ldr	w5, [x8]
Lloh63:
	adrp	x8, _eap_teap_process_msg@GOTPAGE
Lloh64:
	ldr	x8, [x8, _eap_teap_process_msg@GOTPAGEOFF]
Lloh65:
	ldr	w6, [x8]
	mov	x0, x21
	mov	x2, x22
	mov	x3, x20
	bl	_eap_server_tls_process
	tbz	x0, #63, LBB0_28
; %bb.27:
Lloh66:
	adrp	x8, _FAILURE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_teap_state
LBB0_28:
	cmp	x22, x19
	b.eq	LBB0_30
; %bb.29:
	mov	x0, x22
	bl	_wpabuf_free
LBB0_30:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_31:
Lloh69:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
Lloh72:
	adrp	x1, l_.str.9@PAGE
Lloh73:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	b	LBB0_30
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_TEAP,4,2              ; @EAP_TYPE_TEAP
	.comm	_EAP_TEAP_FLAGS_OUTER_TLV_LEN,4,2 ; @EAP_TEAP_FLAGS_OUTER_TLV_LEN
	.comm	_PHASE1,8,3                     ; @PHASE1
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TEAP: Unexpected Outer TLVs in a message that is not the first message from the peer"

	.comm	_EAP_TLS_FLAGS_LENGTH_INCLUDED,4,2 ; @EAP_TLS_FLAGS_LENGTH_INCLUDED
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TEAP: Too short message to include Message Length field"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-TEAP: Message Length field has too msall value to include Outer TLV Length field"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-TEAP: Too short message to include Outer TLVs Length field"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.4:                               ; @.str.4
	.asciz	"EAP-TEAP: Message Length %u Outer TLV Length %u"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-TEAP: Too short message to include Outer TLVs field"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-TEAP: Message Length field has too small value to include Outer TLVs"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-TEAP: Outer TLVs"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-TEAP: TLS Data message after Outer TLV removal"

l_.str.9:                               ; @.str.9
	.asciz	"EAP-TEAP: Invalid frame after Outer TLV removal"

	.comm	_PHASE1B,4,2                    ; @PHASE1B
	.comm	_eap_teap_process_version,4,2   ; @eap_teap_process_version
	.comm	_eap_teap_process_msg,4,2       ; @eap_teap_process_msg
	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_eap_teap_process
.subsections_via_symbols
