	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiWriteCAList                  ## -- Begin function CiWriteCAList
	.p2align	4, 0x90
_CiWriteCAList:                         ## @CiWriteCAList
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movl	(%r14), %edi
	callq	_LockList
	movl	(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%r15, %r13
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rcx
	callq	_Format
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_CfgCreateFolder
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	callq	_CiWriteCACert
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	incq	%rbx
	movl	(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	(%r14), %edi
	callq	_UnlockList
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Certificate%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiWriteCAList                  ; -- Begin function CiWriteCAList
	.p2align	2
_CiWriteCAList:                         ; @CiWriteCAList
	.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, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	x26, [x0]
	ldr	w0, [x26]
	bl	_LockList
	ldr	w0, [x26]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
Lloh3:
	adrp	x27, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, sp
	ldr	w23, [x27]
	mov	x9, x23
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	ldr	w0, [x26]
	mov	x1, x21
	bl	_LIST_DATA
	mov	x25, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_Format
	mov	x0, x19
	mov	x1, x24
	bl	_CfgCreateFolder
	mov	x1, x0
	mov	x0, x20
	mov	x2, x25
	bl	_CiWriteCACert
	mov	sp, x28
	add	x21, x21, #1
	ldr	w0, [x26]
	bl	_LIST_NUM
	cmp	x21, x0
	b.lt	LBB0_4
LBB0_5:
	ldr	w0, [x26]
	bl	_UnlockList
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Certificate%u"

.subsections_via_symbols
