	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneInit_b7                   ## -- Begin function SceneInit_b7
	.p2align	4, 0x90
_SceneInit_b7:                          ## @SceneInit_b7
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_DATA_PTRS_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_tileset_bank_ptrs@GOTPCREL(%rip), %rax
	movq	_tileset_index@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	shlq	$2, %rdx
	addq	(%rax), %rdx
	leaq	-32(%rbp), %rsi
	callq	_ReadBankedBankPtr
	movq	_bank_data_ptrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-32(%rbp), %rdi
	movq	-24(%rbp), %r14
	movq	(%rax,%rdi,8), %rbx
	leaq	(%r14,%rbx), %rsi
	callq	_ReadBankedUBYTE
	movq	-32(%rbp), %rdi
	leaq	(%r14,%rbx), %rcx
	incq	%rcx
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_SetBankedBkgData
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_PTRS_BANK,4,2             ## @DATA_PTRS_BANK
	.comm	_tileset_bank_ptrs,8,3          ## @tileset_bank_ptrs
	.comm	_tileset_index,8,3              ## @tileset_index
	.comm	_bank_data_ptrs,8,3             ## @bank_data_ptrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneInit_b7                   ; -- Begin function SceneInit_b7
	.p2align	2
_SceneInit_b7:                          ; @SceneInit_b7
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _DATA_PTRS_BANK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA_PTRS_BANK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _tileset_bank_ptrs@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tileset_bank_ptrs@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _tileset_index@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tileset_index@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #2
	mov	x1, sp
	bl	_ReadBankedBankPtr
Lloh9:
	adrp	x8, _bank_data_ptrs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bank_data_ptrs@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldp	x0, x9, [sp]
	ldr	x8, [x8, x0, lsl #3]
	add	x19, x9, x8
	mov	x1, x19
	bl	_ReadBankedUBYTE
	mov	x2, x0
	ldr	x0, [sp]
	add	x3, x19, #1
	mov	w1, #0
	bl	_SetBankedBkgData
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA_PTRS_BANK,4,2             ; @DATA_PTRS_BANK
	.comm	_tileset_bank_ptrs,8,3          ; @tileset_bank_ptrs
	.comm	_tileset_index,8,3              ; @tileset_index
	.comm	_bank_data_ptrs,8,3             ; @bank_data_ptrs
.subsections_via_symbols
