	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_add_tag                 ## -- Begin function config_add_tag
	.p2align	4, 0x90
_config_add_tag:                        ## @config_add_tag
	.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	%rsi, %rbx
	movq	%rdi, %r13
	callq	_find_tag_id
	movl	$1, %r14d
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%r13), %eax
	leal	8(,%rax,8), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	8(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movl	(%r13), %edx
	shll	$3, %edx
	movq	%r15, %rdi
	callq	_memcpy
	movq	8(%r13), %rdi
	callq	_free
LBB0_7:
	movslq	(%r13), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%r13)
	movq	%r12, (%r15,%rax,8)
	movq	%r15, 8(%r13)
	jmp	LBB0_8
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_4:
	movq	%r15, %rdi
	callq	_free
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_add_tag                 ; -- Begin function config_add_tag
	.p2align	2
_config_add_tag:                        ; @config_add_tag
	.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	x21, x1
	mov	x19, x0
	bl	_find_tag_id
	cmn	w0, #1
	b.eq	LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	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_3:
	ldr	w8, [x19]
	lsl	w8, w8, #3
	add	w0, w8, #8
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.4:
	mov	x20, x0
	mov	x0, x21
	bl	_strdup
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_7
; %bb.6:
	ldr	w8, [x19]
	lsl	w2, w8, #3
	mov	x0, x20
	bl	_memcpy
	ldr	x0, [x19, #8]
	bl	_free
LBB0_7:
	ldrsw	x8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	str	x21, [x20, x8, lsl #3]
	str	x20, [x19, #8]
	b	LBB0_1
LBB0_8:
	mov	x0, x20
	bl	_free
	mov	w0, #0
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
