	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_push_to_cmd_buffer             ## -- Begin function push_to_cmd_buffer
	.p2align	4, 0x90
_push_to_cmd_buffer:                    ## @push_to_cmd_buffer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cmd_buffer_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	_cmd_buffer@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_firstTime@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	$0, (%rcx)
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_CMD_BUFF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmpl	$2, %ebx
	jl	LBB0_7
## %bb.5:
	movl	$4294967294, %r15d              ## imm = 0xFFFFFFFE
	addq	%rbx, %r15
	decq	%rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edi
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	$80, %edx
	callq	_strncpy
	movq	(%r14), %rax
	decq	%r15
	leaq	-1(%rbx), %rcx
	incq	%rbx
	cmpq	$2, %rbx
	movq	%rcx, %rbx
	jg	LBB0_6
LBB0_7:
	movl	(%rax), %edi
	movq	_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cmd_buffer_enabled,8,3         ## @cmd_buffer_enabled
	.comm	_cmd_buffer,8,3                 ## @cmd_buffer
	.comm	_firstTime,4,2                  ## @firstTime
	.comm	_buffer,4,2                     ## @buffer
	.comm	_CMD_BUFF_SIZE,4,2              ## @CMD_BUFF_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_push_to_cmd_buffer             ; -- Begin function push_to_cmd_buffer
	.p2align	2
_push_to_cmd_buffer:                    ; @push_to_cmd_buffer
	.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
Lloh0:
	adrp	x8, _cmd_buffer_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmd_buffer_enabled@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x19, _cmd_buffer@GOTPAGE
Lloh4:
	ldr	x19, [x19, _cmd_buffer@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x9, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	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_2:
Lloh5:
	adrp	x9, _firstTime@GOTPAGE
Lloh6:
	ldr	x9, [x9, _firstTime@GOTPAGEOFF]
	ldr	w10, [x9]
	cbz	w10, LBB0_4
; %bb.3:
	str	wzr, [x9]
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x9, _CMD_BUFF_SIZE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CMD_BUFF_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x9]
	cmp	w20, #2
	b.lt	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x21, x20, #1
	ldr	w0, [x8, w21, uxtw #2]
	sub	w9, w20, #2
	ldr	w1, [x8, w9, uxtw #2]
	mov	w2, #80
	bl	_strncpy
	ldr	x8, [x19]
	cmp	x20, #2
	mov	x20, x21
	b.gt	LBB0_5
LBB0_6:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _buffer@GOTPAGE
Lloh11:
	ldr	x8, [x8, _buffer@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	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
	b	_strcpy
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_cmd_buffer_enabled,8,3         ; @cmd_buffer_enabled
	.comm	_cmd_buffer,8,3                 ; @cmd_buffer
	.comm	_firstTime,4,2                  ; @firstTime
	.comm	_buffer,4,2                     ; @buffer
	.comm	_CMD_BUFF_SIZE,4,2              ; @CMD_BUFF_SIZE
.subsections_via_symbols
