	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseWorkerCommand
_parseWorkerCommand:                    ## @parseWorkerCommand
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdi
	callq	_messageStartsWith
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ACT_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_messageStartsWith
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ACT_RESTORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_sscanf
	movl	-36(%rbp), %r12d
	movq	%rbx, %rdi
	callq	_strlen
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	sete	%dil
	callq	_Assert
	movl	-40(%rbp), %esi
	movq	%r15, %rdi
	callq	_getTocEntryByDumpId
	movq	%rax, (%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_Assert
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fatal                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DUMP "

	.comm	_ACT_DUMP,4,2                   ## @ACT_DUMP
L_.str.1:                               ## @.str.1
	.asciz	"DUMP %d%n"

L_.str.2:                               ## @.str.2
	.asciz	"RESTORE "

	.comm	_ACT_RESTORE,4,2                ## @ACT_RESTORE
L_.str.3:                               ## @.str.3
	.asciz	"RESTORE %d%n"

L_.str.4:                               ## @.str.4
	.asciz	"unrecognized command received from master: \"%s\""

	.no_dead_strip	_parseWorkerCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseWorkerCommand
_parseWorkerCommand:                    ; @parseWorkerCommand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x3
	bl	_messageStartsWith
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ACT_DUMP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACT_DUMP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_messageStartsWith
	cbz	x0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _ACT_RESTORE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACT_RESTORE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x22]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x21
	bl	_sscanf
	ldr	w22, [sp, #8]
	mov	x0, x21
	bl	_strlen
	cmp	w22, w0
	cset	w0, eq
	bl	_Assert
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_getTocEntryByDumpId
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
	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
	add	sp, sp, #64
	ret
LBB0_5:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	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
	add	sp, sp, #64
	b	_fatal
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DUMP "

	.comm	_ACT_DUMP,4,2                   ; @ACT_DUMP
l_.str.1:                               ; @.str.1
	.asciz	"DUMP %d%n"

l_.str.2:                               ; @.str.2
	.asciz	"RESTORE "

	.comm	_ACT_RESTORE,4,2                ; @ACT_RESTORE
l_.str.3:                               ; @.str.3
	.asciz	"RESTORE %d%n"

l_.str.4:                               ; @.str.4
	.asciz	"unrecognized command received from master: \"%s\""

	.no_dead_strip	_parseWorkerCommand
.subsections_via_symbols
