	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_set_string              ## -- Begin function config_set_string
	.p2align	4, 0x90
_config_set_string:                     ## @config_set_string
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	cmpq	$0, 16(%rdi)
	je	LBB0_7
## %bb.1:
	movq	(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%r13), %rax
LBB0_3:
	movq	%rax, -48(%rbp)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_12
## %bb.5:
	movl	$32, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%rax, %rbx
	movl	$0, (%rax)
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	cmoveq	%r13, %rax
	movq	%rbx, 8(%rax)
	movq	%rbx, (%r13)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%r13), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_config_get_entry
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rax, %r12
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.9:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_free
LBB0_11:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, 16(%r12)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_set_string              ; -- Begin function config_set_string
	.p2align	2
_config_set_string:                     ; @config_set_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x8, [x20]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
LBB0_3:
	str	x8, [sp, #8]
LBB0_4:
	cbz	x19, LBB0_7
; %bb.5:
	mov	w0, #32
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.6:
	mov	x22, x0
	str	wzr, [x0]
	mov	x0, x21
	bl	_strdup
	str	x0, [x22, #24]
	mov	x0, x19
	bl	_strdup
	stp	xzr, x0, [x22, #8]
	ldr	x8, [sp, #8]
	add	x9, x20, #8
	add	x10, x8, #8
	cmp	x8, #0
	csel	x8, x9, x10, eq
	str	x22, [x8]
	str	x22, [x20]
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	x8, [x20, #8]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_config_get_entry
	cbz	x0, LBB0_4
; %bb.9:
	mov	x22, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_4
; %bb.10:
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_free
LBB0_12:
	mov	x0, x19
	bl	_strdup
	str	x0, [x22, #16]
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
