	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeSaRecvPacket                ## -- Begin function IkeSaRecvPacket
	.p2align	4, 0x90
_IkeSaRecvPacket:                       ## @IkeSaRecvPacket
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %r15
	testq	%rdx, %rdx
	jne	LBB0_5
## %bb.3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, (%r12)
	je	LBB0_10
## %bb.6:
	cmpq	$0, 8(%r12)
	je	LBB0_10
## %bb.7:
	leaq	-40(%rbp), %rdi
	movl	4(%r12), %edx
	movl	16(%r12), %esi
	callq	_Copy
	movq	8(%r12), %rax
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_IkeParse
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movl	-56(%rbp), %esi
	movl	4(%r12), %edx
	movq	%r12, %rdi
	callq	_IkeSaUpdateIv
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IkeParse                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeSaRecvPacket                ; -- Begin function IkeSaRecvPacket
	.p2align	2
_IkeSaRecvPacket:                       ; @IkeSaRecvPacket
	.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	x22, #0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x20, x3
	mov	x21, x2
	cbnz	x2, LBB0_6
; %bb.3:
	cbz	x20, LBB0_6
; %bb.4:
	mov	x22, #0
LBB0_5:
	mov	x0, x22
	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
LBB0_6:
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.8:
	add	x8, sp, #8
	add	x0, x8, #16
	ldr	w1, [x19, #16]
	ldr	w2, [x19, #4]
	bl	_Copy
	ldr	x8, [x19, #8]
	str	x8, [sp, #16]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_IkeParse
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.9:
	ldr	w1, [sp, #8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_IkeSaUpdateIv
	b	LBB0_5
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	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
	b	_IkeParse
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
