	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_SoundStartTone_b        ## -- Begin function Script_SoundStartTone_b
	.p2align	4, 0x90
_Script_SoundStartTone_b:               ## @Script_SoundStartTone_b
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_script_cmd_args@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	shll	$8, %ecx
	addl	4(%rax), %ecx
	movq	_NR52_REG@GOTPCREL(%rip), %rax
	movl	$128, (%rax)
	movq	_NR10_REG@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_NR11_REG@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_NR12_REG@GOTPCREL(%rip), %rax
	movl	$240, (%rax)
	movzbl	%cl, %eax
	movq	_NR13_REG@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	shrl	$8, %ecx
	andl	$7, %ecx
	orl	$128, %ecx
	movq	_NR14_REG@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_NR51_REG@GOTPCREL(%rip), %rax
	orb	$17, (%rax)
	movq	_NR50_REG@GOTPCREL(%rip), %rax
	movl	$119, (%rax)
	movq	_script_cmd_args_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_ptr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leal	1(%rax,%rdx), %eax
	movl	%eax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_script_continue@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_script_cmd_args,8,3            ## @script_cmd_args
	.comm	_NR52_REG,4,2                   ## @NR52_REG
	.comm	_NR10_REG,4,2                   ## @NR10_REG
	.comm	_NR11_REG,4,2                   ## @NR11_REG
	.comm	_NR12_REG,4,2                   ## @NR12_REG
	.comm	_NR13_REG,4,2                   ## @NR13_REG
	.comm	_NR14_REG,4,2                   ## @NR14_REG
	.comm	_NR50_REG,4,2                   ## @NR50_REG
	.comm	_NR51_REG,4,2                   ## @NR51_REG
	.comm	_script_cmd_args_len,8,3        ## @script_cmd_args_len
	.comm	_script_ptr,4,2                 ## @script_ptr
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_script_continue,4,2            ## @script_continue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Script_SoundStartTone_b        ; -- Begin function Script_SoundStartTone_b
	.p2align	2
_Script_SoundStartTone_b:               ; @Script_SoundStartTone_b
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _script_cmd_args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _script_cmd_args@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	add	w8, w8, w9, lsl #8
Lloh3:
	adrp	x9, _NR52_REG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NR52_REG@GOTPAGEOFF]
	mov	w10, #128
Lloh5:
	str	w10, [x9]
Lloh6:
	adrp	x9, _NR11_REG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NR11_REG@GOTPAGEOFF]
	mov	w11, #1
Lloh8:
	str	w11, [x9]
Lloh9:
	adrp	x9, _NR10_REG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NR10_REG@GOTPAGEOFF]
Lloh11:
	adrp	x11, _NR12_REG@GOTPAGE
Lloh12:
	ldr	x11, [x11, _NR12_REG@GOTPAGEOFF]
Lloh13:
	str	wzr, [x9]
	mov	w9, #240
Lloh14:
	str	w9, [x11]
	and	w9, w8, #0xff
Lloh15:
	adrp	x11, _NR13_REG@GOTPAGE
Lloh16:
	ldr	x11, [x11, _NR13_REG@GOTPAGEOFF]
Lloh17:
	str	w9, [x11]
	bfxil	w10, w8, #8, #3
Lloh18:
	adrp	x8, _NR14_REG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NR14_REG@GOTPAGEOFF]
Lloh20:
	adrp	x9, _NR50_REG@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NR50_REG@GOTPAGEOFF]
Lloh22:
	str	w10, [x8]
	mov	w8, #119
Lloh23:
	str	w8, [x9]
Lloh24:
	adrp	x8, _NR51_REG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NR51_REG@GOTPAGEOFF]
	ldr	w9, [x8]
	mov	w10, #17
	orr	w9, w9, w10
	str	w9, [x8]
Lloh26:
	adrp	x8, _script_cmd_args_len@GOTPAGE
Lloh27:
	ldr	x8, [x8, _script_cmd_args_len@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _script_ptr@GOTPAGE
Lloh30:
	ldr	x9, [x9, _script_ptr@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w8, w10
	add	w8, w8, #1
	str	w8, [x9]
Lloh31:
	adrp	x8, _TRUE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _script_continue@GOTPAGE
Lloh35:
	ldr	x9, [x9, _script_continue@GOTPAGEOFF]
Lloh36:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_script_cmd_args,8,3            ; @script_cmd_args
	.comm	_NR52_REG,4,2                   ; @NR52_REG
	.comm	_NR10_REG,4,2                   ; @NR10_REG
	.comm	_NR11_REG,4,2                   ; @NR11_REG
	.comm	_NR12_REG,4,2                   ; @NR12_REG
	.comm	_NR13_REG,4,2                   ; @NR13_REG
	.comm	_NR14_REG,4,2                   ; @NR14_REG
	.comm	_NR50_REG,4,2                   ; @NR50_REG
	.comm	_NR51_REG,4,2                   ; @NR51_REG
	.comm	_script_cmd_args_len,8,3        ; @script_cmd_args_len
	.comm	_script_ptr,4,2                 ; @script_ptr
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_script_continue,4,2            ; @script_continue
.subsections_via_symbols
