	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_BB_StateRead               ## -- Begin function PBI_BB_StateRead
	.p2align	4, 0x90
_PBI_BB_StateRead:                      ## @PBI_BB_StateRead
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PBI_BB_enabled@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_StateSav_ReadINT
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_bb_scsi_disk_filename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_StateSav_ReadFNAME
	movq	_bb_rom_filename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_StateSav_ReadFNAME
	xorl	%eax, %eax
	callq	_init_bb
	movq	_bb_ram_bank_offset@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadINT
	movq	_bb_ram@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_BB_RAM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_StateSav_ReadUBYTE
	movq	_bb_rom_bank@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadUBYTE
	movq	_bb_rom_high_bit@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_StateSav_ReadINT
	movq	_bb_PCR@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_StateSav_ReadUBYTE             ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PBI_BB_enabled,8,3             ## @PBI_BB_enabled
	.comm	_bb_scsi_disk_filename,4,2      ## @bb_scsi_disk_filename
	.comm	_bb_rom_filename,4,2            ## @bb_rom_filename
	.comm	_bb_ram_bank_offset,8,3         ## @bb_ram_bank_offset
	.comm	_bb_ram,8,3                     ## @bb_ram
	.comm	_BB_RAM_SIZE,4,2                ## @BB_RAM_SIZE
	.comm	_bb_rom_bank,4,2                ## @bb_rom_bank
	.comm	_bb_rom_high_bit,8,3            ## @bb_rom_high_bit
	.comm	_bb_PCR,4,2                     ## @bb_PCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PBI_BB_StateRead               ; -- Begin function PBI_BB_StateRead
	.p2align	2
_PBI_BB_StateRead:                      ; @PBI_BB_StateRead
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _PBI_BB_enabled@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PBI_BB_enabled@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #1
	bl	_StateSav_ReadINT
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _bb_scsi_disk_filename@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bb_scsi_disk_filename@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_StateSav_ReadFNAME
Lloh5:
	adrp	x8, _bb_rom_filename@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bb_rom_filename@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_StateSav_ReadFNAME
	bl	_init_bb
Lloh8:
	adrp	x0, _bb_ram_bank_offset@GOTPAGE
Lloh9:
	ldr	x0, [x0, _bb_ram_bank_offset@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadINT
Lloh10:
	adrp	x8, _bb_ram@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bb_ram@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
Lloh13:
	adrp	x8, _BB_RAM_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BB_RAM_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_StateSav_ReadUBYTE
Lloh16:
	adrp	x0, _bb_rom_bank@GOTPAGE
Lloh17:
	ldr	x0, [x0, _bb_rom_bank@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadUBYTE
Lloh18:
	adrp	x0, _bb_rom_high_bit@GOTPAGE
Lloh19:
	ldr	x0, [x0, _bb_rom_high_bit@GOTPAGEOFF]
	mov	w1, #1
	bl	_StateSav_ReadINT
Lloh20:
	adrp	x0, _bb_PCR@GOTPAGE
Lloh21:
	ldr	x0, [x0, _bb_PCR@GOTPAGEOFF]
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_StateSav_ReadUBYTE
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PBI_BB_enabled,8,3             ; @PBI_BB_enabled
	.comm	_bb_scsi_disk_filename,4,2      ; @bb_scsi_disk_filename
	.comm	_bb_rom_filename,4,2            ; @bb_rom_filename
	.comm	_bb_ram_bank_offset,8,3         ; @bb_ram_bank_offset
	.comm	_bb_ram,8,3                     ; @bb_ram
	.comm	_BB_RAM_SIZE,4,2                ; @BB_RAM_SIZE
	.comm	_bb_rom_bank,4,2                ; @bb_rom_bank
	.comm	_bb_rom_high_bit,8,3            ; @bb_rom_high_bit
	.comm	_bb_PCR,4,2                     ; @bb_PCR
.subsections_via_symbols
