	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ikev2_prf_plus                 ## -- Begin function ikev2_prf_plus
	.p2align	4, 0x90
_ikev2_prf_plus:                        ## @ikev2_prf_plus
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IKEV2_MAX_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	%r14d, -120(%rbp)               ## 4-byte Spill
	movl	%r14d, %edi
	callq	_ikev2_get_prf
	movl	$-1, %ecx
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	16(%rbp), %rcx
	movq	%r15, %rdx
	movq	(%rax), %r15
	movq	%r13, -80(%rbp)
	movq	%r15, -112(%rbp)
	movq	%rdx, -72(%rbp)
	movq	%r12, -104(%rbp)
	leaq	-116(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	$1, -96(%rbp)
	movl	$1, -116(%rbp)
	testq	%rcx, %rcx
	jle	LBB0_9
## %bb.2:
	leaq	(%rbx,%rcx,4), %r12
	movslq	%r15d, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	subq	$8, %rsp
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-120(%rbp), %edi                ## 4-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movl	$2, %ecx
	leaq	-72(%rbp), %r8
	leaq	-104(%rbp), %r9
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-120(%rbp), %edi                ## 4-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movl	$3, %ecx
	leaq	-80(%rbp), %r8
	leaq	-112(%rbp), %r9
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	pushq	%r13
	callq	_ikev2_prf_hash
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %r14
	subq	%rbx, %r14
	sarq	$2, %r14
	cmpq	%r14, -144(%rbp)                ## 8-byte Folded Reload
	cmovleq	%r15, %r14
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_os_memcpy
	leaq	(%rbx,%r14,4), %rbx
	movl	-116(%rbp), %eax
	incl	%eax
	movl	%eax, -116(%rbp)
	cmpq	%r12, %rbx
	jb	LBB0_3
LBB0_9:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_7:
	movl	$-1, %ecx
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ecx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IKEV2_MAX_HASH_LEN,4,2         ## @IKEV2_MAX_HASH_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ikev2_prf_plus                 ; -- Begin function ikev2_prf_plus
	.p2align	2
_ikev2_prf_plus:                        ; @ikev2_prf_plus
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #80
	mov	x26, x6
	mov	x19, x5
	mov	x24, x4
	mov	x25, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _IKEV2_MAX_HASH_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IKEV2_MAX_HASH_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	bl	_ikev2_get_prf
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x27, [x0]
	stp	x23, x25, [x29, #-112]
	stp	x27, x24, [x29, #-136]
	sub	x8, x29, #140
	stur	x8, [x29, #-96]
	mov	w8, #1
	stur	x8, [x29, #-120]
	stur	w8, [x29, #-140]
	cmp	x26, #1
	b.lt	LBB0_8
; %bb.2:
	sub	x8, x29, #112
	add	x8, x8, #8
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	sub	x8, x29, #136
	add	x25, x8, #8
	add	x28, x19, x26, lsl #2
	sxtw	x24, w27
	mov	w8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	w3, #2
	ldur	x4, [x29, #-152]                ; 8-byte Folded Reload
	mov	x5, x25
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x4, x29, #112
	sub	x5, x29, #136
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	w3, #3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x6, x23
	bl	_ikev2_prf_hash
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x28, x19
	asr	x8, x8, #2
	cmp	x24, x8
	csel	x26, x8, x27, gt
	mov	x0, x19
	mov	x1, x23
	mov	x2, x26
	bl	_os_memcpy
	add	x19, x19, x26, lsl #2
	ldur	w8, [x29, #-140]
	add	w8, w8, #1
	stur	w8, [x29, #-140]
	cmp	x19, x28
	b.lo	LBB0_3
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IKEV2_MAX_HASH_LEN,4,2         ; @IKEV2_MAX_HASH_LEN
.subsections_via_symbols
