	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_ikev2_get_shared_secret
_eap_ikev2_get_shared_secret:           ## @eap_ikev2_get_shared_secret
	.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	%rcx, %r14
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	(%rbx), %rdx
	movq	16(%rbx), %rsi
LBB0_2:
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_eap_user_get
	testq	%rax, %rax
	js	LBB0_5
## %bb.3:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_7
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-IKEV2: No IDr received - default to user identity from EAP-Identity"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-IKEV2: No user entry found"

	.no_dead_strip	_eap_ikev2_get_shared_secret
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_ikev2_get_shared_secret
_eap_ikev2_get_shared_secret:           ; @eap_ikev2_get_shared_secret
	.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, x3
	mov	x20, x0
Lloh0:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	cbnz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x1, [x20, #16]
	ldr	x2, [x20]
LBB0_2:
	mov	x0, x20
	mov	w3, #0
	bl	_eap_user_get
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x21]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, #0
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-IKEV2: No IDr received - default to user identity from EAP-Identity"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-IKEV2: No user entry found"

	.no_dead_strip	_eap_ikev2_get_shared_secret
.subsections_via_symbols
