	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sin_CompressVis                ## -- Begin function Sin_CompressVis
	.p2align	4, 0x90
_Sin_CompressVis:                       ## @Sin_CompressVis
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_sin_dvis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r11d
	movq	%rsi, %rax
	testl	%r11d, %r11d
	jle	LBB0_14
## %bb.1:
	addl	$7, %r11d
	sarl	$3, %r11d
	movslq	%r11d, %r10
	leal	-1(%r10), %r8d
	leaq	8(%rdi), %r9
	decq	%r10
	xorl	%edx, %edx
	movq	%rsi, %rax
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %edx
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %ecx
	movq	%rcx, 8(%rax)
	addq	$16, %rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	cmpl	%r11d, %edx
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movslq	%edx, %rcx
	movq	(%rdi,%rcx,8), %rbx
	movq	%rbx, (%rax)
	cmpq	$0, (%rdi,%rcx,8)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rdx), %ecx
	movl	$1, %r14d
	cmpl	%r11d, %ecx
	jge	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rcx
	cmpq	$0, (%rdi,%rcx,8)
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r11d, %r14d
	subl	%edx, %r14d
	leaq	(%r9,%rcx,8), %r15
	movq	%r10, %r12
	subq	%rcx, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, %r12
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_9 Depth=2
	leaq	1(%rbx), %rcx
	cmpq	$0, (%r15,%rbx,8)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=2
	cmpl	$253, %ebx
	movq	%rcx, %rbx
	jne	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%ecx, %edx
	incl	%ecx
	movl	%ecx, %r14d
	jmp	LBB0_12
LBB0_14:
	subq	%rsi, %rax
	shrq	$3, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sin_dvis,8,3                   ## @sin_dvis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sin_CompressVis                ; -- Begin function Sin_CompressVis
	.p2align	2
_Sin_CompressVis:                       ; @Sin_CompressVis
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _sin_dvis@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sin_dvis@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
	mov	x14, x1
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	w9, #0
	add	w8, w8, #7
	asr	w8, w8, #3
	sxtw	x12, w8
	sub	w10, w8, #1
	add	x11, x0, #8
	sub	x12, x12, #1
	mov	x13, x1
	mov	x14, x1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w14, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, w14
	add	x14, x13, #16
	str	x15, [x13, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w9, #1
	mov	x13, x14
	cmp	w9, w8
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	sbfiz	x15, x9, #3, #32
	ldr	x16, [x0, x15]
	str	x16, [x14], #8
	ldr	x15, [x0, x15]
	cbnz	x15, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x14, w9
	add	x17, x14, #1
	cmp	w17, w8
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x14, [x0, x17, lsl #3]
	cbnz	x14, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x15, #0
	sub	w14, w8, w9
	sub	x16, x12, x17
	add	x17, x11, x17, lsl #3
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x16, x15
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x3, [x17, x15, lsl #3]
	add	x2, x15, #1
	cbnz	x3, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w15, #253
	mov	x15, x2
	b.ne	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w9, w2
	add	w14, w2, #1
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, x10
	b	LBB0_3
LBB0_14:
	sub	x8, x14, x1
	lsr	x0, x8, #3
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sin_dvis,8,3                   ; @sin_dvis
.subsections_via_symbols
