	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeBuildPayloadList            ## -- Begin function IkeBuildPayloadList
	.p2align	4, 0x90
_IkeBuildPayloadList:                   ## @IkeBuildPayloadList
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_LIST_NUM
	testl	%eax, %eax
	jg	LBB0_3
LBB0_10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SeekBuf
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movq	%r15, %rdi
	callq	_LIST_NUM
	cmpl	%eax, %r12d
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_LIST_DATA
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_LIST_NUM
	decl	%eax
	cmpl	%eax, %r12d
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r12), %esi
	movq	%r15, %rdi
	callq	_LIST_DATA
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdi
	movl	$8, %esi
	callq	_Zero
	testq	%rbx, %rbx
	je	LBB0_6
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rdi
	movl	$8, %esi
	callq	_Zero
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_IKE_PAYLOAD_NONE@GOTPCREL(%rip), %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	callq	_IkeBuildPayload
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movslq	(%rax), %rdi
	addq	$8, %rdi
	callq	_Endian16
	movl	%eax, -48(%rbp)
	movq	%r14, %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_WriteBuf
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_WriteBuf
	movq	%rbx, %rdi
	callq	_FreeBuf
	jmp	LBB0_9
LBB0_1:
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IKE_PAYLOAD_NONE,4,2           ## @IKE_PAYLOAD_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeBuildPayloadList            ; -- Begin function IkeBuildPayloadList
	.p2align	2
_IkeBuildPayloadList:                   ; @IkeBuildPayloadList
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	bl	_NewBuf
	mov	x19, x0
	mov	x0, x20
	bl	_LIST_NUM
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w21, #0
Lloh0:
	adrp	x24, _IKE_PAYLOAD_NONE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IKE_PAYLOAD_NONE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	mov	x0, x20
	bl	_LIST_NUM
	cmp	w21, w0
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_LIST_DATA
	mov	x22, x0
	mov	x0, x20
	bl	_LIST_NUM
	sub	w8, w0, #1
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w1, w21, #1
	mov	x0, x20
	bl	_LIST_DATA
	mov	x23, x0
	add	x0, sp, #8
	mov	w1, #8
	bl	_Zero
	cmp	x23, #0
	csel	x8, x24, x23, eq
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	w1, #8
	bl	_Zero
	mov	x8, x24
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	x0, x22
	bl	_IkeBuildPayload
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldrsw	x8, [x0]
	add	x0, x8, #8
	bl	_Endian16
	str	w0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_WriteBuf
	ldr	x1, [x22, #8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_WriteBuf
	mov	x0, x22
	bl	_FreeBuf
	b	LBB0_3
LBB0_9:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_SeekBuf
	b	LBB0_11
LBB0_10:
	mov	x19, #0
LBB0_11:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IKE_PAYLOAD_NONE,4,2           ; @IKE_PAYLOAD_NONE
.subsections_via_symbols
