	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function StartQuickMode
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_StartQuickMode
	.p2align	4, 0x90
_StartQuickMode:                        ## @StartQuickMode
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IKE_MAX_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%r14, %r14
	je	LBB0_28
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.2:
	leaq	88(%rbx), %r12
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_IsZero
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_Debug
	jmp	LBB0_28
LBB0_4:
	movq	96(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.5:
	movq	%rbx, -184(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%r14, %rbx
	movq	%rdx, %r14
	callq	_IPsecLog
	leaq	-320(%rbp), %rdi
	movq	%r12, %rsi
	movl	$24, %edx
	callq	_Copy
	movq	%rbx, %r12
	movq	%rbx, %rdi
	callq	_GenerateNewMessageId
	movq	%r15, -280(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, -216(%rbp)                ## 8-byte Spill
	movq	%r14, %rsi
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	%rax, %rdx
	callq	_IkeCalcPhase2InitialIv
	movq	%rsp, -272(%rbp)                ## 8-byte Spill
	movq	_IKE_MAX_HASH_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -256(%rbp)                ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_IKE_SA_RAND_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RandBuf
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	-312(%rbp), %rdi
	testq	%rdi, %rdi
	movq	%r13, -288(%rbp)                ## 8-byte Spill
	je	LBB0_6
## %bb.7:
	callq	_IkeDhNewCtx
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_IKE_PAYLOAD_KEY_EXCHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	8(%rax), %rsi
	movl	(%rax), %edx
	callq	_IkeNewDataPayload
	movq	%rax, %r14
	jmp	LBB0_10
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_8:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
LBB0_10:
	leal	(,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_Zero
	xorl	%edi, %edi
	callq	_NewListFast
	movq	%rax, %r13
	movq	_IKE_PAYLOAD_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_IkeNewDataPayload
	movq	%r13, %rdi
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_Add
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_GenerateNewIPsecSaSpi
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_Endian32
	movq	%rax, -296(%rbp)
	leaq	-320(%rbp), %rsi
	movq	%r12, %rdi
	callq	_TransformSettingToTransformPayloadForIPsec
	movq	_IKE_PROTOCOL_ID_IPSEC_ESP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_NewListSingle
	leaq	-296(%rbp), %rdx
	movl	$1, %edi
	movl	%ebx, %esi
	movl	$8, %ecx
	movl	%eax, %r8d
	callq	_IkeNewProposalPayload
	movq	%rax, %rdi
	callq	_NewListSingle
	movl	%eax, %edi
	callq	_IkeNewSaPayload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_Add
	movq	_IKE_PAYLOAD_RAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	movl	(%rax), %edx
	callq	_IkeNewDataPayload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_Add
	testq	%r14, %r14
	je	LBB0_12
## %bb.11:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_Add
LBB0_12:
	movq	%r12, -264(%rbp)                ## 8-byte Spill
	movq	-184(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 80(%rax)
	je	LBB0_21
## %bb.13:
	movq	-320(%rbp), %rax
	movq	_IKE_P2_CAPSULE_NAT_TUNNEL_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	_IKE_P2_CAPSULE_NAT_TUNNEL_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.19:
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movl	72(%rbx), %edi
	movl	68(%rbx), %esi
	movl	64(%rbx), %edx
	movq	56(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rax), %r8d
	callq	_IkeNewIdPayload
	movq	%rax, %r15
	movl	48(%rbx), %edi
	movl	44(%rbx), %esi
	movl	40(%rbx), %edx
	movq	32(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rax), %r8d
	callq	_IkeNewIdPayload
	movq	%rax, %r12
	jmp	LBB0_20
LBB0_15:
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_Zero
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	callq	_IsIP4
	testq	%rax, %rax
	jne	LBB0_16
## %bb.17:
	movq	_IKE_ID_IPV6_ADDR_SUBNET@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_IKE_ID_IPV4_ADDR_SUBNET@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %r12d
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_IsIP4
	testq	%rax, %rax
	movl	$32, %eax
	movl	$8, %r8d
	cmovel	%eax, %r8d
	movl	%r12d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_IkeNewIdPayload
	movq	%rax, %r12
	movl	72(%rbx), %edi
	movl	68(%rbx), %esi
	movl	64(%rbx), %edx
	movq	56(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rax), %r8d
	callq	_IkeNewIdPayload
	movq	%rax, %r15
LBB0_20:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_Add
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_Add
LBB0_21:
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	cmpq	$0, 24(%rbx)
	je	LBB0_23
## %bb.22:
	movq	_IKE_PAYLOAD_NAT_OA_DRAFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_IkeNewNatOaPayload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_Add
LBB0_23:
	cmpq	$0, 16(%rbx)
	je	LBB0_25
## %bb.24:
	movq	_IKE_PAYLOAD_NAT_OA_DRAFT_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_IkeNewNatOaPayload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_Add
LBB0_25:
	cmpq	$0, 8(%rbx)
	je	LBB0_27
## %bb.26:
	movq	_IKE_PAYLOAD_NAT_OA@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	4(%rbx), %rsi
	callq	_IkeNewNatOaPayload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_Add
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_IkeNewNatOaPayload
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_Add
LBB0_27:
	movq	%r13, %r10
	movq	-216(%rbp), %r13                ## 8-byte Reload
	movl	12(%r13), %esi
	movl	16(%r13), %edi
	movq	_IKE_EXCHANGE_TYPE_QUICK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	movq	-208(%rbp), %r15                ## 8-byte Reload
	pushq	%r15
	callq	_IkeNew
	addq	$16, %rsp
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_IkeBuild
	movq	%rax, %rbx
	movq	-232(%rbp), %r12                ## 8-byte Reload
	movq	8(%r12), %rax
	movq	(%rax), %rax
	leaq	8(%rax), %rcx
	movslq	(%rbx), %rsi
	subq	%rcx, %rsi
	cmovleq	%r14, %rsi
	leaq	32(,%rax,4), %rdi
	addq	8(%rbx), %rdi
	callq	_MemToBuf
	movq	%rax, %r14
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_FreeBuf
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_WriteBufInt
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_WriteBufBuf
	movl	8(%r13), %edi
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	movq	8(%rbx), %r8
	movslq	(%rbx), %r9
	movq	-256(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_IkeHMac
	movq	%rbx, %rdi
	callq	_FreeBuf
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movl	(%r13), %edx
	movq	%r14, %rsi
	callq	_Copy
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rax
	movslq	(%rcx), %rcx
	subq	$80, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rsp)
	leaq	-320(%rbp), %rdx
	movq	%rdx, 48(%rsp)
	movq	%rcx, 24(%rsp)
	movq	%rax, 16(%rsp)
	movq	-248(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 8(%rsp)
	movq	-280(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, (%rsp)
	movl	$0, 40(%rsp)
	movq	$0, 32(%rsp)
	movq	-264(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-184(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	$1, %ecx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_NewIPsecSa
	addq	$80, %rsp
	movq	%rax, %r15
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rax
	movslq	(%rcx), %rcx
	subq	$80, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rsp)
	leaq	-320(%rbp), %rdx
	movq	%rdx, 48(%rsp)
	movq	%rcx, 24(%rsp)
	movq	%rax, 16(%rsp)
	movq	%rbx, (%rsp)
	movl	$0, 40(%rsp)
	movq	$0, 32(%rsp)
	movq	$0, 8(%rsp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	$1, %ecx
	movq	-208(%rbp), %r8                 ## 8-byte Reload
	movl	$1, %r9d
	callq	_NewIPsecSa
	addq	$80, %rsp
	movq	%rax, %rbx
	movq	%rax, 16(%r15)
	movq	%r15, 16(%rax)
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_Insert
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_Insert
	movq	-240(%rbp), %r15                ## 8-byte Reload
	movl	$1, (%r15)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_IPsecSaSendPacket
	movl	$3, (%rbx)
	movq	%r15, %rdi
	callq	_IkeFree
	xorl	%edi, %edi
	callq	_Free
	movq	-224(%rbp), %rdi                ## 8-byte Reload
	callq	_FreeBuf
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	callq	_FreeBuf
	movq	-272(%rbp), %rsp                ## 8-byte Reload
	movq	-288(%rbp), %r13                ## 8-byte Reload
LBB0_28:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_MAX_BLOCK_SIZE,4,2         ## @IKE_MAX_BLOCK_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: c->CachedTransformSetting is not existing.\n"

L_.str.1:                               ## @.str.1
	.asciz	"LI_START_QM_FROM_SERVER"

	.comm	_IKE_MAX_HASH_SIZE,4,2          ## @IKE_MAX_HASH_SIZE
	.comm	_IKE_SA_RAND_SIZE,4,2           ## @IKE_SA_RAND_SIZE
	.comm	_IKE_PAYLOAD_KEY_EXCHANGE,4,2   ## @IKE_PAYLOAD_KEY_EXCHANGE
	.comm	_IKE_PAYLOAD_HASH,4,2           ## @IKE_PAYLOAD_HASH
	.comm	_IKE_PROTOCOL_ID_IPSEC_ESP,4,2  ## @IKE_PROTOCOL_ID_IPSEC_ESP
	.comm	_IKE_PAYLOAD_RAND,4,2           ## @IKE_PAYLOAD_RAND
	.comm	_IKE_P2_CAPSULE_NAT_TUNNEL_1,8,3 ## @IKE_P2_CAPSULE_NAT_TUNNEL_1
	.comm	_IKE_P2_CAPSULE_NAT_TUNNEL_2,8,3 ## @IKE_P2_CAPSULE_NAT_TUNNEL_2
	.comm	_IKE_ID_IPV4_ADDR_SUBNET,4,2    ## @IKE_ID_IPV4_ADDR_SUBNET
	.comm	_IKE_ID_IPV6_ADDR_SUBNET,4,2    ## @IKE_ID_IPV6_ADDR_SUBNET
	.comm	_IKE_PAYLOAD_NAT_OA_DRAFT,4,2   ## @IKE_PAYLOAD_NAT_OA_DRAFT
	.comm	_IKE_PAYLOAD_NAT_OA_DRAFT_2,4,2 ## @IKE_PAYLOAD_NAT_OA_DRAFT_2
	.comm	_IKE_PAYLOAD_NAT_OA,4,2         ## @IKE_PAYLOAD_NAT_OA
	.comm	_IKE_EXCHANGE_TYPE_QUICK,4,2    ## @IKE_EXCHANGE_TYPE_QUICK
	.comm	_FORCE_LIFETIME_QM,4,2          ## @FORCE_LIFETIME_QM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StartQuickMode                 ; -- Begin function StartQuickMode
	.p2align	2
_StartQuickMode:                        ; @StartQuickMode
	.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, #240
	mov	x20, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _IKE_MAX_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IKE_MAX_BLOCK_SIZE@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	x21, x9, x8
	mov	sp, x21
	cbz	x0, LBB0_24
; %bb.1:
	cbz	x20, LBB0_24
; %bb.2:
	add	x23, x20, #88
	mov	x0, x23
	mov	w1, #24
	bl	_IsZero
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Debug
	b	LBB0_24
LBB0_4:
	ldr	x22, [x20, #96]
	cbz	x22, LBB0_24
; %bb.5:
Lloh10:
	adrp	x4, l_.str.1@PAGE
Lloh11:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	mov	x3, #0
	bl	_IPsecLog
	sub	x0, x29, #248
	mov	x1, x23
	mov	w2, #24
	bl	_Copy
	mov	x0, x19
	bl	_GenerateNewMessageId
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	sub	x8, x29, #24
	stur	x2, [x8, #-256]                 ; 8-byte Folded Spill
	bl	_IkeCalcPhase2InitialIv
	mov	x26, sp
Lloh12:
	adrp	x12, _IKE_MAX_HASH_SIZE@GOTPAGE
Lloh13:
	ldr	x12, [x12, _IKE_MAX_HASH_SIZE@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	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
	ldr	w25, [x12]
	lsl	x8, x25, #2
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x28, x9, x8
	mov	sp, x28
Lloh18:
	adrp	x8, _IKE_SA_RAND_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IKE_SA_RAND_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_RandBuf
	sub	x8, x29, #8
	stur	x0, [x8, #-256]                 ; 8-byte Folded Spill
	ldur	x0, [x29, #-240]
	sub	x8, x29, #16
	stur	x26, [x8, #-256]                ; 8-byte Folded Spill
	cbz	x0, LBB0_8
; %bb.6:
	bl	_IkeDhNewCtx
	cbz	x0, LBB0_8
; %bb.7:
	mov	x9, x0
Lloh21:
	adrp	x8, _IKE_PAYLOAD_KEY_EXCHANGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IKE_PAYLOAD_KEY_EXCHANGE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	sub	x8, x29, #56
	stur	x9, [x8, #-256]                 ; 8-byte Folded Spill
	ldr	x8, [x9]
	ldr	x1, [x8, #8]
	ldr	w2, [x8]
	bl	_IkeNewDataPayload
	mov	x27, x0
	b	LBB0_9
LBB0_8:
	mov	x27, #0
	sub	x8, x29, #56
	stur	xzr, [x8, #-256]                ; 8-byte Folded Spill
LBB0_9:
	lsl	w1, w25, #2
	mov	x0, x28
	bl	_Zero
	mov	x0, #0
	bl	_NewListFast
	mov	x25, x0
Lloh24:
	adrp	x8, _IKE_PAYLOAD_HASH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IKE_PAYLOAD_HASH@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w2, [x22]
	mov	x1, x28
	bl	_IkeNewDataPayload
	mov	x28, x0
	mov	x0, x25
	mov	x1, x28
	bl	_Add
	mov	x0, x19
	mov	w1, #0
	bl	_GenerateNewIPsecSaSpi
	sub	x8, x29, #32
	stur	x0, [x8, #-256]                 ; 8-byte Folded Spill
	bl	_Endian32
	stur	x0, [x29, #-256]
	sub	x1, x29, #248
	mov	x0, x19
	bl	_TransformSettingToTransformPayloadForIPsec
Lloh27:
	adrp	x8, _IKE_PROTOCOL_ID_IPSEC_ESP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IKE_PROTOCOL_ID_IPSEC_ESP@GOTPAGEOFF]
Lloh29:
	ldr	w26, [x8]
	bl	_NewListSingle
	mov	x4, x0
	sub	x2, x29, #256
	mov	w0, #1
	mov	x1, x26
	mov	w3, #8
	bl	_IkeNewProposalPayload
	bl	_NewListSingle
	bl	_IkeNewSaPayload
	mov	x1, x0
	mov	x0, x25
	bl	_Add
Lloh30:
	adrp	x8, _IKE_PAYLOAD_RAND@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IKE_PAYLOAD_RAND@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	sub	x8, x29, #8
	ldur	x8, [x8, #-256]                 ; 8-byte Folded Reload
	ldr	x1, [x8, #8]
	ldr	w2, [x8]
	bl	_IkeNewDataPayload
	mov	x1, x0
	mov	x0, x25
	bl	_Add
	cbz	x27, LBB0_11
; %bb.10:
	mov	x0, x25
	mov	x1, x27
	bl	_Add
LBB0_11:
	ldr	x8, [x20, #80]
	cbz	x8, LBB0_17
; %bb.12:
	ldur	x8, [x29, #-248]
Lloh33:
	adrp	x9, _IKE_P2_CAPSULE_NAT_TUNNEL_1@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IKE_P2_CAPSULE_NAT_TUNNEL_1@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.13:
Lloh36:
	adrp	x9, _IKE_P2_CAPSULE_NAT_TUNNEL_2@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IKE_P2_CAPSULE_NAT_TUNNEL_2@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.14:
	ldp	w1, w0, [x20, #68]
	ldr	w2, [x20, #64]
	ldr	x8, [x20, #56]
	ldr	x3, [x8, #8]
	ldr	w4, [x8]
	bl	_IkeNewIdPayload
	mov	x27, x0
	ldp	w1, w0, [x20, #44]
	ldr	w2, [x20, #40]
	ldr	x8, [x20, #32]
	ldr	x3, [x8, #8]
	ldr	w4, [x8]
	bl	_IkeNewIdPayload
	mov	x26, x0
	b	LBB0_16
LBB0_15:
	sub	x0, x29, #224
	mov	w1, #128
	bl	_Zero
	mov	x0, x20
	bl	_IsIP4
Lloh39:
	adrp	x8, _IKE_ID_IPV4_ADDR_SUBNET@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IKE_ID_IPV4_ADDR_SUBNET@GOTPAGEOFF]
Lloh41:
	adrp	x9, _IKE_ID_IPV6_ADDR_SUBNET@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IKE_ID_IPV6_ADDR_SUBNET@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w26, [x8]
	mov	x0, x20
	bl	_IsIP4
	cmp	x0, #0
	mov	w8, #8
	mov	w9, #32
	csel	w4, w9, w8, eq
	sub	x3, x29, #224
	mov	x0, x26
	mov	w1, #0
	mov	w2, #0
	bl	_IkeNewIdPayload
	mov	x26, x0
	ldp	w1, w0, [x20, #68]
	ldr	w2, [x20, #64]
	ldr	x8, [x20, #56]
	ldr	x3, [x8, #8]
	ldr	w4, [x8]
	bl	_IkeNewIdPayload
	mov	x27, x0
LBB0_16:
	mov	x0, x25
	mov	x1, x26
	bl	_Add
	mov	x0, x25
	mov	x1, x27
	bl	_Add
LBB0_17:
	ldr	x8, [x20, #24]
	sub	x9, x29, #40
	stur	x23, [x9, #-256]                ; 8-byte Folded Spill
	cbz	x8, LBB0_19
; %bb.18:
Lloh43:
	adrp	x8, _IKE_PAYLOAD_NAT_OA_DRAFT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IKE_PAYLOAD_NAT_OA_DRAFT@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_IkeNewNatOaPayload
	mov	x1, x0
	mov	x0, x25
	bl	_Add
LBB0_19:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_21
; %bb.20:
Lloh46:
	adrp	x8, _IKE_PAYLOAD_NAT_OA_DRAFT_2@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IKE_PAYLOAD_NAT_OA_DRAFT_2@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_IkeNewNatOaPayload
	mov	x1, x0
	mov	x0, x25
	bl	_Add
LBB0_21:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_23
; %bb.22:
Lloh49:
	adrp	x26, _IKE_PAYLOAD_NAT_OA@GOTPAGE
Lloh50:
	ldr	x26, [x26, _IKE_PAYLOAD_NAT_OA@GOTPAGEOFF]
	ldr	w0, [x26]
	add	x1, x20, #4
	bl	_IkeNewNatOaPayload
	mov	x1, x0
	mov	x0, x25
	bl	_Add
	ldr	w0, [x26]
	mov	x1, x20
	bl	_IkeNewNatOaPayload
	mov	x1, x0
	mov	x0, x25
	bl	_Add
LBB0_23:
	ldp	w1, w0, [x22, #12]
Lloh51:
	adrp	x8, _IKE_EXCHANGE_TYPE_QUICK@GOTPAGE
Lloh52:
	ldr	x8, [x8, _IKE_EXCHANGE_TYPE_QUICK@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	sub	x8, x29, #24
	ldur	x23, [x8, #-256]                ; 8-byte Folded Reload
	mov	x6, x23
	mov	x7, x25
	bl	_IkeNew
	mov	x25, x0
	mov	x1, #0
	bl	_IkeBuild
	mov	x26, x0
	ldr	x8, [x28, #8]
	ldr	x8, [x8]
	add	x8, x8, #8
	ldrsw	x9, [x0]
	subs	x9, x9, x8
	csel	x1, x9, xzr, gt
	ldr	x9, [x0, #8]
	add	x0, x9, x8, lsl #2
	bl	_MemToBuf
	mov	x27, x28
	mov	x28, x0
	sub	x8, x29, #48
	stur	x0, [x8, #-256]                 ; 8-byte Folded Spill
	mov	x0, x26
	bl	_FreeBuf
	bl	_NewBuf
	mov	x26, x0
	mov	x1, x23
	bl	_WriteBufInt
	mov	x0, x26
	mov	x1, x28
	bl	_WriteBufBuf
	ldp	w2, w0, [x22, #4]
	ldr	w3, [x22]
	ldr	x4, [x26, #8]
	ldrsw	x5, [x26]
	sub	x8, x29, #40
	ldur	x28, [x8, #-256]                ; 8-byte Folded Reload
	mov	x1, x28
	bl	_IkeHMac
	mov	x0, x26
	bl	_FreeBuf
	ldr	x8, [x27]
	ldr	x0, [x8]
	ldr	w2, [x22]
	mov	x1, x28
	bl	_Copy
	sub	x8, x29, #8
	ldur	x27, [x8, #-256]                ; 8-byte Folded Reload
	ldr	x8, [x27, #8]
	ldrsw	x9, [x27]
	sub	sp, sp, #64
	stp	xzr, xzr, [sp, #40]
	sub	x28, x29, #248
	str	x28, [sp, #32]
	str	wzr, [sp, #24]
	stp	x9, xzr, [sp, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	mov	x4, x23
	mov	w5, #0
	mov	x6, x21
	sub	x8, x29, #32
	ldur	x7, [x8, #-256]                 ; 8-byte Folded Reload
	bl	_NewIPsecSa
	add	sp, sp, #64
	mov	x26, x0
	ldr	x8, [x27, #8]
	ldrsw	x9, [x27]
	sub	sp, sp, #64
	stp	xzr, xzr, [sp, #40]
	str	x28, [sp, #32]
	str	wzr, [sp, #24]
	stp	x9, xzr, [sp, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	mov	x4, x23
	mov	w5, #1
	mov	x6, x21
	mov	x7, #0
	bl	_NewIPsecSa
	add	sp, sp, #64
	mov	x20, x0
	str	x0, [x26, #16]
	sub	x8, x29, #56
	ldur	x8, [x8, #-256]                 ; 8-byte Folded Reload
	stp	x8, x26, [x0, #8]
	ldr	w0, [x19]
	mov	x1, x26
	bl	_Insert
	ldr	w0, [x19]
	mov	x1, x20
	bl	_Insert
	mov	w8, #1
	str	w8, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_IPsecSaSendPacket
	mov	w8, #3
	str	w8, [x20]
	mov	x0, x25
	bl	_IkeFree
	mov	x0, #0
	bl	_Free
	sub	x8, x29, #48
	ldur	x0, [x8, #-256]                 ; 8-byte Folded Reload
	bl	_FreeBuf
	mov	x0, x27
	bl	_FreeBuf
	sub	x8, x29, #16
	ldur	x8, [x8, #-256]                 ; 8-byte Folded Reload
	mov	sp, x8
LBB0_24:
	mov	sp, x24
	ldur	x8, [x29, #-96]
Lloh54:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh55:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	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_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_MAX_BLOCK_SIZE,4,2         ; @IKE_MAX_BLOCK_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: c->CachedTransformSetting is not existing.\n"

l_.str.1:                               ; @.str.1
	.asciz	"LI_START_QM_FROM_SERVER"

	.comm	_IKE_MAX_HASH_SIZE,4,2          ; @IKE_MAX_HASH_SIZE
	.comm	_IKE_SA_RAND_SIZE,4,2           ; @IKE_SA_RAND_SIZE
	.comm	_IKE_PAYLOAD_KEY_EXCHANGE,4,2   ; @IKE_PAYLOAD_KEY_EXCHANGE
	.comm	_IKE_PAYLOAD_HASH,4,2           ; @IKE_PAYLOAD_HASH
	.comm	_IKE_PROTOCOL_ID_IPSEC_ESP,4,2  ; @IKE_PROTOCOL_ID_IPSEC_ESP
	.comm	_IKE_PAYLOAD_RAND,4,2           ; @IKE_PAYLOAD_RAND
	.comm	_IKE_P2_CAPSULE_NAT_TUNNEL_1,8,3 ; @IKE_P2_CAPSULE_NAT_TUNNEL_1
	.comm	_IKE_P2_CAPSULE_NAT_TUNNEL_2,8,3 ; @IKE_P2_CAPSULE_NAT_TUNNEL_2
	.comm	_IKE_ID_IPV4_ADDR_SUBNET,4,2    ; @IKE_ID_IPV4_ADDR_SUBNET
	.comm	_IKE_ID_IPV6_ADDR_SUBNET,4,2    ; @IKE_ID_IPV6_ADDR_SUBNET
	.comm	_IKE_PAYLOAD_NAT_OA_DRAFT,4,2   ; @IKE_PAYLOAD_NAT_OA_DRAFT
	.comm	_IKE_PAYLOAD_NAT_OA_DRAFT_2,4,2 ; @IKE_PAYLOAD_NAT_OA_DRAFT_2
	.comm	_IKE_PAYLOAD_NAT_OA,4,2         ; @IKE_PAYLOAD_NAT_OA
	.comm	_IKE_EXCHANGE_TYPE_QUICK,4,2    ; @IKE_EXCHANGE_TYPE_QUICK
	.comm	_FORCE_LIFETIME_QM,4,2          ; @FORCE_LIFETIME_QM
.subsections_via_symbols
