	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tlv_process
_eap_tlv_process:                       ## @eap_tlv_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_TLV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdx
	callq	_eap_hdr_validate
	movl	$-1, %ecx
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r12
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump
	movq	-48(%rbp), %rcx
	cmpq	$4, %rcx
	jb	LBB0_11
## %bb.2:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%r12,%r15,4), %r12
	subq	%r15, %rcx
	movq	%rcx, -48(%rbp)
	cmpq	$3, %rcx
	jbe	LBB0_16
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %ebx
	movq	%r12, %rdi
	callq	_WPA_GET_BE16
	movl	%eax, %r13d
	leaq	8(%r12), %rdi
	callq	_WPA_GET_BE16
	movslq	%eax, %r15
	movq	-48(%rbp), %rcx
	addq	$-4, %rcx
	movq	%rcx, -48(%rbp)
	cmpq	%r15, %rcx
	jb	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	andl	$16383, %r13d                   ## imm = 0x3FFF
	addq	$16, %r12
	cmpl	$128, %r13d
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %r13d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %r14
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	testb	$-128, %bl
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %rax
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	testb	$-128, %bl
	jne	LBB0_28
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rcx
	jmp	LBB0_4
LBB0_11:
	testq	%rcx, %rcx
	jne	LBB0_17
## %bb.12:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
LBB0_13:
	movq	(%r15), %rax
	movq	_REQUIRE_BINDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_19
LBB0_15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_19
LBB0_16:
	testq	%rcx, %rcx
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_22
LBB0_17:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%rcx, %rdx
LBB0_18:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_19:
	movl	$-1, %ecx
LBB0_20:
	movl	%ecx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	jne	LBB0_26
	jmp	LBB0_41
LBB0_22:
	testq	%r14, %r14
	je	LBB0_32
## %bb.23:
	movq	(%r15), %rax
	movq	_NO_BINDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.24:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	leaq	-16(%r14), %rdx
	addq	$4, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_eap_tlv_validate_cryptobinding
	testq	%rax, %rax
	js	LBB0_37
LBB0_25:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_41
LBB0_26:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_wpa_hexdump
	cmpq	$1, %r12
	ja	LBB0_29
## %bb.27:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdx
	jmp	LBB0_18
LBB0_28:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_eap_get_id
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_eap_tlv_build_nak
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%ecx, %ecx
	cmpq	$1, %rax
	sbbl	%ecx, %ecx
	jmp	LBB0_20
LBB0_29:
	movq	%rbx, %rdi
	movq	%r14, %r12
	movq	%r13, %rbx
	movq	%r15, %r13
	callq	_WPA_GET_BE16
	movq	_EAP_TLV_RESULT_SUCCESS@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_33
## %bb.30:
	movq	_MSG_INFO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_39
## %bb.31:
	movl	(%r14), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	movq	_EAP_TLV_RESULT_FAILURE@GOTPCREL(%rip), %r15
	jmp	LBB0_40
LBB0_32:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_33:
	movq	_EAP_TLV_RESULT_FAILURE@GOTPCREL(%rip), %r15
	movq	_MSG_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	(%r15), %eax
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_36
LBB0_35:
	leaq	L_.str.13(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_36:
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_37:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movl	$-1, %ecx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_20
## %bb.38:
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_39:
	movq	_DECISION_UNCOND_SUCC@GOTPCREL(%rip), %rax
LBB0_40:
	movl	(%r15), %r14d
	movq	(%rax), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	xorl	%r15d, %r15d
	testq	%r12, %r12
	setne	%r15b
	movq	%rbx, %rdi
	callq	_eap_get_id
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	movl	%r14d, %r8d
	callq	_eap_tlv_build_result
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_41:
	xorl	%ecx, %ecx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_TLV,4,2               ## @EAP_TYPE_TLV
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TLV: Received TLVs"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-TLV: TLV underrun (tlv_len=%lu left=%lu)"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-TLV: Unsupported TLV Type %d%s"

L_.str.3:                               ## @.str.3
	.asciz	" (mandatory)"

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

L_.str.5:                               ## @.str.5
	.asciz	"EAP-TLV: Last TLV too short in Request (left=%lu)"

	.comm	_NO_BINDING,8,3                 ## @NO_BINDING
L_.str.6:                               ## @.str.6
	.asciz	"EAP-PEAP: Cryptobinding TLV"

	.comm	_REQUIRE_BINDING,8,3            ## @REQUIRE_BINDING
L_.str.7:                               ## @.str.7
	.asciz	"EAP-PEAP: No cryptobinding TLV"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-TLV: Result TLV"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.9:                               ## @.str.9
	.asciz	"EAP-TLV: Too short Result TLV (len=%lu)"

	.comm	_EAP_TLV_RESULT_SUCCESS,4,2     ## @EAP_TLV_RESULT_SUCCESS
L_.str.10:                              ## @.str.10
	.asciz	"EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-TLV: Earlier failure - force failed Phase 2"

	.comm	_EAP_TLV_RESULT_FAILURE,4,2     ## @EAP_TLV_RESULT_FAILURE
	.comm	_DECISION_FAIL,8,3              ## @DECISION_FAIL
	.comm	_DECISION_UNCOND_SUCC,8,3       ## @DECISION_UNCOND_SUCC
L_.str.12:                              ## @.str.12
	.asciz	"EAP-TLV: TLV Result - Failure"

L_.str.13:                              ## @.str.13
	.asciz	"EAP-TLV: Unknown TLV Result Status %d"

	.comm	_METHOD_DONE,4,2                ## @METHOD_DONE
	.no_dead_strip	_eap_tlv_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tlv_process
_eap_tlv_process:                       ; @eap_tlv_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x19, x4
	mov	x25, x3
	mov	x22, x2
	mov	x23, x1
	mov	x26, x0
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_TLV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_TLV@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #72
	mov	x2, x25
	bl	_eap_hdr_validate
	cbz	x0, LBB0_19
; %bb.1:
	mov	x24, x0
	str	w20, [sp, #68]                  ; 4-byte Folded Spill
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x3, [sp, #72]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_wpa_hexdump
	ldr	x8, [sp, #72]
	cmp	x8, #4
	b.lo	LBB0_11
; %bb.2:
	stp	x22, x26, [sp, #24]             ; 16-byte Folded Spill
	stp	x23, x25, [sp, #40]             ; 16-byte Folded Spill
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	mov	x28, #0
	mov	x20, #0
	mov	x21, #0
	mov	x27, #0
Lloh11:
	adrp	x19, l_.str.2@PAGE
Lloh12:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x22
	mov	x20, x26
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x22, x26, lsl #2
	sub	x8, x8, x26
	str	x8, [sp, #72]
	cmp	x8, #3
	b.ls	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x24
	ldr	w25, [x22], #16
	mov	x0, x24
	bl	_WPA_GET_BE16
	mov	x23, x0
	add	x0, x24, #8
	bl	_WPA_GET_BE16
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x26, w0
	ldr	x8, [sp, #72]
	sub	x8, x8, #4
	str	x8, [sp, #72]
	cmp	x8, x26
	b.lo	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w23, w23, #0x3fff
	cmp	w23, #128
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #129
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x22
	mov	x28, x26
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	tst	w25, #0x80
Lloh16:
	adrp	x8, l_.str.3@PAGE
Lloh17:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh18:
	adrp	x9, l_.str.4@PAGE
Lloh19:
	add	x9, x9, l_.str.4@PAGEOFF
	csel	x8, x9, x8, eq
	stp	x23, x8, [sp]
	mov	x1, x19
	bl	_wpa_printf
	tbnz	w25, #7, LBB0_30
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #72]
	b	LBB0_4
LBB0_11:
	cbnz	x8, LBB0_17
; %bb.12:
	mov	x27, #0
	mov	x20, #0
LBB0_13:
	ldr	x8, [x23]
Lloh20:
	adrp	x9, _REQUIRE_BINDING@GOTPAGE
Lloh21:
	ldr	x9, [x9, _REQUIRE_BINDING@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.14:
Lloh23:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_18
LBB0_15:
Lloh28:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x9]
	stp	x26, x8, [sp]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_16:
	ldp	x25, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x23, [sp, #32]             ; 16-byte Folded Reload
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_25
LBB0_17:
Lloh33:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_18:
	bl	_wpa_printf
LBB0_19:
	mov	w0, #-1
LBB0_20:
	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
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_21:
	mov	x21, #0
LBB0_22:
	cbz	x27, LBB0_31
LBB0_23:
Lloh38:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x27
	mov	x3, x20
	bl	_wpa_hexdump
	cmp	x20, #1
	b.hi	LBB0_32
; %bb.24:
Lloh43:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh46:
	adrp	x1, l_.str.9@PAGE
Lloh47:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_18
LBB0_25:
	cbz	x21, LBB0_13
; %bb.26:
	ldr	x8, [x23]
Lloh48:
	adrp	x9, _NO_BINDING@GOTPAGE
Lloh49:
	ldr	x9, [x9, _NO_BINDING@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_22
; %bb.27:
Lloh51:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x1, l_.str.6@PAGE
Lloh55:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x21
	mov	x3, x28
	bl	_wpa_hexdump
	sub	x2, x21, #16
	add	x3, x28, #4
	mov	x0, x26
	mov	x1, x23
	bl	_eap_tlv_validate_cryptobinding
	tbz	x0, #63, LBB0_22
; %bb.28:
	cbz	x27, LBB0_19
; %bb.29:
	mov	x21, #0
	mov	w8, #1
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	b	LBB0_23
LBB0_30:
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_eap_get_id
	mov	x1, x23
	bl	_eap_tlv_build_nak
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	str	x0, [x8]
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_20
LBB0_31:
	mov	w0, #0
	b	LBB0_20
LBB0_32:
	mov	x0, x27
	bl	_WPA_GET_BE16
                                        ; kill: def $w0 killed $w0 def $x0
Lloh56:
	adrp	x8, _EAP_TLV_RESULT_SUCCESS@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EAP_TLV_RESULT_SUCCESS@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_35
; %bb.33:
Lloh59:
	adrp	x20, _MSG_INFO@GOTPAGE
Lloh60:
	ldr	x20, [x20, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh61:
	adrp	x1, l_.str.10@PAGE
Lloh62:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_41
; %bb.34:
	ldr	w0, [x20]
Lloh63:
	adrp	x1, l_.str.11@PAGE
Lloh64:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_39
LBB0_35:
Lloh65:
	adrp	x8, _EAP_TLV_RESULT_FAILURE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EAP_TLV_RESULT_FAILURE@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x8]
Lloh68:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh69:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	cmp	w0, w9
	b.ne	LBB0_37
; %bb.36:
Lloh71:
	adrp	x1, l_.str.12@PAGE
Lloh72:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_38
LBB0_37:
	str	x0, [sp]
Lloh73:
	adrp	x1, l_.str.13@PAGE
Lloh74:
	add	x1, x1, l_.str.13@PAGEOFF
LBB0_38:
	mov	x0, x8
LBB0_39:
	bl	_wpa_printf
Lloh75:
	adrp	x8, _DECISION_FAIL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _DECISION_FAIL@GOTPAGEOFF]
Lloh77:
	adrp	x9, _EAP_TLV_RESULT_FAILURE@GOTPAGE
Lloh78:
	ldr	x9, [x9, _EAP_TLV_RESULT_FAILURE@GOTPAGEOFF]
LBB0_40:
	ldr	w20, [x9]
	ldr	x8, [x8]
	str	x8, [x22, #8]
Lloh79:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh80:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	str	w8, [x22]
	cmp	x21, #0
	cset	w22, ne
	mov	x0, x25
	bl	_eap_get_id
	mov	x3, x0
	mov	x0, x26
	mov	x1, x23
	mov	x2, x22
	mov	x4, x20
	bl	_eap_tlv_build_result
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_20
LBB0_41:
Lloh82:
	adrp	x8, _DECISION_UNCOND_SUCC@GOTPAGE
Lloh83:
	ldr	x8, [x8, _DECISION_UNCOND_SUCC@GOTPAGEOFF]
Lloh84:
	adrp	x9, _EAP_TLV_RESULT_SUCCESS@GOTPAGE
Lloh85:
	ldr	x9, [x9, _EAP_TLV_RESULT_SUCCESS@GOTPAGEOFF]
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_TLV,4,2               ; @EAP_TYPE_TLV
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TLV: Received TLVs"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-TLV: TLV underrun (tlv_len=%lu left=%lu)"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-TLV: Unsupported TLV Type %d%s"

l_.str.3:                               ; @.str.3
	.asciz	" (mandatory)"

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

l_.str.5:                               ; @.str.5
	.asciz	"EAP-TLV: Last TLV too short in Request (left=%lu)"

	.comm	_NO_BINDING,8,3                 ; @NO_BINDING
l_.str.6:                               ; @.str.6
	.asciz	"EAP-PEAP: Cryptobinding TLV"

	.comm	_REQUIRE_BINDING,8,3            ; @REQUIRE_BINDING
l_.str.7:                               ; @.str.7
	.asciz	"EAP-PEAP: No cryptobinding TLV"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-TLV: Result TLV"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.9:                               ; @.str.9
	.asciz	"EAP-TLV: Too short Result TLV (len=%lu)"

	.comm	_EAP_TLV_RESULT_SUCCESS,4,2     ; @EAP_TLV_RESULT_SUCCESS
l_.str.10:                              ; @.str.10
	.asciz	"EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-TLV: Earlier failure - force failed Phase 2"

	.comm	_EAP_TLV_RESULT_FAILURE,4,2     ; @EAP_TLV_RESULT_FAILURE
	.comm	_DECISION_FAIL,8,3              ; @DECISION_FAIL
	.comm	_DECISION_UNCOND_SUCC,8,3       ; @DECISION_UNCOND_SUCC
l_.str.12:                              ; @.str.12
	.asciz	"EAP-TLV: TLV Result - Failure"

l_.str.13:                              ; @.str.13
	.asciz	"EAP-TLV: Unknown TLV Result Status %d"

	.comm	_METHOD_DONE,4,2                ; @METHOD_DONE
	.no_dead_strip	_eap_tlv_process
.subsections_via_symbols
