	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneInit_b6                   ## -- Begin function SceneInit_b6
	.p2align	4, 0x90
_SceneInit_b6:                          ## @SceneInit_b6
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DATA_PTRS_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_background_bank_ptrs@GOTPCREL(%rip), %rax
	movq	_image_index@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	shlq	$2, %rdx
	addq	(%rax), %rdx
	leaq	-40(%rbp), %rsi
	callq	_ReadBankedBankPtr
	movq	_bank_data_ptrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-40(%rbp), %rdi
	movq	-32(%rbp), %r14
	movq	(%rax,%rdi,8), %rbx
	leaq	(%r14,%rbx), %rsi
	callq	_ReadBankedUBYTE
	movq	_tileset_index@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-40(%rbp), %rdi
	leaq	(%r14,%rbx), %rsi
	incq	%rsi
	callq	_ReadBankedUBYTE
	movq	_scene_width@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	-40(%rbp), %rdi
	leaq	(%r14,%rbx), %rsi
	addq	$2, %rsi
	callq	_ReadBankedUBYTE
	movq	_scene_height@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-40(%rbp), %rdi
	movq	(%r15), %rcx
	leaq	(%r14,%rbx), %r9
	addq	$3, %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rax, %r8
	callq	_SetBankedBkgTiles
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_PTRS_BANK,4,2             ## @DATA_PTRS_BANK
	.comm	_background_bank_ptrs,8,3       ## @background_bank_ptrs
	.comm	_image_index,8,3                ## @image_index
	.comm	_bank_data_ptrs,8,3             ## @bank_data_ptrs
	.comm	_tileset_index,8,3              ## @tileset_index
	.comm	_scene_width,8,3                ## @scene_width
	.comm	_scene_height,8,3               ## @scene_height
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneInit_b6                   ; -- Begin function SceneInit_b6
	.p2align	2
_SceneInit_b6:                          ; @SceneInit_b6
	.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, _background_bank_ptrs@GOTPAGE
Lloh3:
	ldr	x9, [x9, _background_bank_ptrs@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _image_index@GOTPAGE
Lloh7:
	ldr	x9, [x9, _image_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
Lloh12:
	adrp	x8, _tileset_index@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tileset_index@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	ldr	x0, [sp]
	add	x1, x19, #1
	bl	_ReadBankedUBYTE
Lloh15:
	adrp	x20, _scene_width@GOTPAGE
Lloh16:
	ldr	x20, [x20, _scene_width@GOTPAGEOFF]
	str	x0, [x20]
	ldr	x0, [sp]
	add	x1, x19, #2
	bl	_ReadBankedUBYTE
	mov	x4, x0
Lloh17:
	adrp	x8, _scene_height@GOTPAGE
Lloh18:
	ldr	x8, [x8, _scene_height@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
	ldr	x0, [sp]
	ldr	x3, [x20]
	add	x5, x19, #3
	mov	w1, #0
	mov	w2, #0
	bl	_SetBankedBkgTiles
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.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	_background_bank_ptrs,8,3       ; @background_bank_ptrs
	.comm	_image_index,8,3                ; @image_index
	.comm	_bank_data_ptrs,8,3             ; @bank_data_ptrs
	.comm	_tileset_index,8,3              ; @tileset_index
	.comm	_scene_width,8,3                ; @scene_width
	.comm	_scene_height,8,3               ; @scene_height
.subsections_via_symbols
