	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_cmd_execute               ## -- Begin function vcos_cmd_execute
	.p2align	4, 0x90
_vcos_cmd_execute:                      ## @vcos_cmd_execute
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	_vcos_cmd_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cmd_globals@GOTPCREL(%rip), %r12
	leaq	20(%r12), %rdi
	callq	_vcos_once
	movl	%r15d, -96(%rbp)
	movq	%rbx, -80(%rbp)
	movq	%rbx, -88(%rbp)
	movq	$0, -48(%rbp)
	movq	%r14, -72(%rbp)
	movq	%r13, -64(%rbp)
	movq	%r13, -56(%rbp)
	movb	$0, (%r13)
	movq	%r12, %rdi
	callq	_vcos_mutex_lock
	movl	16(%r12), %esi
	leaq	-96(%rbp), %rdi
	callq	_execute_cmd
	movl	%eax, %r15d
	cmpq	$0, -48(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	-96(%rbp), %rdi
	callq	_cmd_log_results
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_vcos_snprintf
	jmp	LBB0_5
LBB0_2:
	cmpq	$0, 8(%r12)
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%r13)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-96(%rbp), %rdi
	callq	_vcos_cmd_printf
LBB0_5:
	movq	_cmd_globals@GOTPCREL(%rip), %rdi
	callq	_vcos_mutex_unlock
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCOS_EINVAL,4,2                ## @VCOS_EINVAL
	.comm	_cmd_globals,24,3               ## @cmd_globals
	.comm	_vcos_cmd_init,4,2              ## @vcos_cmd_init
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"results logged"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_cmd_execute               ; -- Begin function vcos_cmd_execute
	.p2align	2
_vcos_cmd_execute:                      ; @vcos_cmd_execute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _vcos_cmd_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vcos_cmd_init@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x22, _cmd_globals@GOTPAGE
Lloh4:
	ldr	x22, [x22, _cmd_globals@GOTPAGEOFF]
	add	x0, x22, #20
	bl	_vcos_once
	str	w23, [sp, #8]
	stp	x21, x21, [sp, #16]
	stp	x20, x19, [sp, #32]
	stp	x19, xzr, [sp, #48]
	strb	wzr, [x19]
	mov	x0, x22
	bl	_vcos_mutex_lock
	ldr	w1, [x22, #16]
	add	x0, sp, #8
	bl	_execute_cmd
	mov	x21, x0
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_cmd_log_results
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_vcos_snprintf
	b	LBB0_5
LBB0_2:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldrb	w8, [x19]
	cbz	w8, LBB0_5
; %bb.4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_vcos_cmd_printf
LBB0_5:
Lloh9:
	adrp	x0, _cmd_globals@GOTPAGE
Lloh10:
	ldr	x0, [x0, _cmd_globals@GOTPAGEOFF]
	bl	_vcos_mutex_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_VCOS_EINVAL,4,2                ; @VCOS_EINVAL
	.comm	_cmd_globals,24,3               ; @cmd_globals
	.comm	_vcos_cmd_init,4,2              ; @vcos_cmd_init
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"results logged"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

.subsections_via_symbols
