	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_BB_D1PutByte               ## -- Begin function PBI_BB_D1PutByte
	.p2align	4, 0x90
_PBI_BB_D1PutByte:                      ## @PBI_BB_D1PutByte
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_CPU_remember_PC@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CPU_remember_PC_curpos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movq	_CPU_REMEMBER_PC_STEPS@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_printf
	movl	%eax, %edi
	callq	_D
	cmpl	$53627, %ebx                    ## imm = 0xD17B
	jle	LBB0_8
## %bb.1:
	cmpl	$53628, %ebx                    ## imm = 0xD17C
	je	LBB0_13
## %bb.2:
	cmpl	$53692, %ebx                    ## imm = 0xD1BC
	je	LBB0_16
## %bb.3:
	cmpl	$53694, %ebx                    ## imm = 0xD1BE
	jne	LBB0_19
## %bb.4:
	movq	_bb_rom_high_bit@GOTPCREL(%rip), %rbx
	shll	$2, %r14d
	andl	$16, %r14d
	cmpl	%r14d, (%rbx)
	je	LBB0_38
## %bb.5:
	movq	_bb_rom_size@GOTPCREL(%rip), %rax
	cmpl	$65536, (%rax)                  ## imm = 0x10000
	jne	LBB0_38
## %bb.6:
	movl	%r14d, (%rbx)
	movq	_bb_rom_bank@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leal	-1(%rsi), %eax
	cmpl	$6, %eax
	ja	LBB0_38
## %bb.7:
	movq	_MEMORY_mem@GOTPCREL(%rip), %rax
	movl	$55296, %edi                    ## imm = 0xD800
	addq	(%rax), %rdi
	movq	_bb_rom@GOTPCREL(%rip), %rax
	addq	%r14, %rsi
	shlq	$11, %rsi
	addq	(%rax), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memcpy
	movl	(%rbx), %esi
	addl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D                              ## TAILCALL
LBB0_8:
	cmpl	$53616, %ebx                    ## imm = 0xD170
	je	LBB0_17
## %bb.9:
	cmpl	$53617, %ebx                    ## imm = 0xD171
	jne	LBB0_19
## %bb.10:
	movq	_bb_scsi_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_38
## %bb.11:
	movl	%r14d, %edi
	callq	_PBI_SCSI_PutByte
	movq	_bb_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	$14, %eax
	cmpl	$8, %eax
	jne	LBB0_38
## %bb.12:
	movl	$1, %edi
	callq	_PBI_SCSI_PutACK
	jmp	LBB0_26
LBB0_13:
	movq	_bb_PCR@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	shrl	%r14d
	andl	$7, %r14d
	cmpl	$6, %r14d
	jne	LBB0_24
## %bb.14:
	movq	_bb_scsi_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_38
## %bb.15:
	movl	$1, %edi
	jmp	LBB0_27
LBB0_16:
	movq	_bb_ram@GOTPCREL(%rip), %r15
	movq	_bb_ram_bank_offset@GOTPCREL(%rip), %r12
	movslq	(%r12), %rdi
	addq	(%r15), %rdi
	movq	_MEMORY_mem@GOTPCREL(%rip), %r13
	movl	$54784, %ebx                    ## imm = 0xD600
	movq	(%r13), %rsi
	addq	%rbx, %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memcpy
	shll	$8, %r14d
	movl	%r14d, (%r12)
	addq	(%r13), %rbx
	movslq	%r14d, %rsi
	addq	(%r15), %rsi
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_17:
	movq	_bb_scsi_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_38
## %bb.18:
	xorl	%edi, %edi
	testb	$4, %r14b
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PBI_SCSI_PutSEL                ## TAILCALL
LBB0_19:
	andl	$65472, %ebx                    ## imm = 0xFFC0
	cmpl	$53696, %ebx                    ## imm = 0xD1C0
	jne	LBB0_38
## %bb.20:
	movq	_bb_rom_bank@GOTPCREL(%rip), %rbx
	cmpl	%r14d, (%rbx)
	je	LBB0_38
## %bb.21:
	movq	_bb_rom_size@GOTPCREL(%rip), %rax
	cmpl	$16384, (%rax)                  ## imm = 0x4000
	jne	LBB0_28
## %bb.22:
	movl	%r14d, %eax
	andl	$-8, %eax
	cmpl	$8, %eax
	jne	LBB0_30
## %bb.23:
	movl	%r14d, %eax
	shll	$11, %eax
	addl	$-16384, %eax                   ## imm = 0xC000
	jmp	LBB0_33
LBB0_24:
	cmpl	$7, %r14d
	jne	LBB0_38
## %bb.25:
	movq	_bb_scsi_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_38
LBB0_26:
	xorl	%edi, %edi
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PBI_SCSI_PutACK                ## TAILCALL
LBB0_28:
	leal	-1(%r14), %eax
	cmpl	$14, %eax
	ja	LBB0_34
## %bb.29:
	movq	_bb_rom_high_bit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jmp	LBB0_32
LBB0_30:
	leal	-1(%r14), %eax
	cmpl	$7, %eax
	jae	LBB0_34
## %bb.31:
	movl	%r14d, %eax
LBB0_32:
	shll	$11, %eax
LBB0_33:
	movq	_MEMORY_mem@GOTPCREL(%rip), %rcx
	movl	$55296, %edi                    ## imm = 0xD800
	addq	(%rcx), %rdi
	movq	_bb_rom@GOTPCREL(%rip), %rcx
	movslq	%eax, %rsi
	addq	(%rcx), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memcpy
	movq	_bb_rom_high_bit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%r14d, %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_37
LBB0_34:
	movq	_MEMORY_mem@GOTPCREL(%rip), %rax
	movl	$55296, %edi                    ## imm = 0xD800
	addq	(%rax), %rdi
	movq	_MEMORY_os@GOTPCREL(%rip), %rax
	movl	$6144, %esi                     ## imm = 0x1800
	addq	(%rax), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_memcpy
	testl	%r14d, %r14d
	je	LBB0_36
## %bb.35:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%eax, %edi
	callq	_D
LBB0_36:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_37:
	movl	%eax, %edi
	callq	_D
	movl	%r14d, (%rbx)
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BB Write addr:%4x byte:%2x, cpu:%4x\n"

	.comm	_CPU_remember_PC,8,3            ## @CPU_remember_PC
	.comm	_CPU_remember_PC_curpos,4,2     ## @CPU_remember_PC_curpos
	.comm	_CPU_REMEMBER_PC_STEPS,4,2      ## @CPU_REMEMBER_PC_STEPS
	.comm	_bb_scsi_enabled,8,3            ## @bb_scsi_enabled
	.comm	_bb_PCR,4,2                     ## @bb_PCR
	.comm	_bb_ram,8,3                     ## @bb_ram
	.comm	_bb_ram_bank_offset,4,2         ## @bb_ram_bank_offset
	.comm	_MEMORY_mem,8,3                 ## @MEMORY_mem
	.comm	_bb_rom_high_bit,4,2            ## @bb_rom_high_bit
	.comm	_bb_rom_size,4,2                ## @bb_rom_size
	.comm	_bb_rom_bank,4,2                ## @bb_rom_bank
	.comm	_bb_rom,8,3                     ## @bb_rom
L_.str.1:                               ## @.str.1
	.asciz	"black box bank:%2x activated\n"

	.comm	_MEMORY_os,8,3                  ## @MEMORY_os
L_.str.2:                               ## @.str.2
	.asciz	"d1ff ERROR: byte=%2x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Floating point rom activated\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_BB_D1PutByte               ; -- Begin function PBI_BB_D1PutByte
	.p2align	2
_PBI_BB_D1PutByte:                      ; @PBI_BB_D1PutByte
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CPU_remember_PC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_remember_PC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CPU_remember_PC_curpos@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPU_remember_PC_curpos@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _CPU_REMEMBER_PC_STEPS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CPU_REMEMBER_PC_STEPS@GOTPAGEOFF]
	sub	w9, w9, #1
Lloh8:
	ldr	w10, [x10]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	w8, [x8, w9, sxtw #2]
	stp	x19, x8, [sp, #8]
	str	x20, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	bl	_D
	mov	w8, #53627
	cmp	w20, w8
	b.le	LBB0_8
; %bb.1:
	mov	w8, #53628
	cmp	w20, w8
	b.eq	LBB0_13
; %bb.2:
	mov	w8, #53692
	cmp	w20, w8
	b.eq	LBB0_16
; %bb.3:
	mov	w8, #53694
	cmp	w20, w8
	b.ne	LBB0_19
; %bb.4:
Lloh11:
	adrp	x20, _bb_rom_high_bit@GOTPAGE
Lloh12:
	ldr	x20, [x20, _bb_rom_high_bit@GOTPAGEOFF]
	ldr	w9, [x20]
	lsl	w8, w19, #2
	and	x8, x8, #0x10
	cmp	w9, w8
	b.eq	LBB0_37
; %bb.5:
Lloh13:
	adrp	x9, _bb_rom_size@GOTPAGE
Lloh14:
	ldr	x9, [x9, _bb_rom_size@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w9, #16, lsl #12                ; =65536
	b.ne	LBB0_37
; %bb.6:
	str	w8, [x20]
Lloh16:
	adrp	x19, _bb_rom_bank@GOTPAGE
Lloh17:
	ldr	x19, [x19, _bb_rom_bank@GOTPAGEOFF]
	ldr	w9, [x19]
	sub	w10, w9, #1
	cmp	w10, #6
	b.hi	LBB0_37
; %bb.7:
Lloh18:
	adrp	x10, _MEMORY_mem@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MEMORY_mem@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	mov	w11, #55296
	add	x0, x10, x11
Lloh21:
	adrp	x10, _bb_rom@GOTPAGE
Lloh22:
	ldr	x10, [x10, _bb_rom@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	add	x8, x9, x8
	add	x1, x10, x8, lsl #11
	mov	w2, #2048
	bl	_memcpy
	ldr	w8, [x19]
	ldr	w9, [x20]
	add	w8, w9, w8
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_D
LBB0_8:
	mov	w8, #53616
	cmp	w20, w8
	b.eq	LBB0_17
; %bb.9:
	mov	w8, #53617
	cmp	w20, w8
	b.ne	LBB0_19
; %bb.10:
Lloh26:
	adrp	x8, _bb_scsi_enabled@GOTPAGE
Lloh27:
	ldr	x8, [x8, _bb_scsi_enabled@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.11:
	mov	x0, x19
	bl	_PBI_SCSI_PutByte
Lloh29:
	adrp	x8, _bb_PCR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _bb_PCR@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	and	w8, w8, #0xe
	cmp	w8, #8
	b.ne	LBB0_37
; %bb.12:
	mov	w0, #1
	bl	_PBI_SCSI_PutACK
	b	LBB0_26
LBB0_13:
Lloh32:
	adrp	x8, _bb_PCR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _bb_PCR@GOTPAGEOFF]
Lloh34:
	str	w19, [x8]
	ubfx	w8, w19, #1, #3
	cmp	w8, #6
	b.ne	LBB0_24
; %bb.14:
Lloh35:
	adrp	x8, _bb_scsi_enabled@GOTPAGE
Lloh36:
	ldr	x8, [x8, _bb_scsi_enabled@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.15:
	mov	w0, #1
	b	LBB0_27
LBB0_16:
Lloh38:
	adrp	x20, _bb_ram@GOTPAGE
Lloh39:
	ldr	x20, [x20, _bb_ram@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh40:
	adrp	x21, _bb_ram_bank_offset@GOTPAGE
Lloh41:
	ldr	x21, [x21, _bb_ram_bank_offset@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	x0, x8, x9
Lloh42:
	adrp	x22, _MEMORY_mem@GOTPAGE
Lloh43:
	ldr	x22, [x22, _MEMORY_mem@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w23, #54784
	add	x1, x8, x23
	mov	w2, #256
	bl	_memcpy
	lsl	w8, w19, #8
	str	w8, [x21]
	ldr	x9, [x22]
	add	x0, x9, x23
	ldr	x9, [x20]
	add	x1, x9, w8, sxtw
	mov	w2, #256
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_memcpy
LBB0_17:
Lloh44:
	adrp	x8, _bb_scsi_enabled@GOTPAGE
Lloh45:
	ldr	x8, [x8, _bb_scsi_enabled@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.18:
	mov	w8, #1
	bic	w0, w8, w19, lsr #2
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PBI_SCSI_PutSEL
LBB0_19:
	and	w8, w20, #0xffc0
	mov	w9, #53696
	cmp	w8, w9
	b.ne	LBB0_37
; %bb.20:
Lloh47:
	adrp	x20, _bb_rom_bank@GOTPAGE
Lloh48:
	ldr	x20, [x20, _bb_rom_bank@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, w19
	b.eq	LBB0_37
; %bb.21:
Lloh49:
	adrp	x8, _bb_rom_size@GOTPAGE
Lloh50:
	ldr	x8, [x8, _bb_rom_size@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmp	w8, #4, lsl #12                 ; =16384
	b.ne	LBB0_28
; %bb.22:
	and	w8, w19, #0xfffffff8
	cmp	w8, #8
	b.ne	LBB0_30
; %bb.23:
	lsl	w8, w19, #11
	sub	w8, w8, #4, lsl #12             ; =16384
	b	LBB0_32
LBB0_24:
	cmp	w8, #7
	b.ne	LBB0_37
; %bb.25:
Lloh52:
	adrp	x8, _bb_scsi_enabled@GOTPAGE
Lloh53:
	ldr	x8, [x8, _bb_scsi_enabled@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PBI_SCSI_PutACK
LBB0_28:
	sub	w8, w19, #1
	cmp	w8, #14
	b.hi	LBB0_33
; %bb.29:
Lloh55:
	adrp	x8, _bb_rom_high_bit@GOTPAGE
Lloh56:
	ldr	x8, [x8, _bb_rom_high_bit@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	add	w8, w8, w19
	lsl	w8, w8, #11
	b	LBB0_32
LBB0_30:
	sub	w8, w19, #1
	cmp	w8, #7
	b.hs	LBB0_33
; %bb.31:
	lsl	w8, w19, #11
LBB0_32:
Lloh58:
	adrp	x9, _MEMORY_mem@GOTPAGE
Lloh59:
	ldr	x9, [x9, _MEMORY_mem@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	mov	w10, #55296
	add	x0, x9, x10
Lloh61:
	adrp	x9, _bb_rom@GOTPAGE
Lloh62:
	ldr	x9, [x9, _bb_rom@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	add	x1, x9, w8, sxtw
	mov	w2, #2048
	bl	_memcpy
Lloh64:
	adrp	x8, _bb_rom_high_bit@GOTPAGE
Lloh65:
	ldr	x8, [x8, _bb_rom_high_bit@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	add	w8, w8, w19
	str	x8, [sp]
Lloh67:
	adrp	x0, l_.str.1@PAGE
Lloh68:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_36
LBB0_33:
Lloh69:
	adrp	x8, _MEMORY_mem@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MEMORY_mem@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
	mov	w9, #55296
	add	x0, x8, x9
Lloh72:
	adrp	x8, _MEMORY_os@GOTPAGE
Lloh73:
	ldr	x8, [x8, _MEMORY_os@GOTPAGEOFF]
Lloh74:
	ldr	x8, [x8]
	mov	w9, #6144
	add	x1, x8, x9
	mov	w2, #2048
	bl	_memcpy
	cbz	w19, LBB0_35
; %bb.34:
	mov	x8, x19
	str	x8, [sp]
Lloh75:
	adrp	x0, l_.str.2@PAGE
Lloh76:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	bl	_D
LBB0_35:
Lloh77:
	adrp	x0, l_.str.3@PAGE
Lloh78:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_36:
	bl	_printf
	bl	_D
	str	w19, [x20]
LBB0_37:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BB Write addr:%4x byte:%2x, cpu:%4x\n"

	.comm	_CPU_remember_PC,8,3            ; @CPU_remember_PC
	.comm	_CPU_remember_PC_curpos,4,2     ; @CPU_remember_PC_curpos
	.comm	_CPU_REMEMBER_PC_STEPS,4,2      ; @CPU_REMEMBER_PC_STEPS
	.comm	_bb_scsi_enabled,8,3            ; @bb_scsi_enabled
	.comm	_bb_PCR,4,2                     ; @bb_PCR
	.comm	_bb_ram,8,3                     ; @bb_ram
	.comm	_bb_ram_bank_offset,4,2         ; @bb_ram_bank_offset
	.comm	_MEMORY_mem,8,3                 ; @MEMORY_mem
	.comm	_bb_rom_high_bit,4,2            ; @bb_rom_high_bit
	.comm	_bb_rom_size,4,2                ; @bb_rom_size
	.comm	_bb_rom_bank,4,2                ; @bb_rom_bank
	.comm	_bb_rom,8,3                     ; @bb_rom
l_.str.1:                               ; @.str.1
	.asciz	"black box bank:%2x activated\n"

	.comm	_MEMORY_os,8,3                  ; @MEMORY_os
l_.str.2:                               ; @.str.2
	.asciz	"d1ff ERROR: byte=%2x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Floating point rom activated\n"

.subsections_via_symbols
