	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ikev2_process_sa_auth_decrypted
_ikev2_process_sa_auth_decrypted:       ## @ikev2_process_sa_auth_decrypted
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	leaq	(%rbx,%r15,4), %rcx
	leaq	-56(%rbp), %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_ikev2_parse_payloads
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %esi
	movq	%r14, %rdi
	callq	_ikev2_process_idr
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_5
## %bb.3:
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_ikev2_process_cert
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %esi
	movq	%r14, %rdi
	callq	_ikev2_process_auth
	movq	%rax, %rbx
	sarq	$63, %rbx
	jmp	LBB0_5
LBB0_1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IKEV2: Processing decrypted payloads"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"IKEV2: Failed to parse decrypted payloads"

	.no_dead_strip	_ikev2_process_sa_auth_decrypted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ikev2_process_sa_auth_decrypted
_ikev2_process_sa_auth_decrypted:       ; @ikev2_process_sa_auth_decrypted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
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
	bl	_wpa_printf
	add	x3, x21, x20, lsl #2
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x21
	bl	_ikev2_parse_payloads
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldp	w2, w1, [sp, #24]
	mov	x0, x19
	bl	_ikev2_process_idr
	tbnz	x0, #63, LBB0_5
; %bb.2:
	ldp	w2, w1, [sp, #16]
	mov	x0, x19
	bl	_ikev2_process_cert
	tbnz	x0, #63, LBB0_5
; %bb.3:
	ldp	w2, w1, [sp, #8]
	mov	x0, x19
	bl	_ikev2_process_auth
	asr	x0, x0, #63
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_5:
	mov	w0, #-1
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IKEV2: Processing decrypted payloads"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"IKEV2: Failed to parse decrypted payloads"

	.no_dead_strip	_ikev2_process_sa_auth_decrypted
.subsections_via_symbols
