	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddRootCert                    ## -- Begin function AddRootCert
	.p2align	4, 0x90
_AddRootCert:                           ## @AddRootCert
	.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_10
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.2:
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.3:
	movl	(%r15), %edi
	callq	_LockList
	movl	(%r15), %edi
	callq	_LIST_NUM
	movq	_MAX_HUB_CERTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_9
## %bb.4:
	movl	(%r15), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_CompareX
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movl	(%r15), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_CloneX
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Insert
LBB0_9:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UnlockList                     ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_HUB_CERTS,8,3              ## @MAX_HUB_CERTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AddRootCert                    ; -- Begin function AddRootCert
	.p2align	2
_AddRootCert:                           ; @AddRootCert
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_10
; %bb.2:
	ldr	x21, [x0]
	cbz	x21, LBB0_10
; %bb.3:
	ldr	w0, [x21]
	bl	_LockList
	ldr	w0, [x21]
	bl	_LIST_NUM
Lloh0:
	adrp	x8, _MAX_HUB_CERTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_HUB_CERTS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.4:
	ldr	w0, [x21]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	x1, x20
	bl	_LIST_DATA
	mov	x1, x19
	bl	_CompareX
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldr	w0, [x21]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_6
LBB0_8:
	ldr	w20, [x21]
	mov	x0, x19
	bl	_CloneX
	mov	x1, x0
	mov	x0, x20
	bl	_Insert
LBB0_9:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_UnlockList
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_HUB_CERTS,8,3              ; @MAX_HUB_CERTS
.subsections_via_symbols
