	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_teap_process_start
_eap_teap_process_start:                ## @eap_teap_process_start
	.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	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_EAP_TLS_VERSION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movl	%edx, (%rsi)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r13), %edx
	testl	%edx, %edx
	jle	LBB0_7
## %bb.1:
	movl	4(%r13), %eax
	cmpl	%eax, %edx
	jge	LBB0_3
## %bb.2:
	movl	%edx, 4(%r13)
	movl	%edx, %eax
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_wpa_hexdump
	movq	_EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.4:
	cmpq	$3, %r15
	ja	LBB0_11
## %bb.5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_6:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_39
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_39
LBB0_9:
	testq	%r15, %r15
	je	LBB0_17
## %bb.10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_wpa_hexdump
	jmp	LBB0_39
LBB0_11:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_WPA_GET_BE32
	movq	%rax, %r14
	leaq	-4(%r15), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_13
## %bb.12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_39:
	movl	$-1, %ebx
LBB0_40:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%r15,4), %r15
	leaq	(,%r14,4), %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	subq	%rax, %r15
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump
	movl	40(%r13), %edi
	callq	_wpabuf_free
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_wpabuf_alloc_copy
	movl	%eax, 40(%r13)
	movl	$-1, %ebx
	testl	%eax, %eax
	je	LBB0_40
## %bb.14:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	%r14, %rcx
	jne	LBB0_37
## %bb.15:
	testq	%r14, %r14
	jle	LBB0_38
## %bb.16:
	xorl	%edx, %edx
	xorl	%esi, %esi
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_17:
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_18:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
LBB0_19:
	movq	%r13, %rdi
	callq	_eap_teap_select_pac
	cmpq	$0, 32(%r13)
	movq	24(%r13), %rdx
	je	LBB0_30
## %bb.20:
	testq	%rdx, %rdx
	je	LBB0_33
## %bb.21:
	movl	(%r12), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eap_teap_clear_pac_opaque_ext
	testq	%rax, %rax
	jns	LBB0_36
	jmp	LBB0_39
LBB0_23:                                ##   in Loop: Header=BB0_25 Depth=1
	leaq	L_.str.13(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=1
	leaq	(%r15,%rbx,4), %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	jae	LBB0_19
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	subq	%r15, %rax
	cmpq	$15, %rax
	jle	LBB0_41
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_WPA_GET_BE16
	movl	%eax, %r14d
	leaq	8(%r15), %rdi
	callq	_WPA_GET_BE16
	movl	%eax, %ebx
	addq	$16, %r15
	movq	_TEAP_TLV_TYPE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movl	(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	subq	%r15, %rax
	sarq	$2, %rax
	movslq	%ebx, %rbx
	cmpq	%rbx, %rax
	jl	LBB0_42
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	(%r12), %edi
	movq	_TEAP_TLV_AUTHORITY_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_23
## %bb.28:                              ##   in Loop: Header=BB0_25 Depth=1
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	movq	%rbx, %rdx
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	movq	%r15, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_24
## %bb.29:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_6
LBB0_30:
	testq	%rdx, %rdx
	je	LBB0_33
## %bb.31:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eap_teap_use_pac_opaque
	testq	%rax, %rax
	jns	LBB0_36
	jmp	LBB0_39
LBB0_33:
	cmpq	$0, 16(%r13)
	je	LBB0_36
## %bb.34:
	movl	(%r12), %edi
	leaq	L_.str.15(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eap_teap_clear_pac_opaque_ext
	testq	%rax, %rax
	js	LBB0_39
## %bb.35:
	movl	$1, 8(%r13)
LBB0_36:
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_37:
	addq	$16, %r12
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump
	jmp	LBB0_40
LBB0_38:
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_41:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_6
LBB0_42:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	movl	%r14d, %edx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TLS_VERSION_MASK,4,2       ## @EAP_TLS_VERSION_MASK
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TEAP: Start (server ver=%u, own ver=%u)"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TEAP: Server used unknown TEAP version %u"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-TEAP: Using TEAP version %d"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.3:                               ## @.str.3
	.asciz	"EAP-TEAP: Start message payload"

	.comm	_EAP_TEAP_FLAGS_OUTER_TLV_LEN,4,2 ## @EAP_TEAP_FLAGS_OUTER_TLV_LEN
L_.str.4:                               ## @.str.4
	.asciz	"EAP-TEAP: Not enough room for the Outer TLV Length field"

L_.str.5:                               ## @.str.5
	.asciz	"EAP-TEAP: Truncated Outer TLVs field (Outer TLV Length: %u; remaining buffer: %u)"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-TEAP: Start message Outer TLVs"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-TEAP: Unexpected TLS Data in Start message"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-TEAP: Truncated Outer TLV header"

	.comm	_TEAP_TLV_TYPE_MASK,4,2         ## @TEAP_TLV_TYPE_MASK
L_.str.9:                               ## @.str.9
	.asciz	"EAP-TEAP: Outer TLV: Type=%u Length=%u"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-TEAP: Truncated Outer TLV (Type %u)"

	.comm	_TEAP_TLV_AUTHORITY_ID,4,2      ## @TEAP_TLV_AUTHORITY_ID
L_.str.11:                              ## @.str.11
	.asciz	"EAP-TEAP: Authority-ID"

L_.str.12:                              ## @.str.12
	.asciz	"EAP-TEAP: Multiple Authority-ID TLVs in TEAP/Start"

L_.str.13:                              ## @.str.13
	.asciz	"EAP-TEAP: Ignore unknown Outer TLV (Type %u)"

L_.str.14:                              ## @.str.14
	.asciz	"EAP-TEAP: Trying to resume session - do not add PAC-Opaque to TLS ClientHello"

L_.str.15:                              ## @.str.15
	.asciz	"EAP-TEAP: No PAC found - starting provisioning"

	.no_dead_strip	_eap_teap_process_start
.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_start
_eap_teap_process_start:                ; @eap_teap_process_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1, #4]
Lloh0:
	adrp	x9, _EAP_TLS_VERSION_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EAP_TLS_VERSION_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w2
	str	w9, [x1]
Lloh3:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x28]
	stp	x9, x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x19]
	cmp	w8, #0
	b.le	LBB0_6
; %bb.1:
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.2:
	str	w8, [x19, #4]
	mov	x9, x8
LBB0_3:
	ldr	w0, [x28]
	str	x9, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh9:
	adrp	x27, _MSG_MSGDUMP@GOTPAGE
Lloh10:
	ldr	x27, [x27, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	bl	_wpa_hexdump
Lloh13:
	adrp	x8, _EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAP_TEAP_FLAGS_OUTER_TLV_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_7
; %bb.4:
	cmp	x22, #3
	b.hi	LBB0_10
; %bb.5:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh21:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_7:
	cbz	x22, LBB0_19
; %bb.8:
Lloh26:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	mov	x3, x22
LBB0_9:
	bl	_wpa_hexdump
	b	LBB0_13
LBB0_10:
	mov	x0, x21
	bl	_WPA_GET_BE32
	mov	x23, x0
	sub	x26, x22, #4
	cmp	x26, x0
	b.hs	LBB0_15
; %bb.11:
Lloh31:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	stp	x23, x26, [sp]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_12:
	bl	_wpa_printf
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	add	x24, x21, x22, lsl #2
	sub	x25, x24, x23, lsl #2
	ldr	w0, [x27]
Lloh36:
	adrp	x1, l_.str.6@PAGE
Lloh37:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x25
	mov	x3, x23
	bl	_wpa_hexdump
	ldr	w0, [x19, #40]
	bl	_wpabuf_free
	mov	x0, x25
	mov	x1, x23
	bl	_wpabuf_alloc_copy
	str	w0, [x19, #40]
	cbz	w0, LBB0_13
; %bb.16:
	subs	x3, x26, x23
	b.ne	LBB0_36
; %bb.17:
	cmp	x23, #1
	b.lt	LBB0_19
; %bb.18:
	mov	x21, #0
	mov	x23, #0
	b	LBB0_25
LBB0_19:
	mov	x1, #0
	mov	x21, #0
LBB0_20:
	mov	x0, x19
	mov	x2, x21
	bl	_eap_teap_select_pac
	ldp	x2, x8, [x19, #24]
	cbz	x8, LBB0_30
; %bb.21:
	cbz	x2, LBB0_32
; %bb.22:
	ldr	w0, [x28]
Lloh38:
	adrp	x1, l_.str.14@PAGE
Lloh39:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x19
	bl	_eap_teap_clear_pac_opaque_ext
	tbz	x0, #63, LBB0_35
	b	LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh40:
	adrp	x1, l_.str.13@PAGE
Lloh41:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_wpa_printf
	mov	x1, x23
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x25, x25, x26, lsl #2
	mov	x23, x1
	cmp	x25, x24
	b.hs	LBB0_20
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	sub	x8, x24, x25
	cmp	x8, #15
	b.le	LBB0_37
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x25
	bl	_WPA_GET_BE16
	mov	x26, x0
	add	x0, x25, #8
	bl	_WPA_GET_BE16
	mov	x27, x0
	add	x25, x25, #16
Lloh42:
	adrp	x8, _TEAP_TLV_TYPE_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TEAP_TLV_TYPE_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	and	w22, w8, w26
	ldr	w0, [x28]
	stp	x22, x27, [sp]
Lloh45:
	adrp	x1, l_.str.9@PAGE
Lloh46:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	sub	x8, x24, x25
	sxtw	x26, w27
	cmp	x26, x8, asr #2
	b.gt	LBB0_38
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
Lloh47:
	adrp	x8, _TEAP_TLV_AUTHORITY_ID@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TEAP_TLV_AUTHORITY_ID@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w0, [x28]
	cmp	w22, w8
	b.ne	LBB0_23
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
Lloh50:
	adrp	x1, l_.str.11@PAGE
Lloh51:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x25
	mov	x3, x26
	bl	_wpa_hexdump
	mov	x1, x25
	mov	x21, x26
	cbz	x23, LBB0_24
; %bb.29:
Lloh52:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x1, l_.str.12@PAGE
Lloh56:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_12
LBB0_30:
	cbz	x2, LBB0_32
; %bb.31:
	mov	x0, x20
	mov	x1, x19
	bl	_eap_teap_use_pac_opaque
	tbz	x0, #63, LBB0_35
	b	LBB0_13
LBB0_32:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_35
; %bb.33:
	ldr	w0, [x28]
Lloh57:
	adrp	x1, l_.str.15@PAGE
Lloh58:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x19
	bl	_eap_teap_clear_pac_opaque_ext
	tbnz	x0, #63, LBB0_13
; %bb.34:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_35:
	mov	w0, #0
	b	LBB0_14
LBB0_36:
	add	x2, x21, #16
Lloh59:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x1, l_.str.7@PAGE
Lloh63:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_9
LBB0_37:
Lloh64:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
Lloh67:
	adrp	x1, l_.str.8@PAGE
Lloh68:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_12
LBB0_38:
Lloh69:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh72:
	adrp	x1, l_.str.10@PAGE
Lloh73:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_12
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.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	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TLS_VERSION_MASK,4,2       ; @EAP_TLS_VERSION_MASK
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TEAP: Start (server ver=%u, own ver=%u)"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TEAP: Server used unknown TEAP version %u"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-TEAP: Using TEAP version %d"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.3:                               ; @.str.3
	.asciz	"EAP-TEAP: Start message payload"

	.comm	_EAP_TEAP_FLAGS_OUTER_TLV_LEN,4,2 ; @EAP_TEAP_FLAGS_OUTER_TLV_LEN
l_.str.4:                               ; @.str.4
	.asciz	"EAP-TEAP: Not enough room for the Outer TLV Length field"

l_.str.5:                               ; @.str.5
	.asciz	"EAP-TEAP: Truncated Outer TLVs field (Outer TLV Length: %u; remaining buffer: %u)"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-TEAP: Start message Outer TLVs"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-TEAP: Unexpected TLS Data in Start message"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-TEAP: Truncated Outer TLV header"

	.comm	_TEAP_TLV_TYPE_MASK,4,2         ; @TEAP_TLV_TYPE_MASK
l_.str.9:                               ; @.str.9
	.asciz	"EAP-TEAP: Outer TLV: Type=%u Length=%u"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-TEAP: Truncated Outer TLV (Type %u)"

	.comm	_TEAP_TLV_AUTHORITY_ID,4,2      ; @TEAP_TLV_AUTHORITY_ID
l_.str.11:                              ; @.str.11
	.asciz	"EAP-TEAP: Authority-ID"

l_.str.12:                              ; @.str.12
	.asciz	"EAP-TEAP: Multiple Authority-ID TLVs in TEAP/Start"

l_.str.13:                              ; @.str.13
	.asciz	"EAP-TEAP: Ignore unknown Outer TLV (Type %u)"

l_.str.14:                              ; @.str.14
	.asciz	"EAP-TEAP: Trying to resume session - do not add PAC-Opaque to TLS ClientHello"

l_.str.15:                              ; @.str.15
	.asciz	"EAP-TEAP: No PAC found - starting provisioning"

	.no_dead_strip	_eap_teap_process_start
.subsections_via_symbols
