	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_ttls_get_status
_eap_ttls_get_status:                   ## @eap_ttls_get_status
	.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, %r14
	movq	%rdx, %r12
	movq	%rsi, %r13
	addq	$20, %rsi
	callq	_eap_peer_tls_status
	movl	%eax, %ebx
	cltq
	leaq	(%r12,%rax), %rdi
	movq	%r14, %r15
	subq	%rax, %r15
	movl	16(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_os_snprintf
	movq	%r15, %rdi
	movl	%eax, %r15d
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_15
## %bb.1:
	addl	%ebx, %r15d
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movslq	%r15d, %rax
	addq	%rax, %r12
	subq	%rax, %r14
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_12
LBB0_3:
	movslq	%r15d, %rax
	subq	%rax, %r14
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_8:
	movslq	%r15d, %rax
	addq	%rax, %r12
	subq	%rax, %r14
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_12
LBB0_9:
	movslq	%r15d, %rax
	addq	%rax, %r12
	subq	%rax, %r14
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_12
LBB0_4:
	movslq	%r15d, %rax
	addq	%rax, %r12
	subq	%rax, %r14
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rax), %rcx
	jmp	LBB0_7
LBB0_11:
	movslq	%r15d, %rax
	addq	%rax, %r12
	subq	%rax, %r14
	leaq	L_.str.6(%rip), %rdx
LBB0_12:
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_os_snprintf
LBB0_13:
	movl	%eax, %r12d
LBB0_14:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_os_snprintf_error
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovel	%r12d, %ebx
	addl	%r15d, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.2(%rip), %rcx
LBB0_7:
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_os_snprintf
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TTLSv%d Phase2 method="

L_.str.1:                               ## @.str.1
	.asciz	"EAP-%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"?"

L_.str.3:                               ## @.str.3
	.asciz	"MSCHAPV2\n"

L_.str.4:                               ## @.str.4
	.asciz	"MSCHAP\n"

L_.str.5:                               ## @.str.5
	.asciz	"PAP\n"

L_.str.6:                               ## @.str.6
	.asciz	"CHAP\n"

	.no_dead_strip	_eap_ttls_get_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_ttls_get_status
_eap_ttls_get_status:                   ; @eap_ttls_get_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	add	x1, x1, #20
	bl	_eap_peer_tls_status
	mov	x22, x0
	sxtw	x25, w22
	add	x0, x20, x25
	sub	x24, x19, x25
	ldr	w8, [x21, #16]
	str	x8, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x24
	bl	_os_snprintf
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_os_snprintf_error
	cbnz	x0, LBB0_14
; %bb.1:
	add	x22, x25, w23, sxtw
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x8, x22
	sxtw	x8, w8
	add	x0, x20, x8
	sub	x19, x19, x8
Lloh4:
	adrp	x2, l_.str.5@PAGE
Lloh5:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_4:
	mov	w20, #0
	sub	x19, x19, w22, sxtw
	b	LBB0_13
LBB0_5:
	mov	x8, x22
	sxtw	x8, w8
	add	x0, x20, x8
	sub	x19, x19, x8
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_6:
	mov	x8, x22
	sxtw	x8, w8
	add	x0, x20, x8
	sub	x19, x19, x8
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_7:
	add	x0, x20, x22
	sub	x19, x19, x22
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x8, [x8]
	b	LBB0_11
LBB0_9:
	mov	x8, x22
	sxtw	x8, w8
	add	x0, x20, x8
	sub	x19, x19, x8
Lloh10:
	adrp	x2, l_.str.6@PAGE
Lloh11:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_11:
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_12:
	mov	x1, x19
	bl	_os_snprintf
	mov	x20, x0
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_os_snprintf_error
	cmp	x0, #0
	csel	w8, w20, wzr, eq
	add	w22, w8, w22
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TTLSv%d Phase2 method="

l_.str.1:                               ; @.str.1
	.asciz	"EAP-%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"?"

l_.str.3:                               ; @.str.3
	.asciz	"MSCHAPV2\n"

l_.str.4:                               ; @.str.4
	.asciz	"MSCHAP\n"

l_.str.5:                               ; @.str.5
	.asciz	"PAP\n"

l_.str.6:                               ; @.str.6
	.asciz	"CHAP\n"

	.no_dead_strip	_eap_ttls_get_status
.subsections_via_symbols
