	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_daemon_remote_exec             ## -- Begin function daemon_remote_exec
	.p2align	4, 0x90
_daemon_remote_exec:                    ## @daemon_remote_exec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -16(%rbp)
	movl	$0, -20(%rbp)
	movl	(%rdi), %edi
	leaq	-16(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_tube_read_msg
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-16(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
	movq	-16(%rbp), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_execute_cmd
	movq	-16(%rbp), %rdi
	callq	_free
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"daemon_remote_exec: tube_read_msg failed"

	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.1:                               ## @.str.1
	.asciz	"remote exec distributed: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_daemon_remote_exec             ; -- Begin function daemon_remote_exec
	.p2align	2
_daemon_remote_exec:                    ; @daemon_remote_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	w0, [x0]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	w3, #0
	bl	_tube_read_msg
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [sp, #8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
	ldr	x2, [sp, #8]
	mov	x0, #0
	mov	x1, #0
	mov	x3, x19
	bl	_execute_cmd
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"daemon_remote_exec: tube_read_msg failed"

	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.1:                               ; @.str.1
	.asciz	"remote exec distributed: %s"

.subsections_via_symbols
