	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	callq	_grabdata
	xorl	%eax, %eax
	callq	_initdata
	movl	$11025, %edi                    ## imm = 0x2B11
	movl	$16, %esi
	callq	_I_InitSound
	xorl	%eax, %eax
	callq	_I_InitMusic
	movq	_snd_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	_fdset@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_FD_ZERO
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	_scratchset@GOTPCREL(%rip), %r12
	leaq	-58(%rbp), %r14
	movl	$169, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	testl	%eax, %eax
	js	LBB0_28
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_updatesounds
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_21
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_mytime@GOTPCREL(%rip), %rax
	incl	(%rax)
	testl	%r13d, %r13d
	je	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_updatesounds
	movq	_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, %r13d
	cmpl	$0, (%rax)
	jne	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 4(%rax)
	jne	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 8(%rax)
	jne	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 12(%rax)
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 16(%rax)
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 20(%rax)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 24(%rax)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 28(%rax)
	jne	LBB0_20
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=2
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_read
	movb	$0, -56(%rbp)
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r14, %rdi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_open
	movl	%eax, %r13d
	movzbl	-58(%rbp), %eax
	movzbl	-57(%rbp), %ecx
	cmpb	$97, %al
	movl	$208, %edx
	cmovael	%r15d, %edx
	addb	%al, %dl
	movb	%dl, -58(%rbp)
	cmpb	$97, %cl
	movl	$208, %eax
	cmovael	%r15d, %eax
	addb	%cl, %al
	movb	%al, -57(%rbp)
	movzbl	%dl, %ecx
	shlq	$4, %rcx
	movzbl	%al, %eax
	addq	%rcx, %rax
	movq	_S_sfx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	_lengths@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	movl	%r13d, %edi
	callq	_write
	movl	%r13d, %edi
	callq	_close
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_fdset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-72(%rbp), %r8
	callq	_select
	testl	%eax, %eax
	jle	LBB0_27
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	$1, %ebx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_read
	testl	%eax, %eax
	je	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_snd_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	-58(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movzbl	-58(%rbp), %eax
	cmpb	$112, %al
	je	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpb	$115, %al
	je	LBB0_30
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpb	$113, %al
	je	LBB0_11
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=2
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	$9, %edx
	callq	_read
	movq	_snd_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=2
	movb	$0, -49(%rbp)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=2
	movzbl	-58(%rbp), %eax
	movzbl	-57(%rbp), %ecx
	cmpb	$97, %al
	movl	$208, %r8d
	cmovael	%r15d, %r8d
	addb	%al, %r8b
	cmpb	$97, %cl
	movl	$208, %edi
	cmovael	%r15d, %edi
	movb	%r8b, -58(%rbp)
	addb	%cl, %dil
	movb	%dil, -57(%rbp)
	movzbl	-56(%rbp), %eax
	cmpb	$97, %al
	movl	$208, %r9d
	cmovael	%r15d, %r9d
	addb	%al, %r9b
	movb	%r9b, -56(%rbp)
	movzbl	-55(%rbp), %eax
	cmpb	$97, %al
	movl	$208, %r10d
	cmovael	%r15d, %r10d
	addb	%al, %r10b
	movb	%r10b, -55(%rbp)
	movzbl	-54(%rbp), %eax
	cmpb	$97, %al
	movl	$208, %r11d
	cmovael	%r15d, %r11d
	addb	%al, %r11b
	movb	%r11b, -54(%rbp)
	movzbl	-53(%rbp), %ecx
	cmpb	$97, %cl
	movl	$208, %r13d
	cmovael	%r15d, %r13d
	addb	%cl, %r13b
	movb	%r13b, -53(%rbp)
	movzbl	-52(%rbp), %ebx
	cmpb	$97, %bl
	movl	$208, %ecx
	cmovael	%r15d, %ecx
	addb	%bl, %cl
	movb	%cl, -52(%rbp)
	movzbl	-51(%rbp), %edx
	cmpb	$97, %dl
	movl	$208, %ebx
	cmovael	%r15d, %ebx
	addb	%dl, %bl
	movb	%bl, -51(%rbp)
	movzbl	%r8b, %edx
	shll	$4, %edx
	movzbl	%dil, %edi
	addl	%edx, %edi
	movzbl	%r9b, %edx
	shlq	$4, %rdx
	movzbl	%r10b, %esi
	addq	%rdx, %rsi
	movq	_steptable@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rsi,4), %edx
	movzbl	%r11b, %eax
	shll	$4, %eax
	movzbl	%r13b, %esi
	addl	%eax, %esi
	movzbl	%cl, %eax
	shll	$4, %eax
	movzbl	%bl, %ecx
	addl	%eax, %ecx
	callq	_addsfx
	jmp	LBB0_4
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_quit
	jmp	LBB0_29
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_read
	jmp	LBB0_12
LBB0_21:
	xorl	%eax, %eax
	callq	_quit
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.31:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_verbose,8,3                ## @snd_verbose
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ready\n"

	.comm	_fdset,4,2                      ## @fdset
	.comm	_mytime,4,2                     ## @mytime
	.comm	_scratchset,4,2                 ## @scratchset
	.comm	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
L_.str.1:                               ## @.str.1
	.asciz	"cmd: %c"

L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.comm	_steptable,8,3                  ## @steptable
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_S_sfx,8,3                      ## @S_sfx
	.comm	_lengths,8,3                    ## @lengths
L_.str.3:                               ## @.str.3
	.asciz	"Did not recognize command\n"

	.comm	_channels,8,3                   ## @channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	xzr, [sp, #16]
	bl	_grabdata
	bl	_initdata
	mov	w0, #11025
	mov	w1, #16
	bl	_I_InitSound
	bl	_I_InitMusic
Lloh3:
	adrp	x25, _snd_verbose@GOTPAGE
Lloh4:
	ldr	x25, [x25, _snd_verbose@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh5:
	adrp	x26, _stderr@GOTPAGE
Lloh6:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x26]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh9:
	adrp	x19, _fdset@GOTPAGE
Lloh10:
	ldr	x19, [x19, _fdset@GOTPAGEOFF]
	mov	x0, x19
	bl	_FD_ZERO
	mov	w0, #0
	mov	x1, x19
	bl	_FD_SET
	mov	w8, #0
Lloh11:
	adrp	x27, _mytime@GOTPAGE
Lloh12:
	ldr	x27, [x27, _mytime@GOTPAGEOFF]
Lloh13:
	adrp	x20, _scratchset@GOTPAGE
Lloh14:
	ldr	x20, [x20, _scratchset@GOTPAGEOFF]
Lloh15:
	adrp	x28, _FD_SETSIZE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _FD_SETSIZE@GOTPAGEOFF]
	movi.8b	v8, #96
	movi.8b	v9, #208
	movi.8b	v10, #169
	mov	w21, #-48
	mov	w22, #-87
Lloh17:
	adrp	x23, l_.str.1@PAGE
Lloh18:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	mov	w8, #1
	cbnz	w24, LBB0_31
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w9, [x27]
	add	w9, w9, #1
	str	w9, [x27]
	cbz	w8, LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_updatesounds
Lloh19:
	adrp	x8, _channels@GOTPAGE
Lloh20:
	ldr	x8, [x8, _channels@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cbnz	w9, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #12]
	cbnz	w9, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #20]
	cbnz	w9, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8, #24]
	cbnz	w9, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8, #28]
	cbnz	w8, LBB0_3
	b	LBB0_31
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	str	w8, [x20]
	ldr	w0, [x28]
	add	x4, sp, #16
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_select
	cmp	w0, #1
	b.ge	LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	tbz	w0, #31, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_quit
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_updatesounds
	mov	w8, #0
	cbz	w24, LBB0_4
	b	LBB0_31
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x1, sp, #24
	mov	w0, #0
	mov	w2, #3
	bl	_read
	strb	wzr, [sp, #26]
Lloh22:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh26:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w9, w8
	add	x0, sp, #24
	mov	w2, #420
	bl	_open
	mov	x24, x0
	ldrb	w8, [sp, #24]
	cmp	w8, #96
	csel	w9, w22, w21, hi
	add	w8, w9, w8
	strb	w8, [sp, #24]
	ldrb	w9, [sp, #25]
	cmp	w9, #96
	csel	w10, w22, w21, hi
	add	w9, w10, w9
	strb	w9, [sp, #25]
	and	x8, x8, #0xff
	lsl	x8, x8, #4
	add	x8, x8, w9, uxtb
Lloh28:
	adrp	x9, _S_sfx@GOTPAGE
Lloh29:
	ldr	x9, [x9, _S_sfx@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	lsl	x8, x8, #2
	ldr	w1, [x9, x8]
Lloh31:
	adrp	x9, _lengths@GOTPAGE
Lloh32:
	ldr	x9, [x9, _lengths@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w2, [x9, x8]
	bl	_write
	mov	x0, x24
	bl	_close
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	w8, [x19]
	str	w8, [x20]
	ldr	w0, [x28]
	add	x4, sp, #16
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_select
	cmp	w0, #0
	b.le	LBB0_14
LBB0_20:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w24, #1
	add	x1, sp, #24
	mov	w0, #0
	mov	w2, #1
	bl	_read
	cbz	w0, LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x8, [x25]
	cbz	x8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w0, [x26]
	ldrb	w8, [sp, #24]
	str	x8, [sp]
	mov	x1, x23
	bl	_fprintf
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=2
	ldrb	w8, [sp, #24]
	cmp	w8, #112
	b.eq	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=2
	cmp	w8, #115
	b.eq	LBB0_18
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=2
	cmp	w8, #113
	b.eq	LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w0, [x26]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	b	LBB0_19
LBB0_27:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x1, sp, #24
	mov	w0, #0
	mov	w2, #9
	bl	_read
	ldr	x8, [x25]
	cbz	x8, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=2
	strb	wzr, [sp, #33]
	ldr	w0, [x26]
	add	x8, sp, #24
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_29:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	d0, [sp, #24]
	cmhi.8b	v1, v0, v8
	bsl.8b	v1, v10, v9
	add.8b	v0, v1, v0
	str	d0, [sp, #24]
	umov.b	w8, v0[0]
	lsl	w8, w8, #4
	umov.b	w9, v0[1]
	add	w0, w8, w9, uxtb
	umov.b	w8, v0[2]
	lsl	x8, x8, #4
	umov.b	w9, v0[3]
	add	x8, x8, w9, uxtb
Lloh38:
	adrp	x9, _steptable@GOTPAGE
Lloh39:
	ldr	x9, [x9, _steptable@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	ldr	w2, [x9, x8, lsl #2]
	umov.b	w8, v0[4]
	lsl	w8, w8, #4
	umov.b	w9, v0[5]
	add	w1, w8, w9, uxtb
	umov.b	w8, v0[6]
	lsl	w8, w8, #4
	umov.b	w9, v0[7]
	add	w3, w8, w9, uxtb
	bl	_addsfx
	b	LBB0_19
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	w0, #0
	mov	w2, #1
	bl	_read
	b	LBB0_5
LBB0_31:
	bl	_quit
	ldr	x8, [sp, #40]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_verbose,8,3                ; @snd_verbose
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ready\n"

	.comm	_fdset,4,2                      ; @fdset
	.comm	_mytime,4,2                     ; @mytime
	.comm	_scratchset,4,2                 ; @scratchset
	.comm	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
l_.str.1:                               ; @.str.1
	.asciz	"cmd: %c"

l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.comm	_steptable,8,3                  ; @steptable
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_S_sfx,8,3                      ; @S_sfx
	.comm	_lengths,8,3                    ; @lengths
l_.str.3:                               ; @.str.3
	.asciz	"Did not recognize command\n"

	.comm	_channels,8,3                   ; @channels
.subsections_via_symbols
