	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bombs                          ## -- Begin function bombs
	.p2align	4, 0x90
_bombs:                                 ## @bombs
	.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
	movq	_MAX_TT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	movq	_tf@GOTPCREL(%rip), %r15
	movq	_DEF_TS@GOTPCREL(%rip), %r13
	movq	_DEF_TC@GOTPCREL(%rip), %r14
	movq	_tx@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %esi
	subl	%edx, %esi
	movl	%esi, (%rcx,%rbx,4)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	addl	(%r14), %esi
	callq	_set_sprite_tile
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movq	_foreCGB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movslq	(%rcx,%rbx,4), %rcx
	movslq	(%r14), %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %esi
	callq	_set_sprite_attrb
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	_ty@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdx
	callq	_move_sprite
	movq	_MAX_TT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movl	(%rcx,%rbx,4), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ty@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rsi
	leaq	1(%rsi), %rdi
	movq	%rdi, (%rax,%rbx,8)
	movq	_MAX_TY@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rcx,%rbx,4)
	leaq	(,%rbx,4), %rcx
	movq	_DEF_TX@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	movq	(%r12), %rdx
	movq	%rcx, (%rdx,%rbx,8)
	movq	_DEF_TY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax,%rbx,8)
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TT,8,3                     ## @MAX_TT
	.comm	_tf,8,3                         ## @tf
	.comm	_ty,8,3                         ## @ty
	.comm	_MAX_TY,8,3                     ## @MAX_TY
	.comm	_DEF_TX,8,3                     ## @DEF_TX
	.comm	_tx,8,3                         ## @tx
	.comm	_DEF_TY,8,3                     ## @DEF_TY
	.comm	_DEF_TS,8,3                     ## @DEF_TS
	.comm	_DEF_TC,4,2                     ## @DEF_TC
	.comm	_foreCGB,8,3                    ## @foreCGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bombs                          ; -- Begin function bombs
	.p2align	2
_bombs:                                 ; @bombs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x19, _MAX_TT@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MAX_TT@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x21, _tf@GOTPAGE
Lloh3:
	ldr	x21, [x21, _tf@GOTPAGEOFF]
Lloh4:
	adrp	x22, _ty@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ty@GOTPAGEOFF]
Lloh6:
	adrp	x23, _MAX_TY@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MAX_TY@GOTPAGEOFF]
Lloh8:
	adrp	x25, _DEF_TS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _DEF_TS@GOTPAGEOFF]
Lloh10:
	adrp	x26, _DEF_TC@GOTPAGE
Lloh11:
	ldr	x26, [x26, _DEF_TC@GOTPAGEOFF]
Lloh12:
	adrp	x27, _foreCGB@GOTPAGE
Lloh13:
	ldr	x27, [x27, _foreCGB@GOTPAGEOFF]
Lloh14:
	adrp	x28, _tx@GOTPAGE
Lloh15:
	ldr	x28, [x28, _tx@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #3
	sub	w8, w8, w11
	str	w8, [x9, x20, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x25]
	add	x0, x9, x20
	ldr	w9, [x26]
	add	w1, w9, w8
	bl	_set_sprite_tile
	ldr	x8, [x25]
	add	x0, x8, x20
	ldr	x8, [x27]
	ldr	x9, [x21]
	ldr	w9, [x9, x20, lsl #2]
	ldr	w10, [x26]
	add	w9, w10, w9
	ldr	w1, [x8, w9, sxtw #2]
	bl	_set_sprite_attrb
	ldr	x8, [x25]
	add	x0, x8, x20
	ldr	x8, [x28]
	ldr	x1, [x8, x24]
	ldr	x8, [x22]
	ldr	x2, [x8, x24]
	bl	_move_sprite
	ldr	x8, [x19]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	cmp	x20, x8
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	w11, [x9, x20, lsl #2]
	cbz	w11, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x22]
	lsl	x24, x20, #3
	ldr	x8, [x10, x24]
	add	x12, x8, #1
	str	x12, [x10, x24]
	ldr	x12, [x23]
	cmp	x8, x12
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	lsl	x11, x20, #2
	str	wzr, [x9, x11]
Lloh16:
	adrp	x9, _DEF_TX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DEF_TX@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	add	x9, x9, x11
	ldr	x11, [x28]
	str	x9, [x11, x24]
Lloh19:
	adrp	x9, _DEF_TY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DEF_TY@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	str	x9, [x10, x24]
	b	LBB0_3
LBB0_8:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TT,8,3                     ; @MAX_TT
	.comm	_tf,8,3                         ; @tf
	.comm	_ty,8,3                         ; @ty
	.comm	_MAX_TY,8,3                     ; @MAX_TY
	.comm	_DEF_TX,8,3                     ; @DEF_TX
	.comm	_tx,8,3                         ; @tx
	.comm	_DEF_TY,8,3                     ; @DEF_TY
	.comm	_DEF_TS,8,3                     ; @DEF_TS
	.comm	_DEF_TC,4,2                     ; @DEF_TC
	.comm	_foreCGB,8,3                    ; @foreCGB
.subsections_via_symbols
