	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_enemy                     ## -- Begin function init_enemy
	.p2align	4, 0x90
_init_enemy:                            ## @init_enemy
	.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_ET@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ef@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%r15,8)
	movq	_ex@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	$0, (%rax,%r15,8)
	movq	_ey@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	$0, (%rax,%r15,8)
	movq	_DEF_ES0@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	_DEF_SP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_set_sprite_tile
	movq	_DEF_ES1@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	(%r14), %esi
	callq	_set_sprite_tile
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	_ex@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rsi
	movq	_ey@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rdx
	callq	_move_sprite
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rsi
	movq	_ey@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rdx
	callq	_move_sprite
	movq	_MAX_ET@GOTPCREL(%rip), %rax
	incq	%r15
	addq	$2, %rbx
	cmpq	(%rax), %r15
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ET,8,3                     ## @MAX_ET
	.comm	_ef,8,3                         ## @ef
	.comm	_ex,8,3                         ## @ex
	.comm	_ey,8,3                         ## @ey
	.comm	_DEF_ES0,8,3                    ## @DEF_ES0
	.comm	_DEF_SP,4,2                     ## @DEF_SP
	.comm	_DEF_ES1,8,3                    ## @DEF_ES1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_enemy                     ; -- Begin function init_enemy
	.p2align	2
_init_enemy:                            ; @init_enemy
	.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_ET@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MAX_ET@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh2:
	adrp	x22, _ef@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ef@GOTPAGEOFF]
Lloh4:
	adrp	x23, _ex@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ex@GOTPAGEOFF]
Lloh6:
	adrp	x24, _ey@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ey@GOTPAGEOFF]
Lloh8:
	adrp	x25, _DEF_ES0@GOTPAGE
Lloh9:
	ldr	x25, [x25, _DEF_ES0@GOTPAGEOFF]
Lloh10:
	adrp	x26, _DEF_SP@GOTPAGE
Lloh11:
	ldr	x26, [x26, _DEF_SP@GOTPAGEOFF]
Lloh12:
	adrp	x27, _DEF_ES1@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DEF_ES1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	lsl	x28, x21, #3
	str	xzr, [x8, x28]
	ldr	x8, [x23]
	str	xzr, [x8, x28]
	ldr	x8, [x24]
	str	xzr, [x8, x28]
	ldr	x8, [x25]
	add	x0, x20, x8
	ldr	w1, [x26]
	bl	_set_sprite_tile
	ldr	x8, [x27]
	add	x0, x20, x8
	ldr	w1, [x26]
	bl	_set_sprite_tile
	ldr	x8, [x25]
	add	x0, x20, x8
	ldr	x8, [x23]
	ldr	x1, [x8, x28]
	ldr	x8, [x24]
	ldr	x2, [x8, x28]
	bl	_move_sprite
	ldr	x8, [x27]
	add	x0, x20, x8
	ldr	x8, [x23]
	ldr	x1, [x8, x28]
	ldr	x8, [x24]
	ldr	x2, [x8, x28]
	bl	_move_sprite
	add	x21, x21, #1
	ldr	x8, [x19]
	add	x20, x20, #2
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	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	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ET,8,3                     ; @MAX_ET
	.comm	_ef,8,3                         ; @ef
	.comm	_ex,8,3                         ; @ex
	.comm	_ey,8,3                         ; @ey
	.comm	_DEF_ES0,8,3                    ; @DEF_ES0
	.comm	_DEF_SP,4,2                     ; @DEF_SP
	.comm	_DEF_ES1,8,3                    ; @DEF_ES1
.subsections_via_symbols
