	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_ttls_implicit_identity_request
_eap_ttls_implicit_identity_request:    ## @eap_ttls_implicit_identity_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	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_eap_ttls_fake_identity_request
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_eap_ttls_phase2_request
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_free
LBB0_12:
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r15, %rdi
	callq	_eap_get_config
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_11
## %bb.4:
	cmpq	$0, 32(%rax)
	jne	LBB0_10
## %bb.5:
	cmpq	$0, 24(%rax)
	jne	LBB0_10
## %bb.6:
	cmpq	$0, 16(%rax)
	jne	LBB0_10
## %bb.7:
	cmpq	$0, 8(%rax)
	jne	LBB0_10
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_9
LBB0_10:
	movl	(%r13), %edi
	callq	_wpabuf_clear_free
	xorl	%edi, %edi
	callq	_wpabuf_alloc
	movl	%eax, (%r13)
	movq	-48(%rbp), %rdx
LBB0_11:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_eap_ttls_encrypt_response
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_os_free
	testl	%r12d, %r12d
	jns	LBB0_13
	jmp	LBB0_12
LBB0_9:
	xorl	%edx, %edx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_METHOD_DONE,8,3                ## @METHOD_DONE
	.comm	_DECISION_FAIL,8,3              ## @DECISION_FAIL
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TTLS: Phase2 Request processing failed"

	.no_dead_strip	_eap_ttls_implicit_identity_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_implicit_identity_request
_eap_ttls_implicit_identity_request:    ; @eap_ttls_implicit_identity_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	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
	bl	_eap_ttls_fake_identity_request
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	xzr, [sp, #8]
	add	x4, sp, #8
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x20
	bl	_eap_ttls_phase2_request
	cbz	x0, LBB0_6
; %bb.2:
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
	bl	_wpa_printf
	mov	x0, x20
	bl	_os_free
LBB0_3:
	mov	w21, #-1
LBB0_4:
Lloh5:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _DECISION_FAIL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DECISION_FAIL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	stp	x9, x8, [x19]
LBB0_5:
	mov	x0, x21
	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_6:
	mov	x0, x24
	bl	_eap_get_config
	ldr	x2, [sp, #8]
	cbnz	x2, LBB0_13
; %bb.7:
	ldr	x8, [x0, #32]
	cbnz	x8, LBB0_12
; %bb.8:
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_12
; %bb.9:
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x0]
	cbz	x8, LBB0_14
LBB0_12:
	ldr	w0, [x23]
	bl	_wpabuf_clear_free
	mov	w0, #0
	bl	_wpabuf_alloc
	str	w0, [x23]
	ldr	x2, [sp, #8]
LBB0_13:
	mov	x0, x24
	mov	x1, x23
	mov	x3, x22
	mov	x4, x21
	bl	_eap_ttls_encrypt_response
	mov	x21, x0
	mov	x0, x20
	bl	_os_free
	tbz	w21, #31, LBB0_5
	b	LBB0_4
LBB0_14:
	mov	x2, #0
	b	LBB0_13
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_METHOD_DONE,8,3                ; @METHOD_DONE
	.comm	_DECISION_FAIL,8,3              ; @DECISION_FAIL
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TTLS: Phase2 Request processing failed"

	.no_dead_strip	_eap_ttls_implicit_identity_request
.subsections_via_symbols
