	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter16_brng
_filter16_brng:                         ## @filter16_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	$72, %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, -72(%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	%ebx, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %r9d
	jge	LBB0_13
## %bb.1:
	movq	(%rdi), %r15
	movq	(%rsi), %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	movb	(%r15), %cl
	addb	$-8, %cl
	movl	$16, %edi
	shll	%cl, %edi
	movl	$235, %eax
	shll	%cl, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$240, %eax
	shll	%cl, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r9d
	cmpl	-44(%rbp), %r9d                 ## 4-byte Folded Reload
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movb	4(%r15), %cl
	movl	%r9d, %eax
	sarl	%cl, %eax
	testl	%r8d, %r8d
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rcx
	movq	16(%rdx), %rdx
	movslq	4(%rcx), %rsi
	cltq
	imulq	%rax, %rsi
	shlq	$2, %rsi
	addq	8(%rdx), %rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movslq	8(%rcx), %rsi
	imulq	%rax, %rsi
	shlq	$2, %rsi
	addq	16(%rdx), %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	movl	(%rcx), %ecx
	imull	%r9d, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %r10
	xorl	%r14d, %r14d
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	movzbl	%r13b, %eax
	addl	%eax, %ebx
	incq	%r14
	cmpq	%r14, %r8
	je	LBB0_12
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	8(%r15), %ecx
	movl	%r14d, %eax
	shrl	%cl, %eax
	movl	(%r10,%r14,4), %ecx
	movb	$1, %r13b
	cmpl	%edi, %ecx
	jl	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	jg	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	cltq
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx,%rax,4), %ecx
	cmpl	%edi, %ecx
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %ecx
	setg	%cl
	cmpl	%edi, %eax
	setl	%dl
	orb	%cl, %dl
	cmpl	%esi, %eax
	setg	%r13b
	orb	%dl, %r13b
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	testq	%r12, %r12
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	testb	%r13b, %r13b
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	movl	%r9d, %ecx
	callq	_burn_frame16
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	jmp	LBB0_11
LBB0_13:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter16_brng
.subsections_via_symbols

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