	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_cpp_add_arg                 ## -- Begin function dt_cpp_add_arg
	.p2align	4, 0x90
_dt_cpp_add_arg:                        ## @dt_cpp_add_arg
	.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, %r14
	movq	%rdi, %rbx
	movslq	(%rdi), %r13
	movl	4(%rdi), %r12d
	cmpl	%r12d, %r13d
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rdi
	movl	%r13d, %esi
	shll	$4, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r15
	leal	(%r13,%r13), %r12d
	leaq	(%rax,%r13,8), %rdi
	leal	(,%r13,8), %esi
	callq	_bzero
	movq	%r15, 8(%rbx)
	movl	%r12d, 4(%rbx)
LBB0_3:
	movq	%r14, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpl	%r12d, (%rbx)
	setl	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rbx)
	movq	%r14, (%rax,%rcx,8)
	jmp	LBB0_7
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_cpp_add_arg                 ; -- Begin function dt_cpp_add_arg
	.p2align	2
_dt_cpp_add_arg:                        ; @dt_cpp_add_arg
	.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	x20, x1
	mov	x19, x0
	ldp	w23, w22, [x0]
                                        ; kill: def $w23 killed $w23 def $x23
	sxtw	x23, w23
	cmp	w23, w22
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x19, #8]
	lsl	w1, w23, #4
	bl	_realloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	lsl	w22, w23, #1
	lsl	w1, w23, #3
	add	x0, x0, x23, lsl #3
	bl	_bzero
	str	x21, [x19, #8]
	str	w22, [x19, #4]
LBB0_3:
	mov	x0, x20
	bl	_strdup
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, w22
	cset	w0, lt
	bl	_assert
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	str	x20, [x8, x9, lsl #3]
	b	LBB0_6
LBB0_5:
	mov	x20, #0
LBB0_6:
	mov	x0, x20
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
