	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_ttls_process_phase2_pap
_eap_ttls_process_phase2_pap:           ## @eap_ttls_process_phase2_pap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movl	16(%rax), %edi
	testl	%edi, %edi
	je	LBB0_4
## %bb.2:
	cmpq	$0, 24(%rax)
	je	LBB0_3
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_5:
	callq	_wpa_printf
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_eap_ttls_state                 ## TAILCALL
LBB0_3:
	movq	_EAP_TTLS_AUTH_PAP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rax)
	je	LBB0_4
## %bb.6:
	cmpq	%rcx, 8(%rax)
	jne	LBB0_8
## %bb.7:
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_ttls_state
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_eap_ttls_valid_session         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TTLS_AUTH_PAP,4,2          ## @EAP_TTLS_AUTH_PAP
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TTLS/PAP: No plaintext user password configured"

	.comm	_FAILURE,4,2                    ## @FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TTLS/PAP: Invalid user password"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-TTLS/PAP: Correct user password"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_eap_ttls_process_phase2_pap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_ttls_process_phase2_pap
_eap_ttls_process_phase2_pap:           ; @eap_ttls_process_phase2_pap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w0, [x8, #16]
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_wpa_printf
Lloh5:
	adrp	x8, _FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eap_ttls_state
LBB0_5:
	ldr	w9, [x8]
Lloh8:
	adrp	x10, _EAP_TTLS_AUTH_PAP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EAP_TTLS_AUTH_PAP@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.6:
	ldr	x8, [x8, #8]
	cmp	x8, x3
	b.ne	LBB0_8
; %bb.7:
	mov	x1, x2
	mov	x2, x3
	bl	_os_memcmp_const
	cbz	x0, LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_9:
Lloh16:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh21:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_ttls_state
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eap_ttls_valid_session
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TTLS_AUTH_PAP,4,2          ; @EAP_TTLS_AUTH_PAP
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TTLS/PAP: No plaintext user password configured"

	.comm	_FAILURE,4,2                    ; @FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TTLS/PAP: Invalid user password"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-TTLS/PAP: Correct user password"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_eap_ttls_process_phase2_pap
.subsections_via_symbols
