	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CassetteWrite
_CassetteWrite:                         ## @CassetteWrite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cassette_writable@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%edi, %esi
	movq	_cassette_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_IMG_TAPE_WriteAdvance          ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cassette_writable,8,3          ## @cassette_writable
	.comm	_cassette_file,4,2              ## @cassette_file
	.no_dead_strip	_CassetteWrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CassetteWrite
_CassetteWrite:                         ; @CassetteWrite
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cassette_writable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cassette_writable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh3:
	adrp	x8, _cassette_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cassette_file@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_IMG_TAPE_WriteAdvance
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cassette_writable,8,3          ; @cassette_writable
	.comm	_cassette_file,4,2              ; @cassette_file
	.no_dead_strip	_CassetteWrite
.subsections_via_symbols
