	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WaitForCommands
_WaitForCommands:                       ## @WaitForCommands
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_getMessageFromMaster
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	leaq	-304(%rbp), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-312(%rbp), %rsi
	movq	%r12, %rdi
	callq	_lockTableForWorker
	movq	-312(%rbp), %rsi
	movq	%r12, %rdi
	callq	*(%r12)
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r13d
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-312(%rbp), %rsi
	movq	-320(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r13d, %ecx
	movq	%r15, %r8
	movl	$256, %r9d                      ## imm = 0x100
	callq	_buildWorkerResponse
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sendMessageToMaster
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_getMessageFromMaster
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	leaq	-312(%rbp), %rsi
	leaq	-320(%rbp), %rdx
	movq	%rbx, %rcx
	callq	_parseWorkerCommand
	movq	-320(%rbp), %rax
	movq	_ACT_DUMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_ACT_RESTORE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-312(%rbp), %rsi
	movq	%r12, %rdi
	callq	*8(%r12)
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	callq	_Assert
	jmp	LBB0_4
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ACT_DUMP,8,3                   ## @ACT_DUMP
	.comm	_ACT_RESTORE,8,3                ## @ACT_RESTORE
	.no_dead_strip	_WaitForCommands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WaitForCommands
_WaitForCommands:                       ; @WaitForCommands
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	x0, x1
	bl	_getMessageFromMaster
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	w22, #0
Lloh3:
	adrp	x23, _ACT_DUMP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ACT_DUMP@GOTPAGEOFF]
Lloh5:
	adrp	x24, _ACT_RESTORE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ACT_RESTORE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #16]
	mov	x0, x20
	bl	_lockTableForWorker
	ldr	x8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #16]
	mov	x0, x20
	blr	x8
	mov	x22, x0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x2, x1, [sp, #8]
	add	x4, sp, #24
	mov	x0, x20
	mov	x3, x22
	mov	w5, #256
	bl	_buildWorkerResponse
	add	x1, sp, #24
	mov	x0, x19
	bl	_sendMessageToMaster
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_getMessageFromMaster
	mov	x21, x0
	cbz	x0, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x20
	mov	x3, x21
	bl	_parseWorkerCommand
	ldr	x8, [sp, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	bl	_Assert
	b	LBB0_4
LBB0_9:
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ACT_DUMP,8,3                   ; @ACT_DUMP
	.comm	_ACT_RESTORE,8,3                ; @ACT_RESTORE
	.no_dead_strip	_WaitForCommands
.subsections_via_symbols
