	.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_method
_eap_ttls_phase2_request_eap_method:    ## @eap_ttls_phase2_request_eap_method
	.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	%r9, %r13
	movq	%r8, %r12
	movq	%rsi, %rbx
	movq	16(%rbp), %r15
	movq	48(%rsi), %rax
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_3
## %bb.1:
	movq	40(%rbx), %rax
	movq	_EAP_TYPE_NONE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	callq	_eap_ttls_phase2_select_eap_method
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_3:
	cmpq	%r13, 40(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	_EAP_TYPE_NONE@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_5
## %bb.6:
	cmpq	$0, 24(%rbx)
	jne	LBB0_11
## %bb.7:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	movq	%r13, %rsi
	callq	_eap_peer_get_eap_method
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	$1, (%r14)
	movq	%r14, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%rax, 24(%rbx)
	movl	$0, (%r14)
	jmp	LBB0_10
LBB0_5:
	movl	32(%rbx), %esi
	movl	36(%rbx), %edi
	movq	%rcx, %rdx
	movq	%r15, %rcx
	callq	_eap_peer_tls_phase2_nak
	movq	%rax, %rcx
	xorl	%eax, %eax
	negq	%rcx
	sbbl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	movq	24(%rbx), %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_10:
	testq	%rax, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_12
LBB0_11:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.14:
	movq	%rbx, %rsi
	movq	%r12, %r8
	movq	%r15, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_ttls_phase2_eap_process    ## TAILCALL
LBB0_12:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,8,3            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_NONE,8,3              ## @EAP_TYPE_NONE
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TTLS: failed to initialize Phase 2 EAP method %d"

	.comm	_EAP_TTLS_PHASE2_EAP,8,3        ## @EAP_TTLS_PHASE2_EAP
	.comm	_EAP_TYPE_TNC,8,3               ## @EAP_TYPE_TNC
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.no_dead_strip	_eap_ttls_phase2_request_eap_method
.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_method
_eap_ttls_phase2_request_eap_method:    ; @eap_ttls_phase2_request_eap_method
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x6
	mov	x21, x5
	mov	x22, x4
	mov	x20, x3
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
	ldr	x8, [x1, #48]
Lloh0:
	adrp	x26, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EAP_VENDOR_IETF@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh2:
	adrp	x27, _EAP_TYPE_NONE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _EAP_TYPE_NONE@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x23, #40]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x1, x21
	bl	_eap_ttls_phase2_select_eap_method
LBB0_3:
	ldr	x8, [x23, #40]
	ldr	x9, [x27]
	cmp	x8, x21
	ccmp	x9, x21, #4, eq
	b.ne	LBB0_5
; %bb.4:
	ldp	w1, w0, [x23, #32]
	mov	x2, x20
	mov	x3, x19
	bl	_eap_peer_tls_phase2_nak
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_12
LBB0_5:
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_9
; %bb.6:
	ldr	x0, [x26]
	mov	x1, x21
	bl	_eap_peer_get_eap_method
	str	x0, [x23, #16]
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x25]
	ldr	x8, [x0]
	mov	x0, x25
	blr	x8
	str	x0, [x23, #24]
	str	wzr, [x25]
	cbnz	x0, LBB0_9
	b	LBB0_11
LBB0_8:
	ldr	x0, [x23, #24]
	cbz	x0, LBB0_11
LBB0_9:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	mov	x4, x22
	mov	x5, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_eap_ttls_phase2_eap_process
LBB0_11:
Lloh4:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,8,3            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_NONE,8,3              ; @EAP_TYPE_NONE
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TTLS: failed to initialize Phase 2 EAP method %d"

	.comm	_EAP_TTLS_PHASE2_EAP,8,3        ; @EAP_TTLS_PHASE2_EAP
	.comm	_EAP_TYPE_TNC,8,3               ; @EAP_TYPE_TNC
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.no_dead_strip	_eap_ttls_phase2_request_eap_method
.subsections_via_symbols
