	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter8_brng
_filter8_brng:                          ## @filter8_brng
	.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
	movl	%edx, %ebx
	movq	8(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %r8d
	movl	%r8d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r9d
	incl	%ebx
	imull	%r8d, %ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	xorl	%r12d, %r12d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r9d
	jge	LBB0_9
## %bb.1:
	movq	(%rdi), %r13
	movq	(%rsi), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	xorl	%r12d, %r12d
	movl	$-236, %r8d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r9d
	cmpl	-44(%rbp), %r9d                 ## 4-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movb	(%r13), %cl
	movl	%r9d, %eax
	sarl	%cl, %eax
	testl	%edi, %edi
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rcx
	movq	16(%rdx), %rdx
	movslq	4(%rdx), %r10
	cltq
	imulq	%rax, %r10
	shlq	$2, %r10
	addq	8(%rcx), %r10
	movslq	8(%rdx), %r11
	imulq	%rax, %r11
	shlq	$2, %r11
	addq	16(%rcx), %r11
	movq	(%rcx), %rax
	movl	(%rdx), %ecx
	imull	%r9d, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	movq	%r11, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movzbl	%r15b, %eax
	addl	%eax, %r12d
	incq	%r14
	cmpq	%r14, %rdi
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	4(%r13), %ecx
	movl	%r14d, %eax
	shrl	%cl, %eax
	cltq
	movl	(%r10,%rax,4), %ecx
	movl	(%r11,%rax,4), %eax
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r14,4), %edx
	addl	%r8d, %edx
	cmpl	$-220, %edx
	setb	%dl
	cmpl	$16, %ecx
	setl	%bl
	orb	%dl, %bl
	cmpl	$241, %ecx
	setge	%cl
	cmpl	$16, %eax
	setl	%dl
	orb	%cl, %dl
	orb	%bl, %dl
	cmpl	$241, %eax
	setge	%r15b
	orb	%dl, %r15b
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	testb	%r15b, %r15b
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rdi
	movq	%rsi, %rbx
	movl	%r14d, %edx
	movl	%r9d, %ecx
	callq	_burn_frame8
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movl	$-236, %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_9:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter8_brng
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter8_brng
_filter8_brng:                          ; @filter8_brng
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x10, [x1, #8]
	ldr	w8, [x10, #4]
	mul	w9, w8, w2
	sdiv	w19, w9, w3
	add	w8, w8, w9
	sdiv	w8, w8, w3
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w19, w8
	b.ge	LBB0_9
; %bb.1:
	mov	w20, #0
	ldr	x21, [x0]
	ldr	x22, [x1]
	mov	w26, #240
	str	x10, [sp]                       ; 8-byte Folded Spill
	ldr	w27, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w19, w8
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w27, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	ldr	w8, [x21]
	asr	w8, w19, w8
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	ldp	x9, x10, [x10, #8]
	ldp	x11, x12, [x9]
	ldp	w13, w14, [x10]
	mul	w14, w14, w8
	add	x28, x12, w14, sxtw #2
	ldr	x9, [x9, #16]
	ldr	w10, [x10, #8]
	mul	w8, w10, w8
	add	x25, x9, w8, sxtw #2
	mul	w8, w13, w19
	add	x24, x11, w8, sxtw #2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x23, x23, #1
	cmp	x27, x23
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21, #4]
	lsr	w8, w23, w8
	ldr	w9, [x24, x23, lsl #2]
	sbfiz	x8, x8, #2, #32
	ldr	w10, [x28, x8]
	ldr	w8, [x25, x8]
	sub	w9, w9, #236
	cmn	w9, #220
	ccmp	w10, #16, #8, hs
	ccmp	w10, w26, #0, ge
	ccmp	w8, #16, #8, le
	ccmp	w8, w26, #0, ge
	cset	w8, gt
	cinc	w20, w20, gt
	cbz	x22, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cbz	w8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x19
	bl	_burn_frame8
	b	LBB0_5
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter8_brng
.subsections_via_symbols
