	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmdbuf_add
_cmdbuf_add:                            ## @cmdbuf_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	testb	$1, %al
	jne	LBB0_2
## %bb.1:
	movl	%esi, 4(%r14)
	jmp	LBB0_4
LBB0_2:
	shll	$4, %esi
	orl	%esi, 4(%r14)
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movq	8(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jge	LBB0_4
## %bb.3:
	movl	4(%r14), %eax
	movq	8(%r14), %rcx
	movslq	%ebx, %rdx
	movl	%eax, (%rcx,%rdx,4)
LBB0_4:
	incl	(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmdbuf_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmdbuf_add
_cmdbuf_add:                            ; @cmdbuf_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	tbnz	w8, #0, LBB0_2
; %bb.1:
	str	w1, [x19, #4]
	b	LBB0_4
LBB0_2:
	ldr	w9, [x19, #4]
	orr	w9, w9, w1, lsl #4
	str	w9, [x19, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w20, w8, #1
	ldr	x0, [x19, #8]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	b.ge	LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	ldr	x9, [x19, #8]
	str	w8, [x9, w20, sxtw #2]
LBB0_4:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmdbuf_add
.subsections_via_symbols
