	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function distribute_cmd
_distribute_cmd:                        ## @distribute_cmd
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.2:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	cmpl	$2, (%rax)
	jl	LBB0_7
## %bb.3:
	movl	$1, %ebx
	movq	_worker_cmd_remote@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r14), %esi
	callq	_worker_send_cmd
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_strlen
	leaq	1(%rax), %rdx
	movl	%r13d, %edi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_tube_write_msg
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssl_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_worker_cmd_remote,4,2          ## @worker_cmd_remote
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error could not distribute cmd\n"

	.no_dead_strip	_distribute_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function distribute_cmd
_distribute_cmd:                        ; @distribute_cmd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_6
; %bb.2:
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_6
; %bb.3:
	mov	x19, x1
	mov	w23, #1
Lloh0:
	adrp	x24, _worker_cmd_remote@GOTPAGE
Lloh1:
	ldr	x24, [x24, _worker_cmd_remote@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	lsl	x22, x23, #3
	ldr	x0, [x8, x22]
	ldr	w1, [x24]
	bl	_worker_send_cmd
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x22]
	ldr	w22, [x8]
	mov	x0, x20
	bl	_strlen
	add	x2, x0, #1
	mov	x0, x22
	mov	x1, x20
	mov	w3, #0
	bl	_tube_write_msg
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldrsw	x9, [x8]
	cmp	x23, x9
	b.lt	LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ssl_printf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_worker_cmd_remote,4,2          ; @worker_cmd_remote
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error could not distribute cmd\n"

	.no_dead_strip	_distribute_cmd
.subsections_via_symbols
