	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_ttls_phase2_request
_eap_ttls_phase2_request:               ## @eap_ttls_phase2_request
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	(%rsi), %eax
	leal	-128(%rax), %r14d
	cmpl	$3, %r14d
	jb	LBB0_3
## %bb.1:
	cmpl	$131, %eax
	je	LBB0_15
## %bb.2:
	cmpl	$132, %eax
	jne	LBB0_14
LBB0_3:
	movq	%rcx, %r15
	movq	%r8, %rbx
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_eap_get_config_identity
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_eap_get_config_password
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	cmpl	$4, %r14d
	ja	LBB0_14
## %bb.9:
	movq	%rbx, %r8
	movq	%r15, %rcx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_12:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r8, %rcx
	callq	_eap_ttls_phase2_request_pap
	jmp	LBB0_16
LBB0_4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r13, %rdi
	callq	_eap_sm_request_identity
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_eap_get_config_password
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.5:
	movq	%r13, %rdi
	callq	_eap_sm_request_password
	jmp	LBB0_18
LBB0_14:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_15:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_eap_ttls_phase2_request_eap
LBB0_16:
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_18
LBB0_17:
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_18
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	%r13, %rdi
	callq	_eap_sm_request_password
	xorl	%ebx, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r8, %rcx
	callq	_eap_ttls_phase2_request_mschapv2
	jmp	LBB0_16
LBB0_11:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r8, %rcx
	callq	_eap_ttls_phase2_request_mschap
	jmp	LBB0_16
LBB0_13:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r8, %rcx
	callq	_eap_ttls_phase2_request_chap
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TTLS: Identity not configured"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-TTLS: Password not configured"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"EAP-TTLS: Phase 2 - Unknown"

	.comm	_METHOD_DONE,4,2                ## @METHOD_DONE
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.no_dead_strip	_eap_ttls_phase2_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_ttls_phase2_request
_eap_ttls_phase2_request:               ; @eap_ttls_phase2_request
	.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	x21, x4
	mov	x23, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w8, [x1]
	sub	w24, w8, #128
	cmp	w24, #3
	b.lo	LBB0_3
; %bb.1:
	cmp	w8, #131
	b.eq	LBB0_10
; %bb.2:
	cmp	w8, #132
	b.ne	LBB0_9
LBB0_3:
	add	x1, sp, #8
	mov	x0, x20
	bl	_eap_get_config_identity
	cbz	x0, LBB0_8
; %bb.4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_eap_get_config_password
	cbz	x0, LBB0_13
; %bb.5:
	cmp	w24, #4
	b.hi	LBB0_9
; %bb.6:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_7
	ldrb	w10, [x8, x24]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_eap_ttls_phase2_request_pap
	b	LBB0_11
LBB0_8:
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
	mov	x0, x20
	bl	_eap_sm_request_identity
	add	x1, sp, #8
	mov	x0, x20
	bl	_eap_get_config_password
	cbnz	x0, LBB0_15
	b	LBB0_14
LBB0_9:
Lloh7:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x23
	mov	x4, x21
	bl	_eap_ttls_phase2_request_eap
LBB0_11:
	tbz	w0, #31, LBB0_16
LBB0_12:
Lloh12:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _DECISION_FAIL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DECISION_FAIL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_16
LBB0_13:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_14:
	mov	x0, x20
	bl	_eap_sm_request_password
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
	ret
LBB0_17:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_eap_ttls_phase2_request_mschapv2
	b	LBB0_11
LBB0_18:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_eap_ttls_phase2_request_mschap
	b	LBB0_11
LBB0_19:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_eap_ttls_phase2_request_chap
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TTLS: Identity not configured"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-TTLS: Password not configured"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"EAP-TTLS: Phase 2 - Unknown"

	.comm	_METHOD_DONE,4,2                ; @METHOD_DONE
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.no_dead_strip	_eap_ttls_phase2_request
.subsections_via_symbols
