	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp1_dscl_set_scaler_filter
_dpp1_dscl_set_scaler_filter:           ## @dpp1_dscl_set_scaler_filter
	.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, %r14
	movl	%edx, %r10d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_SCL_COEF_RAM_TAP_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_SCL_COEF_RAM_TAP_PAIR_IDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SCL_COEF_RAM_PHASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_SCL_COEF_RAM_FILTER_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	callq	_REG_SET_3
	addq	$16, %rsp
	movq	_NUM_PHASES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	jge	LBB0_1
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leal	1(%rdx), %ecx
	shrl	$31, %ecx
	leal	(%rdx,%rcx), %r12d
	incl	%r12d
	sarl	%r12d
	movslq	%edx, %r13
	cmpl	$2, %r12d
	movl	$1, %ecx
	cmovll	%ecx, %r12d
	addq	$8, %r14
	leaq	(,%r13,8), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	addq	%r12, %r12
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NUM_PHASES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rsi), %rcx
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rdx
	addq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	cmpq	%rdx, %rsi
	movq	%rcx, %rsi
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r14,%r15,8), %r10
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	-8(%r14,%r15,8), %rcx
	movq	_SCL_COEF_RAM_TAP_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCL_COEF_RAM_EVEN_TAP_COEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SCL_COEF_RAM_EVEN_TAP_COEF_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SCL_COEF_RAM_ODD_TAP_COEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_SCL_COEF_RAM_ODD_TAP_COEF_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movl	$1, %r9d
	pushq	$1
	pushq	%rax
	pushq	%r10
	pushq	%rbx
	callq	_REG_SET_4
	addq	$32, %rsp
	addq	$2, %r15
	cmpq	%r15, %r12
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%r15), %rax
	cmpq	%r13, %rax
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	xorl	%r10d, %r10d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SCL_COEF_RAM_TAP_SELECT,4,2    ## @SCL_COEF_RAM_TAP_SELECT
	.comm	_SCL_COEF_RAM_TAP_PAIR_IDX,4,2  ## @SCL_COEF_RAM_TAP_PAIR_IDX
	.comm	_SCL_COEF_RAM_PHASE,4,2         ## @SCL_COEF_RAM_PHASE
	.comm	_SCL_COEF_RAM_FILTER_TYPE,4,2   ## @SCL_COEF_RAM_FILTER_TYPE
	.comm	_NUM_PHASES,4,2                 ## @NUM_PHASES
	.comm	_SCL_COEF_RAM_TAP_DATA,4,2      ## @SCL_COEF_RAM_TAP_DATA
	.comm	_SCL_COEF_RAM_EVEN_TAP_COEF,4,2 ## @SCL_COEF_RAM_EVEN_TAP_COEF
	.comm	_SCL_COEF_RAM_EVEN_TAP_COEF_EN,4,2 ## @SCL_COEF_RAM_EVEN_TAP_COEF_EN
	.comm	_SCL_COEF_RAM_ODD_TAP_COEF,4,2  ## @SCL_COEF_RAM_ODD_TAP_COEF
	.comm	_SCL_COEF_RAM_ODD_TAP_COEF_EN,4,2 ## @SCL_COEF_RAM_ODD_TAP_COEF_EN
	.no_dead_strip	_dpp1_dscl_set_scaler_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp1_dscl_set_scaler_filter
_dpp1_dscl_set_scaler_filter:           ; @dpp1_dscl_set_scaler_filter
	.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
	mov	x19, x3
	mov	x7, x2
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _SCL_COEF_RAM_TAP_SELECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCL_COEF_RAM_TAP_SELECT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SCL_COEF_RAM_TAP_PAIR_IDX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCL_COEF_RAM_TAP_PAIR_IDX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SCL_COEF_RAM_PHASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCL_COEF_RAM_PHASE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _SCL_COEF_RAM_FILTER_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCL_COEF_RAM_FILTER_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	w5, #0
	bl	_REG_SET_3
Lloh12:
	adrp	x8, _NUM_PHASES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NUM_PHASES@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w8, #1
	b.ge	LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x12, #0
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	add	w9, w11, #1
	add	w10, w11, #2
	cmp	w9, #0
	csinc	w9, w10, w11, lt
	asr	w9, w9, #1
	sxtw	x23, w11
	cmp	w9, #1
	csinc	w9, w9, wzr, gt
	sbfiz	x10, x11, #3, #32
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
Lloh15:
	adrp	x25, _SCL_COEF_RAM_TAP_DATA@GOTPAGE
Lloh16:
	ldr	x25, [x25, _SCL_COEF_RAM_TAP_DATA@GOTPAGEOFF]
Lloh17:
	adrp	x26, _SCL_COEF_RAM_EVEN_TAP_COEF@GOTPAGE
Lloh18:
	ldr	x26, [x26, _SCL_COEF_RAM_EVEN_TAP_COEF@GOTPAGEOFF]
Lloh19:
	adrp	x27, _SCL_COEF_RAM_EVEN_TAP_COEF_EN@GOTPAGE
Lloh20:
	ldr	x27, [x27, _SCL_COEF_RAM_EVEN_TAP_COEF_EN@GOTPAGEOFF]
	lsl	x28, x9, #1
Lloh21:
	adrp	x21, _SCL_COEF_RAM_ODD_TAP_COEF@GOTPAGE
Lloh22:
	ldr	x21, [x21, _SCL_COEF_RAM_ODD_TAP_COEF@GOTPAGEOFF]
Lloh23:
	adrp	x20, _SCL_COEF_RAM_ODD_TAP_COEF_EN@GOTPAGE
Lloh24:
	ldr	x20, [x20, _SCL_COEF_RAM_ODD_TAP_COEF_EN@GOTPAGEOFF]
	mov	w24, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x8, _NUM_PHASES@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NUM_PHASES@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	x12, [sp, #24]                  ; 8-byte Folded Reload
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	cmp	x12, w9, sxtw
	add	x12, x12, #1
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	add	x19, x19, x10
	b.ge	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x12, [sp, #24]                  ; 8-byte Folded Spill
	mov	x22, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x19, x22, lsl #3
	ldr	x7, [x8, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x3, [x19, x22, lsl #3]
	ldr	w0, [x25]
	ldr	w2, [x26]
	ldr	w4, [x27]
	ldr	w6, [x21]
	ldr	w8, [x20]
	stp	w8, w24, [sp]
	mov	w1, #0
	mov	w5, #1
	bl	_REG_SET_4
	add	x22, x22, #2
	cmp	x28, x22
	b.eq	LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x22, #1
	cmp	x8, x23
	b.lt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x7, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_SCL_COEF_RAM_TAP_SELECT,4,2    ; @SCL_COEF_RAM_TAP_SELECT
	.comm	_SCL_COEF_RAM_TAP_PAIR_IDX,4,2  ; @SCL_COEF_RAM_TAP_PAIR_IDX
	.comm	_SCL_COEF_RAM_PHASE,4,2         ; @SCL_COEF_RAM_PHASE
	.comm	_SCL_COEF_RAM_FILTER_TYPE,4,2   ; @SCL_COEF_RAM_FILTER_TYPE
	.comm	_NUM_PHASES,4,2                 ; @NUM_PHASES
	.comm	_SCL_COEF_RAM_TAP_DATA,4,2      ; @SCL_COEF_RAM_TAP_DATA
	.comm	_SCL_COEF_RAM_EVEN_TAP_COEF,4,2 ; @SCL_COEF_RAM_EVEN_TAP_COEF
	.comm	_SCL_COEF_RAM_EVEN_TAP_COEF_EN,4,2 ; @SCL_COEF_RAM_EVEN_TAP_COEF_EN
	.comm	_SCL_COEF_RAM_ODD_TAP_COEF,4,2  ; @SCL_COEF_RAM_ODD_TAP_COEF
	.comm	_SCL_COEF_RAM_ODD_TAP_COEF_EN,4,2 ; @SCL_COEF_RAM_ODD_TAP_COEF_EN
	.no_dead_strip	_dpp1_dscl_set_scaler_filter
.subsections_via_symbols
