	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_image
_gen_image:                             ## @gen_image
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	_NB_OBJS@GOTPCREL(%rip), %rax
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	testl	%edi, %edi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.1:
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	leal	3(%rsi), %eax
	testl	%esi, %esi
	cmovnsl	%esi, %eax
	sarl	$2, %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	3(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$2, %r15d
	xorl	%ebx, %ebx
	movq	_seed@GOTPCREL(%rip), %r14
	movq	_objs@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_myrnd
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx)
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_myrnd
	movq	(%r12), %rcx
	movl	%eax, 4(%rcx,%rbx)
	movq	%r14, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_myrnd
	addl	$10, %eax
	movq	(%r12), %rcx
	movl	%eax, 8(%rcx,%rbx)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_myrnd
	addl	$10, %eax
	movq	(%r12), %rcx
	movl	%eax, 12(%rcx,%rbx)
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_myrnd
	movq	(%r12), %rcx
	movl	%eax, 16(%rcx,%rbx)
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_myrnd
	movq	(%r12), %rcx
	movl	%eax, 20(%rcx,%rbx)
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_myrnd
	movq	(%r12), %rcx
	movl	%eax, 24(%rcx,%rbx)
	incq	%r13
	movq	_NB_OBJS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$28, %rbx
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_4:
	movq	_FRAC_ONE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	imull	%ebx, %eax
	cltq
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$36, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_int_cos
	movl	%eax, %r14d
	movslq	(%r12), %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
                                        ## kill: def $eax killed $eax killed $rax
	imull	%ebx, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	movq	%rdi, %rcx
	shrq	$63, %rcx
	sarq	$34, %rdi
	addl	%ecx, %edi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_int_cos
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_10
## %bb.5:
	imull	$35, %r14d, %r12d
	movl	%eax, %r13d
	shll	$5, %r13d
	subl	%eax, %r13d
	subl	%eax, %r13d
	xorl	%r14d, %r14d
	movq	_FRAC_BITS@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	cmpl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_10
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15), %ecx
	movl	%ebx, %esi
	shll	%cl, %esi
	movl	%r14d, %eax
	shll	%cl, %eax
	addl	%r12d, %esi
	addl	%r13d, %eax
	leal	(,%rax,8), %edx
	subl	%eax, %edx
	sarl	%cl, %edx
	addl	%esi, %eax
	leal	(%rax,%rax,8), %eax
	sarl	%cl, %eax
	movzbl	%dl, %edx
	movzbl	%al, %eax
	leal	(%rsi,%rsi,4), %esi
	sarl	%cl, %esi
	movzbl	%sil, %r8d
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_put_pixel
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incl	%ebx
	cmpl	%ebx, %ecx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -60(%rbp)
	movq	_NOISE_W@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.11:
	xorl	%edx, %edx
	leaq	-60(%rbp), %r14
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	cmpl	%eax, %edx
	jge	LBB0_16
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_myrnd
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_myrnd
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_myrnd
	movq	_NOISE_X@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addl	%r12d, %edi
	movq	_NOISE_Y@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	addl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_put_pixel
	incl	%r12d
	movl	(%r13), %eax
	cmpl	%eax, %r12d
	jl	LBB0_14
	jmp	LBB0_15
LBB0_16:
	movq	_NB_OBJS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_26
## %bb.17:
	xorl	%ecx, %ecx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_seed@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movl	$21, %esi
	callq	_myrnd
                                        ## kill: def $eax killed $eax def $rax
	movl	(%rbx), %ecx
	addl	%ecx, %eax
	addl	$-10, %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movl	$21, %esi
	callq	_myrnd
                                        ## kill: def $eax killed $eax def $rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	4(%rdx,%rsi), %ecx
	addl	%ecx, %eax
	addl	$-10, %eax
	movl	%eax, 4(%rdx,%rsi)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	_NB_OBJS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rcx
	jge	LBB0_26
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
                                        ##       Child Loop BB0_22 Depth 3
	movq	_objs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	(%rcx,%rcx,8), %rax
	leaq	(%rax,%rax,2), %rax
	addq	%rcx, %rax
	leaq	(%rdx,%rax), %rbx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, -60(%rbp)
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	12(%rdx,%rax), %eax
	testl	%eax, %eax
	jle	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx), %rsi
	addq	$12, %rsi
	movl	8(%rcx,%rdx), %ecx
	xorl	%edx, %edx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=2
	incl	%edx
	cmpl	%eax, %edx
	jge	LBB0_25
LBB0_20:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_22 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	xorl	%r15d, %r15d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_18 Depth=1
                                        ##     Parent Loop BB0_20 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	4(%rsi), %ebx
	movl	8(%rsi), %r12d
	movl	12(%rsi), %r13d
	leaq	-60(%rbp), %r14
	movq	%r14, %rdi
	movl	$50, %esi
	callq	_myrnd
	addl	%eax, %ebx
	movq	%r14, %rdi
	movl	$50, %esi
	callq	_myrnd
	addl	%eax, %r12d
	movq	%r14, %rdi
	movl	$50, %esi
	callq	_myrnd
	addl	%eax, %r13d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	addl	%r15d, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	-8(%rax), %esi
	addl	-56(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_put_pixel
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incl	%r15d
	movl	-4(%rsi), %ecx
	cmpl	%ecx, %r15d
	jl	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	movl	(%rsi), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_24
LBB0_26:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NB_OBJS,4,2                    ## @NB_OBJS
	.comm	_seed,4,2                       ## @seed
	.comm	_objs,8,3                       ## @objs
	.comm	_FRAC_ONE,4,2                   ## @FRAC_ONE
	.comm	_FRAC_BITS,4,2                  ## @FRAC_BITS
	.comm	_NOISE_W,4,2                    ## @NOISE_W
	.comm	_NOISE_X,4,2                    ## @NOISE_X
	.comm	_NOISE_Y,4,2                    ## @NOISE_Y
	.no_dead_strip	_gen_image
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_image
_gen_image:                             ; @gen_image
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _NB_OBJS@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NB_OBJS@GOTPAGEOFF]
Lloh2:
	adrp	x28, _objs@GOTPAGE
Lloh3:
	ldr	x28, [x28, _objs@GOTPAGEOFF]
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x25, #0
	mov	x27, #0
	add	w8, w21, #3
	cmp	w21, #0
	csel	w8, w8, w21, lt
	asr	w22, w8, #2
	add	w8, w19, #3
	cmp	w19, #0
	csel	w8, w8, w19, lt
	asr	w23, w8, #2
Lloh4:
	adrp	x24, _seed@GOTPAGE
Lloh5:
	ldr	x24, [x24, _seed@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x21
	bl	_myrnd
	ldr	x8, [x28]
	str	w0, [x8, x25]
	mov	x0, x24
	mov	x1, x19
	bl	_myrnd
	ldr	x8, [x28]
	add	x8, x8, x25
	str	w0, [x8, #4]
	mov	x0, x24
	mov	x1, x22
	bl	_myrnd
	add	w8, w0, #10
	ldr	x9, [x28]
	add	x9, x9, x25
	str	w8, [x9, #8]
	mov	x0, x24
	mov	x1, x23
	bl	_myrnd
	add	w8, w0, #10
	ldr	x9, [x28]
	add	x9, x9, x25
	str	w8, [x9, #12]
	mov	x0, x24
	mov	w1, #256
	bl	_myrnd
	ldr	x8, [x28]
	add	x8, x8, x25
	str	w0, [x8, #16]
	mov	x0, x24
	mov	w1, #256
	bl	_myrnd
	ldr	x8, [x28]
	add	x8, x8, x25
	str	w0, [x8, #20]
	mov	x0, x24
	mov	w1, #256
	bl	_myrnd
	ldr	x8, [x28]
	add	x8, x8, x25
	str	w0, [x8, #24]
	add	x27, x27, #1
	ldrsw	x8, [x26]
	add	x25, x25, #28
	cmp	x27, x8
	b.lt	LBB0_3
LBB0_4:
Lloh6:
	adrp	x22, _FRAC_ONE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FRAC_ONE@GOTPAGEOFF]
	ldr	w8, [x22]
	mul	w8, w8, w20
	mov	w24, #34079
	movk	w24, #20971, lsl #16
	smull	x8, w8, w24
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w0, w8, w9
	bl	_int_cos
	mov	x23, x0
	ldrsw	x8, [x22]
	mul	w9, w8, w20
	smull	x9, w9, w24
	lsr	x10, x9, #63
	asr	x9, x9, #36
	add	w9, w9, w10
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x8, x8, x10
	lsr	x10, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w10
	add	w0, w9, w8
	bl	_int_cos
	cmp	w19, #1
	b.lt	LBB0_10
; %bb.5:
	mov	w22, #0
	mov	w8, #35
	mul	w24, w23, w8
	mov	w8, #30
	mul	w25, w0, w8
Lloh8:
	adrp	x26, _FRAC_BITS@GOTPAGE
Lloh9:
	ldr	x26, [x26, _FRAC_BITS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w22, w22, #1
	cmp	w22, w19
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w23, #0
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x26]
	lsl	w9, w23, w8
	lsl	w10, w22, w8
	add	w10, w10, w25
	lsl	w11, w10, #3
	sub	w11, w11, w10
	asr	w11, w11, w8
	and	w2, w11, #0xff
	add	w9, w9, w24
	add	w10, w9, w10
	add	w10, w10, w10, lsl #3
	asr	w10, w10, w8
	and	w3, w10, #0xff
	add	w9, w9, w9, lsl #2
	asr	w8, w9, w8
	and	w4, w8, #0xff
	mov	x0, x23
	mov	x1, x22
	bl	_put_pixel
	add	w23, w23, #1
	cmp	w21, w23
	b.ne	LBB0_9
	b	LBB0_6
LBB0_10:
	str	w20, [sp, #44]
Lloh10:
	adrp	x21, _NOISE_W@GOTPAGE
Lloh11:
	ldr	x21, [x21, _NOISE_W@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
Lloh12:
	adrp	x26, _NB_OBJS@GOTPAGE
Lloh13:
	ldr	x26, [x26, _NB_OBJS@GOTPAGEOFF]
Lloh14:
	adrp	x9, _objs@GOTPAGE
Lloh15:
	ldr	x9, [x9, _objs@GOTPAGEOFF]
	b.lt	LBB0_17
; %bb.11:
	mov	w22, #0
Lloh16:
	adrp	x23, _NOISE_X@GOTPAGE
Lloh17:
	ldr	x23, [x23, _NOISE_X@GOTPAGEOFF]
Lloh18:
	adrp	x24, _NOISE_Y@GOTPAGE
Lloh19:
	ldr	x24, [x24, _NOISE_Y@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w22, w22, #1
	cmp	w22, w8
	b.ge	LBB0_17
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w25, #0
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #44
	mov	w1, #256
	bl	_myrnd
	mov	x19, x0
	add	x0, sp, #44
	mov	w1, #256
	bl	_myrnd
	mov	x20, x0
	add	x0, sp, #44
	mov	w1, #256
	bl	_myrnd
	mov	x4, x0
	ldr	w8, [x23]
	add	w0, w25, w8
	ldr	w8, [x24]
	add	w1, w8, w22
	mov	x2, x19
	mov	x3, x20
	bl	_put_pixel
	add	w25, w25, #1
	ldr	w8, [x21]
	cmp	w25, w8
	b.lt	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh20:
	adrp	x9, _objs@GOTPAGE
Lloh21:
	ldr	x9, [x9, _objs@GOTPAGEOFF]
	b	LBB0_12
LBB0_17:
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.18:
	mov	x10, #0
	mov	w11, #28
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
Lloh22:
	adrp	x19, _seed@GOTPAGE
Lloh23:
	ldr	x19, [x19, _seed@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #21
	bl	_myrnd
	ldr	w8, [x27]
	add	w8, w0, w8
	sub	w8, w8, #10
	str	w8, [x27]
	mov	x0, x19
	mov	w1, #21
	bl	_myrnd
	ldp	x8, x10, [sp, #8]               ; 16-byte Folded Reload
	mov	w11, #28
	madd	x8, x10, x11, x8
	ldr	w9, [x8, #4]
	add	w9, w0, w9
	sub	w9, w9, #10
	str	w9, [x8, #4]
	add	x10, x10, #1
Lloh24:
	adrp	x8, _NB_OBJS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NB_OBJS@GOTPAGEOFF]
Lloh26:
	ldrsw	x8, [x8]
	cmp	x10, x8
Lloh27:
	adrp	x9, _objs@GOTPAGE
Lloh28:
	ldr	x9, [x9, _objs@GOTPAGEOFF]
	b.ge	LBB0_27
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;       Child Loop BB0_25 Depth 3
	ldr	x8, [x9]
	mov	w12, #28
	stp	x8, x10, [sp, #8]               ; 16-byte Folded Spill
	madd	x27, x10, x11, x8
	str	w10, [sp, #44]
	mov	x9, x27
	ldr	w8, [x9, #12]!
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w26, #0
	ldp	x10, x9, [sp, #8]               ; 16-byte Folded Reload
	madd	x10, x9, x12, x10
	ldr	w9, [x10, #8]!
	add	x23, x10, #8
	add	x24, x10, #12
	add	x22, x10, #16
	sub	x19, x10, #4
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	w26, w26, #1
	cmp	w26, w8
	b.ge	LBB0_19
LBB0_23:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_25 Depth 3
	cmp	w9, #1
	b.lt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	w28, #0
LBB0_25:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_23 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w20, [x23]
	ldr	w21, [x24]
	mov	x25, x19
	mov	x19, x27
	ldr	w27, [x22]
	add	x0, sp, #44
	mov	w1, #50
	bl	_myrnd
	add	w20, w0, w20
	add	x0, sp, #44
	mov	w1, #50
	bl	_myrnd
	add	w21, w0, w21
	add	x0, sp, #44
	mov	w1, #50
	bl	_myrnd
	add	w4, w0, w27
	mov	x27, x19
	mov	x19, x25
	ldr	w8, [x27]
	add	w0, w28, w8
	ldr	w8, [x25]
	add	w1, w8, w26
	mov	x2, x20
	mov	x3, x21
	bl	_put_pixel
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	add	w28, w28, #1
	ldr	w9, [x10]
	cmp	w28, w9
	b.lt	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	b	LBB0_22
LBB0_27:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_NB_OBJS,4,2                    ; @NB_OBJS
	.comm	_seed,4,2                       ; @seed
	.comm	_objs,8,3                       ; @objs
	.comm	_FRAC_ONE,4,2                   ; @FRAC_ONE
	.comm	_FRAC_BITS,4,2                  ; @FRAC_BITS
	.comm	_NOISE_W,4,2                    ; @NOISE_W
	.comm	_NOISE_X,4,2                    ; @NOISE_X
	.comm	_NOISE_Y,4,2                    ; @NOISE_Y
	.no_dead_strip	_gen_image
.subsections_via_symbols
