	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_teap_process_phase2_eap
_eap_teap_process_phase2_eap:           ## @eap_teap_process_phase2_eap
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r14
	cmpq	$15, %rcx
	ja	LBB0_3
## %bb.1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r13
	movq	%rdi, %r12
	movl	12(%rdx), %edi
	callq	_be_to_host16
	movq	%rax, %r15
	cmpq	%rbx, %rax
	jbe	LBB0_5
## %bb.4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_2:
	movq	_TEAP_ERROR_INNER_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_teap_req_failure           ## TAILCALL
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rdx
	movl	8(%r13), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r13), %rdx
	cmpq	$128, %rdx
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_teap_process_phase2_response ## TAILCALL
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TEAP: Too short Phase 2 EAP frame (len=%lu)"

	.comm	_TEAP_ERROR_INNER_METHOD,4,2    ## @TEAP_ERROR_INNER_METHOD
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TEAP: Length mismatch in Phase 2 EAP frame (len=%lu hdr->length=%lu)"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"EAP-TEAP: Received Phase 2: code=%d identifier=%d length=%lu"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-TEAP: Unexpected code=%d in Phase 2 EAP header"

	.no_dead_strip	_eap_teap_process_phase2_eap
.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_phase2_eap
_eap_teap_process_phase2_eap:           ; @eap_teap_process_phase2_eap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x3
	mov	x19, x1
	cmp	x3, #15
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x20, x2
	mov	x21, x0
	ldr	w0, [x2, #12]
	bl	_be_to_host16
	mov	x22, x0
	cmp	x0, x23
	b.ls	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x2, x23
	bl	_wpa_printf
Lloh10:
	adrp	x8, _TEAP_ERROR_INNER_METHOD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TEAP_ERROR_INNER_METHOD@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_eap_teap_req_failure
LBB0_5:
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x2, [x20]
	ldr	w8, [x20, #8]
	stp	x8, x22, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	x2, [x20]
	cmp	x2, #128
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_eap_teap_process_phase2_response
LBB0_7:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wpa_printf
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TEAP: Too short Phase 2 EAP frame (len=%lu)"

	.comm	_TEAP_ERROR_INNER_METHOD,4,2    ; @TEAP_ERROR_INNER_METHOD
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TEAP: Length mismatch in Phase 2 EAP frame (len=%lu hdr->length=%lu)"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"EAP-TEAP: Received Phase 2: code=%d identifier=%d length=%lu"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-TEAP: Unexpected code=%d in Phase 2 EAP header"

	.no_dead_strip	_eap_teap_process_phase2_eap
.subsections_via_symbols
