	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransformSettingToTransformPayloadForIPsec ## -- Begin function TransformSettingToTransformPayloadForIPsec
	.p2align	4, 0x90
_TransformSettingToTransformPayloadForIPsec: ## @TransformSettingToTransformPayloadForIPsec
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.2:
	xorl	%edi, %edi
	callq	_NewListFast
	movq	%rax, %r14
	movq	_IKE_TRANSFORM_VALUE_P2_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
	cmpq	$0, 48(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_IKE_TRANSFORM_VALUE_P2_DH_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
LBB0_4:
	movq	8(%rbx), %rax
	movq	_INFINITE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_6
## %bb.5:
	movq	_IKE_TRANSFORM_VALUE_P2_LIFE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IKE_P2_LIFE_TYPE_SECONDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
	movq	_IKE_TRANSFORM_VALUE_P2_LIFE_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
	movq	(%r15), %rax
LBB0_6:
	cmpq	%rax, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_IKE_TRANSFORM_VALUE_P2_LIFE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IKE_P2_LIFE_TYPE_KILOBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
	movq	_IKE_TRANSFORM_VALUE_P2_LIFE_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
LBB0_8:
	movq	40(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_IKE_TRANSFORM_VALUE_P2_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	shll	$3, %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
LBB0_10:
	movq	_IKE_TRANSFORM_VALUE_P2_CAPSULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	_IkeNewTransformValue
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_Add
	movl	32(%rbx), %esi
	movl	$1, %edi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IkeNewTransformPayload         ## TAILCALL
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_TRANSFORM_VALUE_P2_HMAC,4,2 ## @IKE_TRANSFORM_VALUE_P2_HMAC
	.comm	_IKE_TRANSFORM_VALUE_P2_DH_GROUP,4,2 ## @IKE_TRANSFORM_VALUE_P2_DH_GROUP
	.comm	_INFINITE,8,3                   ## @INFINITE
	.comm	_IKE_TRANSFORM_VALUE_P2_LIFE_TYPE,4,2 ## @IKE_TRANSFORM_VALUE_P2_LIFE_TYPE
	.comm	_IKE_P2_LIFE_TYPE_SECONDS,4,2   ## @IKE_P2_LIFE_TYPE_SECONDS
	.comm	_IKE_TRANSFORM_VALUE_P2_LIFE_VALUE,4,2 ## @IKE_TRANSFORM_VALUE_P2_LIFE_VALUE
	.comm	_IKE_P2_LIFE_TYPE_KILOBYTES,4,2 ## @IKE_P2_LIFE_TYPE_KILOBYTES
	.comm	_IKE_TRANSFORM_VALUE_P2_KEY_SIZE,4,2 ## @IKE_TRANSFORM_VALUE_P2_KEY_SIZE
	.comm	_IKE_TRANSFORM_VALUE_P2_CAPSULE,4,2 ## @IKE_TRANSFORM_VALUE_P2_CAPSULE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransformSettingToTransformPayloadForIPsec ; -- Begin function TransformSettingToTransformPayloadForIPsec
	.p2align	2
_TransformSettingToTransformPayloadForIPsec: ; @TransformSettingToTransformPayloadForIPsec
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_11
; %bb.2:
	mov	x0, #0
	bl	_NewListFast
	mov	x20, x0
Lloh0:
	adrp	x8, _IKE_TRANSFORM_VALUE_P2_HMAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IKE_TRANSFORM_VALUE_P2_HMAC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _IKE_TRANSFORM_VALUE_P2_DH_GROUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IKE_TRANSFORM_VALUE_P2_DH_GROUP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
LBB0_4:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x23, _INFINITE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _INFINITE@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh8:
	adrp	x22, _IKE_TRANSFORM_VALUE_P2_LIFE_TYPE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _IKE_TRANSFORM_VALUE_P2_LIFE_TYPE@GOTPAGEOFF]
Lloh10:
	adrp	x21, _IKE_TRANSFORM_VALUE_P2_LIFE_VALUE@GOTPAGE
Lloh11:
	ldr	x21, [x21, _IKE_TRANSFORM_VALUE_P2_LIFE_VALUE@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x22]
Lloh12:
	adrp	x8, _IKE_P2_LIFE_TYPE_SECONDS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IKE_P2_LIFE_TYPE_SECONDS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
	ldr	w0, [x21]
	ldr	w1, [x19, #8]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
	ldr	x8, [x23]
LBB0_6:
	ldr	x9, [x19, #16]
	cmp	x9, x8
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x22]
Lloh15:
	adrp	x8, _IKE_P2_LIFE_TYPE_KILOBYTES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IKE_P2_LIFE_TYPE_KILOBYTES@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
LBB0_8:
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
Lloh18:
	adrp	x8, _IKE_TRANSFORM_VALUE_P2_KEY_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IKE_TRANSFORM_VALUE_P2_KEY_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w8, [x19, #24]
	lsl	w1, w8, #3
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
LBB0_10:
Lloh21:
	adrp	x8, _IKE_TRANSFORM_VALUE_P2_CAPSULE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IKE_TRANSFORM_VALUE_P2_CAPSULE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19, #28]
	bl	_IkeNewTransformValue
	mov	x1, x0
	mov	x0, x20
	bl	_Add
	ldr	w1, [x19, #32]
	mov	w0, #1
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_IkeNewTransformPayload
LBB0_11:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_TRANSFORM_VALUE_P2_HMAC,4,2 ; @IKE_TRANSFORM_VALUE_P2_HMAC
	.comm	_IKE_TRANSFORM_VALUE_P2_DH_GROUP,4,2 ; @IKE_TRANSFORM_VALUE_P2_DH_GROUP
	.comm	_INFINITE,8,3                   ; @INFINITE
	.comm	_IKE_TRANSFORM_VALUE_P2_LIFE_TYPE,4,2 ; @IKE_TRANSFORM_VALUE_P2_LIFE_TYPE
	.comm	_IKE_P2_LIFE_TYPE_SECONDS,4,2   ; @IKE_P2_LIFE_TYPE_SECONDS
	.comm	_IKE_TRANSFORM_VALUE_P2_LIFE_VALUE,4,2 ; @IKE_TRANSFORM_VALUE_P2_LIFE_VALUE
	.comm	_IKE_P2_LIFE_TYPE_KILOBYTES,4,2 ; @IKE_P2_LIFE_TYPE_KILOBYTES
	.comm	_IKE_TRANSFORM_VALUE_P2_KEY_SIZE,4,2 ; @IKE_TRANSFORM_VALUE_P2_KEY_SIZE
	.comm	_IKE_TRANSFORM_VALUE_P2_CAPSULE,4,2 ; @IKE_TRANSFORM_VALUE_P2_CAPSULE
.subsections_via_symbols
