	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function generate_heightmap__circle
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_generate_heightmap__circle:            ## @generate_heightmap__circle
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_MAP_SIZE@GOTPCREL(%rip), %r14
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rand
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	_RAND_MAX@GOTPCREL(%rip), %r13
	divss	(%r13), %xmm0
	movss	%xmm0, (%rbx)
	movss	(%r14), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rand
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	(%r13), %xmm0
	movss	%xmm0, (%r12)
	movq	_MAX_CIRCLE_SIZE@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rand
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	divss	(%r13), %xmm0
	movss	%xmm0, (%r15)
	xorl	%eax, %eax
	callq	_rand
	divss	(%r13), %xmm0
	movq	_DISPLACEMENT_SIGN_LIMIT@GOTPCREL(%rip), %rax
	movq	_MAX_DISPLACEMENT@GOTPCREL(%rip), %rcx
	movss	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	cmpltss	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	xorl	%eax, %eax
	callq	_rand
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movaps	-80(%rbp), %xmm2                ## 16-byte Reload
	movaps	%xmm2, %xmm1
	andnps	%xmm0, %xmm1
	xorps	LCPI0_0(%rip), %xmm0
	andps	%xmm2, %xmm0
	orps	%xmm1, %xmm0
	divss	(%r13), %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP_SIZE,4,2                   ## @MAP_SIZE
	.comm	_RAND_MAX,4,2                   ## @RAND_MAX
	.comm	_MAX_CIRCLE_SIZE,4,2            ## @MAX_CIRCLE_SIZE
	.comm	_DISPLACEMENT_SIGN_LIMIT,4,2    ## @DISPLACEMENT_SIGN_LIMIT
	.comm	_MAX_DISPLACEMENT,4,2           ## @MAX_DISPLACEMENT
	.no_dead_strip	_generate_heightmap__circle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_heightmap__circle
_generate_heightmap__circle:            ; @generate_heightmap__circle
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _MAP_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAP_SIZE@GOTPAGEOFF]
	ldr	s8, [x23]
	bl	_rand
	fmul	s0, s8, s0
Lloh2:
	adrp	x24, _RAND_MAX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RAND_MAX@GOTPAGEOFF]
	ldr	s1, [x24]
	fdiv	s0, s0, s1
	str	s0, [x22]
	ldr	s8, [x23]
	bl	_rand
	fmul	s0, s8, s0
	ldr	s1, [x24]
	fdiv	s0, s0, s1
	str	s0, [x21]
Lloh4:
	adrp	x8, _MAX_CIRCLE_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_CIRCLE_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	s8, [x8]
	bl	_rand
	fmul	s0, s8, s0
	ldr	s1, [x24]
	fdiv	s0, s0, s1
	str	s0, [x20]
	bl	_rand
Lloh7:
	adrp	x8, _DISPLACEMENT_SIGN_LIMIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DISPLACEMENT_SIGN_LIMIT@GOTPAGEOFF]
	ldr	s1, [x24]
Lloh9:
	ldr	s8, [x8]
Lloh10:
	adrp	x8, _MAX_DISPLACEMENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_DISPLACEMENT@GOTPAGEOFF]
Lloh12:
	ldr	s9, [x8]
	fdiv	s10, s0, s1
	bl	_rand
	fmul	s1, s9, s0
	fnmul	s0, s9, s0
	fcmp	s10, s8
	fcsel	s0, s0, s1, mi
	ldr	s1, [x24]
	fdiv	s0, s0, s1
	str	s0, [x19]
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP_SIZE,4,2                   ; @MAP_SIZE
	.comm	_RAND_MAX,4,2                   ; @RAND_MAX
	.comm	_MAX_CIRCLE_SIZE,4,2            ; @MAX_CIRCLE_SIZE
	.comm	_DISPLACEMENT_SIGN_LIMIT,4,2    ; @DISPLACEMENT_SIGN_LIMIT
	.comm	_MAX_DISPLACEMENT,4,2           ; @MAX_DISPLACEMENT
	.no_dead_strip	_generate_heightmap__circle
.subsections_via_symbols
