	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function floor1_inverse2
_floor1_inverse2:                       ## @floor1_inverse2
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r9
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, %r13d
	shrl	$31, %r13d
	addl	%eax, %r13d
	sarl	%r13d
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.1:
	movq	%rdx, %r8
	movq	%rsi, %r10
	movq	16(%rsi), %rdi
	movl	(%rdi), %ecx
	imull	(%rdx), %ecx
	movl	(%rsi), %eax
	xorl	%r11d, %r11d
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.2:
	xorl	%esi, %esi
	movl	$1, %r12d
	xorl	%r11d, %r11d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	%eax, %rdx
	cmpq	%rdx, %r12
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r10), %rdx
	movslq	(%rdx,%r12,4), %rdx
	movl	(%r8,%rdx,4), %r15d
	cmpl	$32767, %r15d                   ## imm = 0x7FFF
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	imull	(%rdi), %r15d
	movq	8(%rdi), %rax
	movl	(%rax,%rdx,4), %r14d
	movl	%r13d, %edi
	movl	%r14d, %edx
	movl	%r15d, %r8d
	movq	%r9, %rbx
	movq	%r10, %r13
	callq	_render_line
	movl	%r14d, %r11d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %r10
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	%rbx, %r9
	movl	(%r10), %eax
	movl	%r14d, %esi
	movl	%r15d, %ecx
	jmp	LBB0_5
LBB0_6:
	movl	$1, %r14d
	cmpl	%r13d, %r11d
	jge	LBB0_18
## %bb.7:
	movslq	%r11d, %rax
	movslq	%r13d, %rdx
	movq	%rdx, %r10
	subq	%rax, %r10
	cmpq	$8, %r10
	jb	LBB0_16
## %bb.8:
	movq	%r10, %r8
	andq	$-8, %r8
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r8), %rsi
	movq	%rsi, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:
	movq	%r11, %rdi
	andq	$-2, %rdi
	leaq	(%r9,%rax,4), %rsi
	addq	$48, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rsi,%rbx,4), %xmm1
	movdqu	-32(%rsi,%rbx,4), %xmm2
	movdqu	-16(%rsi,%rbx,4), %xmm3
	movdqu	(%rsi,%rbx,4), %xmm4
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	movdqu	%xmm1, -48(%rsi,%rbx,4)
	movdqu	%xmm2, -32(%rsi,%rbx,4)
	pmulld	%xmm0, %xmm3
	pmulld	%xmm0, %xmm4
	movdqu	%xmm3, -16(%rsi,%rbx,4)
	movdqu	%xmm4, (%rsi,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rdi
	jne	LBB0_11
## %bb.12:
	testb	$1, %r11b
	je	LBB0_14
LBB0_13:
	addq	%rax, %rbx
	movdqu	(%r9,%rbx,4), %xmm1
	movdqu	16(%r9,%rbx,4), %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	movdqu	%xmm1, (%r9,%rbx,4)
	movdqu	%xmm2, 16(%r9,%rbx,4)
LBB0_14:
	cmpq	%r8, %r10
	je	LBB0_18
## %bb.15:
	addq	%r8, %rax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rax,4), %esi
	imull	%ecx, %esi
	movl	%esi, (%r9,%rax,4)
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_16
	jmp	LBB0_18
LBB0_17:
	shll	$2, %r13d
	xorl	%r14d, %r14d
	movq	%r9, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
LBB0_18:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ebx, %ebx
	testb	$1, %r11b
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_floor1_inverse2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function floor1_inverse2
_floor1_inverse2:                       ; @floor1_inverse2
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w20, w8, #1
	cbz	x2, LBB0_6
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	ldr	x25, [x1, #16]
	ldr	w8, [x2]
	ldr	w9, [x25]
	mul	w3, w9, w8
	ldr	w8, [x1]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.2:
	mov	w1, #0
	mov	w23, #0
	mov	w26, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	cmp	x26, w8, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	ldrsw	x9, [x9, x26, lsl #2]
	ldr	w10, [x21, x9, lsl #2]
	lsr	w11, w10, #15
	cbnz	w11, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	mul	w24, w8, w10
	ldr	x8, [x25, #8]
	ldr	w23, [x8, x9, lsl #2]
	mov	x0, x20
	mov	x2, x23
	mov	x4, x24
	mov	x5, x19
	bl	_render_line
	ldr	w8, [x22]
	mov	x1, x23
	mov	x3, x24
	b	LBB0_3
LBB0_6:
	lsl	w2, w20, #2
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	mov	w0, #0
	b	LBB0_16
LBB0_7:
	mov	w23, #0
LBB0_8:
	cmp	w23, w20
	b.ge	LBB0_15
; %bb.9:
	sxtw	x12, w23
	sxtw	x8, w20
	sub	x10, x8, x12
	mov	x9, x12
	cmp	x10, #16
	b.lo	LBB0_13
; %bb.10:
	and	x11, x10, #0xfffffffffffffff0
	add	x9, x11, x12
	dup.4s	v0, w3
	add	x12, x19, x12, lsl #2
	add	x12, x12, #32
	mov	x13, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12]
	mul.4s	v1, v1, v0
	mul.4s	v2, v2, v0
	mul.4s	v3, v3, v0
	mul.4s	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x11
	b.eq	LBB0_15
LBB0_13:
	add	x10, x19, x9, lsl #2
	sub	x8, x8, x9
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10]
	mul	w9, w9, w3
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_floor1_inverse2
.subsections_via_symbols
