	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_trusted_roots_from_known_locations
_read_trusted_roots_from_known_locations: ## @read_trusted_roots_from_known_locations
	.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
	movq	%rdi, %r14
	movq	_CERT_STORE_PROV_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509_ASN_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CERT_STORE_CREATE_NEW_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_CertOpenStore
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	movq	_CRYPT_knownLocations@GOTPCREL(%rip), %r12
	movq	_TRUE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %rbx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movq	(%r13), %rdx
	movq	%r15, %rsi
	callq	_import_certs_from_path
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_check_and_store_certs
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CertCloseStore                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CERT_STORE_PROV_MEMORY,4,2     ## @CERT_STORE_PROV_MEMORY
	.comm	_X509_ASN_ENCODING,4,2          ## @X509_ASN_ENCODING
	.comm	_CERT_STORE_CREATE_NEW_FLAG,4,2 ## @CERT_STORE_CREATE_NEW_FLAG
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_CRYPT_knownLocations,8,3       ## @CRYPT_knownLocations
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_CERT_STORE_ADD_NEW,4,2         ## @CERT_STORE_ADD_NEW
	.comm	_kSecFormatX509Cert,4,2         ## @kSecFormatX509Cert
	.comm	_noErr,8,3                      ## @noErr
	.no_dead_strip	_read_trusted_roots_from_known_locations
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_trusted_roots_from_known_locations
_read_trusted_roots_from_known_locations: ; @read_trusted_roots_from_known_locations
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _CERT_STORE_PROV_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CERT_STORE_PROV_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _X509_ASN_ENCODING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509_ASN_ENCODING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _CERT_STORE_CREATE_NEW_FLAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CERT_STORE_CREATE_NEW_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	w2, #0
	mov	x4, #0
	bl	_CertOpenStore
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.2:
	mov	x21, #0
Lloh12:
	adrp	x22, _CRYPT_knownLocations@GOTPAGE
Lloh13:
	ldr	x22, [x22, _CRYPT_knownLocations@GOTPAGEOFF]
Lloh14:
	adrp	x23, _TRUE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.hs	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x21, lsl #2]
	ldr	x2, [x23]
	mov	x1, x20
	bl	_import_certs_from_path
	add	x21, x21, #1
	cbz	x0, LBB0_3
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_check_and_store_certs
LBB0_6:
	mov	x0, x20
	mov	w1, #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
	b	_CertCloseStore
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CERT_STORE_PROV_MEMORY,4,2     ; @CERT_STORE_PROV_MEMORY
	.comm	_X509_ASN_ENCODING,4,2          ; @X509_ASN_ENCODING
	.comm	_CERT_STORE_CREATE_NEW_FLAG,4,2 ; @CERT_STORE_CREATE_NEW_FLAG
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_CRYPT_knownLocations,8,3       ; @CRYPT_knownLocations
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_CERT_STORE_ADD_NEW,4,2         ; @CERT_STORE_ADD_NEW
	.comm	_kSecFormatX509Cert,4,2         ; @kSecFormatX509Cert
	.comm	_noErr,8,3                      ; @noErr
	.no_dead_strip	_read_trusted_roots_from_known_locations
.subsections_via_symbols
