	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_get_config_password2       ## -- Begin function eap_get_config_password2
	.p2align	4, 0x90
_eap_get_config_password2:              ## @eap_get_config_password2
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_eap_get_config
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	(%rax), %ecx
	movq	_EAP_CONFIG_FLAGS_EXT_PASSWORD@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_eap_get_ext_password
	testq	%rax, %rax
	js	LBB0_10
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movl	$0, (%r15)
LBB0_5:
	movl	(%rbx), %edi
	callq	_wpabuf_len
	movq	%rax, (%r14)
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpabuf_head                    ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_7:
	movq	8(%rax), %rdx
	movq	%rdx, (%r14)
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movq	_EAP_CONFIG_FLAGS_PASSWORD_NTHASH@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	andl	(%rdx), %ecx
	setne	%sil
	movl	%esi, (%r15)
LBB0_9:
	movq	16(%rax), %rax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_CONFIG_FLAGS_EXT_PASSWORD,4,2 ## @EAP_CONFIG_FLAGS_EXT_PASSWORD
	.comm	_EAP_CONFIG_FLAGS_PASSWORD_NTHASH,4,2 ## @EAP_CONFIG_FLAGS_PASSWORD_NTHASH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_get_config_password2       ; -- Begin function eap_get_config_password2
	.p2align	2
_eap_get_config_password2:              ; @eap_get_config_password2
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_eap_get_config
	cbz	x0, LBB0_10
; %bb.1:
	mov	x1, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _EAP_CONFIG_FLAGS_EXT_PASSWORD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EAP_CONFIG_FLAGS_EXT_PASSWORD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_eap_get_ext_password
	tbnz	x0, #63, LBB0_9
; %bb.3:
	cbz	x19, LBB0_5
; %bb.4:
	str	wzr, [x19]
LBB0_5:
	ldr	w0, [x21]
	bl	_wpabuf_len
	str	x0, [x20]
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wpabuf_head
LBB0_6:
	ldr	x9, [x1, #8]
	str	x9, [x20]
	cbz	x19, LBB0_8
; %bb.7:
Lloh3:
	adrp	x9, _EAP_CONFIG_FLAGS_PASSWORD_NTHASH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAP_CONFIG_FLAGS_PASSWORD_NTHASH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19]
LBB0_8:
	ldr	x0, [x1, #16]
	b	LBB0_10
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_CONFIG_FLAGS_EXT_PASSWORD,4,2 ; @EAP_CONFIG_FLAGS_EXT_PASSWORD
	.comm	_EAP_CONFIG_FLAGS_PASSWORD_NTHASH,4,2 ; @EAP_CONFIG_FLAGS_PASSWORD_NTHASH
.subsections_via_symbols
