	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_cmd_vprintf               ## -- Begin function vcos_cmd_vprintf
	.p2align	4, 0x90
_vcos_cmd_vprintf:                      ## @vcos_cmd_vprintf
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rdi
	movl	16(%r12), %ebx
	subl	%edi, %ebx
	addl	(%r12), %ebx
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_vcos_vsnprintf
                                        ## kill: def $eax killed $eax def $rax
	movq	_cmd_globals@GOTPCREL(%rip), %rdx
	leal	1(%rax), %ecx
	cmpq	$0, (%rdx)
	je	LBB0_4
## %bb.1:
	cmpl	%ebx, %ecx
	jge	LBB0_8
## %bb.2:
	movq	8(%r12), %rcx
	cltq
	cmpb	$10, -1(%rax,%rcx)
	jne	LBB0_3
LBB0_8:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmd_log_results                ## TAILCALL
LBB0_4:
	cmpl	%ebx, %ecx
	jl	LBB0_6
## %bb.5:
	movl	$1, 20(%r12)
	movq	8(%r12), %rax
	movb	$0, (%rax)
	movq	%r12, %rdi
	callq	_cmd_log_results
	movq	8(%r12), %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_vcos_vsnprintf
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	cltq
	addq	%rax, 8(%r12)
	jmp	LBB0_7
LBB0_3:
	addq	%rax, %rcx
	movq	%rcx, 8(%r12)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmd_globals,8,3                ## @cmd_globals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_cmd_vprintf               ; -- Begin function vcos_cmd_vprintf
	.p2align	2
_vcos_cmd_vprintf:                      ; @vcos_cmd_vprintf
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	ldr	x0, [x0, #8]
	ldr	w9, [x19, #16]
	sub	w9, w9, w0
	add	w22, w8, w9
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_vcos_vsnprintf
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _cmd_globals@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmd_globals@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	add	w8, w0, #1
	cbz	x9, LBB0_4
; %bb.1:
	cmp	w8, w22
	b.ge	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	sxtw	x9, w0
	add	x10, x9, x8
	ldurb	w10, [x10, #-1]
	cmp	w10, #10
	b.ne	LBB0_7
LBB0_3:
	mov	x0, x19
	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	_cmd_log_results
LBB0_4:
	cmp	w8, w22
	b.lt	LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x19, #20]
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
	mov	x0, x19
	bl	_cmd_log_results
	ldr	x0, [x19, #8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_vcos_vsnprintf
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_6:
	ldr	x8, [x19, #8]
	add	x8, x8, w0, sxtw
	b	LBB0_8
LBB0_7:
	add	x8, x8, x9
LBB0_8:
	str	x8, [x19, #8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cmd_globals,8,3                ; @cmd_globals
.subsections_via_symbols
