	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CTLOG_STORE_load_file          ## -- Begin function CTLOG_STORE_load_file
	.p2align	4, 0x90
_CTLOG_STORE_load_file:                 ## @CTLOG_STORE_load_file
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ctlog_store_load_ctx_new
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, 16(%rax)
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_NCONF_new
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_NCONF_load
	testq	%rax, %rax
	jle	LBB0_6
## %bb.3:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_NCONF_get_string
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_ctlog_store_load_log@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %r14d
	movq	%rax, %rdi
	movl	$44, %esi
	movl	$1, %edx
	movq	%rbx, %r8
	callq	_CONF_parse_list
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	cmpq	$0, (%rbx)
	jle	LBB0_7
LBB0_6:
	movq	_CT_F_CTLOG_STORE_LOAD_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CT_R_LOG_CONF_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CTerr
	xorl	%r14d, %r14d
LBB0_7:
	movq	8(%rbx), %rdi
	callq	_NCONF_free
	movq	%rbx, %rdi
	callq	_ctlog_store_load_ctx_free
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_F_CTLOG_STORE_LOAD_FILE,4,2 ## @CT_F_CTLOG_STORE_LOAD_FILE
	.comm	_CT_R_LOG_CONF_INVALID,4,2      ## @CT_R_LOG_CONF_INVALID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabled_logs"

	.comm	_ctlog_store_load_log,4,2       ## @ctlog_store_load_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CTLOG_STORE_load_file          ; -- Begin function CTLOG_STORE_load_file
	.p2align	2
_CTLOG_STORE_load_file:                 ; @CTLOG_STORE_load_file
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_ctlog_store_load_ctx_new
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	str	x21, [x0, #16]
	mov	x0, #0
	bl	_NCONF_new
	str	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.2:
	mov	x1, x20
	mov	x2, #0
	bl	_NCONF_load
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	bl	_NCONF_get_string
	cbz	x0, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _ctlog_store_load_log@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ctlog_store_load_log@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	w1, #44
	mov	w2, #1
	mov	x4, x19
	bl	_CONF_parse_list
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_11
LBB0_6:
Lloh5:
	adrp	x8, _CT_F_CTLOG_STORE_LOAD_FILE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CT_F_CTLOG_STORE_LOAD_FILE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _CT_R_LOG_CONF_INVALID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CT_R_LOG_CONF_INVALID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_CTerr
LBB0_7:
	mov	w20, #0
LBB0_8:
	ldr	x0, [x19, #8]
	bl	_NCONF_free
	mov	x0, x19
	bl	_ctlog_store_load_ctx_free
	b	LBB0_10
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x20
	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
LBB0_11:
	mov	w20, #1
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_F_CTLOG_STORE_LOAD_FILE,4,2 ; @CT_F_CTLOG_STORE_LOAD_FILE
	.comm	_CT_R_LOG_CONF_INVALID,4,2      ; @CT_R_LOG_CONF_INVALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabled_logs"

	.comm	_ctlog_store_load_log,4,2       ; @ctlog_store_load_log
.subsections_via_symbols
