	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_xfmv_set_scaler
_dce110_xfmv_set_scaler:                ## @dce110_xfmv_set_scaler
	.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
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_TO_DCE_TRANSFORM
	movq	%rax, %r14
	movl	$0, -56(%rbp)
	movl	$0, -48(%rbp)
	movq	%rbx, %rdi
	callq	_dce110_xfmv_power_up_line_buffer
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_calculate_viewport
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_program_overscan
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_setup_scaling_configuration
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	$0, -64(%rbp)
	leaq	-64(%rbp), %rbx
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_calculate_inits
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_program_scl_ratios_inits
	movl	12(%r12), %edi
	movl	28(%r12), %esi
	callq	_get_filter_coeffs_64p
	movq	%rax, %r15
	movl	4(%r12), %edi
	movl	24(%r12), %esi
	callq	_get_filter_coeffs_64p
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %edi
	movl	20(%r12), %esi
	callq	_get_filter_coeffs_64p
	movq	%rax, %rbx
	movl	(%r12), %edi
	movl	16(%r12), %esi
	callq	_get_filter_coeffs_64p
	movq	%rax, %r13
	cmpq	24(%r14), %r15
	jne	LBB0_6
## %bb.3:
	cmpq	16(%r14), %rbx
	jne	LBB0_6
## %bb.4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%r14), %rax
	jne	LBB0_6
## %bb.5:
	cmpq	(%r14), %r13
	je	LBB0_1
LBB0_6:
	movl	12(%r12), %esi
	movq	_FILTER_TYPE_RGB_Y_VERTICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	callq	_program_multi_taps_filter
	movl	8(%r12), %esi
	movq	_FILTER_TYPE_CBCR_VERTICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_program_multi_taps_filter
	movl	4(%r12), %esi
	movq	_FILTER_TYPE_RGB_Y_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_program_multi_taps_filter
	movl	(%r12), %esi
	movq	_FILTER_TYPE_CBCR_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_program_multi_taps_filter
	movq	%r15, 24(%r14)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	movq	%r13, 8(%r14)
	movq	%rbx, (%r14)
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_program_viewport
	movq	%r14, %rdi
	callq	_set_coeff_update_complete
	jmp	LBB0_7
LBB0_1:
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_program_viewport
LBB0_7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_TYPE_RGB_Y_VERTICAL,4,2 ## @FILTER_TYPE_RGB_Y_VERTICAL
	.comm	_FILTER_TYPE_CBCR_VERTICAL,4,2  ## @FILTER_TYPE_CBCR_VERTICAL
	.comm	_FILTER_TYPE_RGB_Y_HORIZONTAL,4,2 ## @FILTER_TYPE_RGB_Y_HORIZONTAL
	.comm	_FILTER_TYPE_CBCR_HORIZONTAL,4,2 ## @FILTER_TYPE_CBCR_HORIZONTAL
	.no_dead_strip	_dce110_xfmv_set_scaler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_xfmv_set_scaler
_dce110_xfmv_set_scaler:                ; @dce110_xfmv_set_scaler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_TO_DCE_TRANSFORM
	mov	x19, x0
	str	wzr, [sp, #24]
	str	wzr, [sp, #16]
	mov	x0, x21
	bl	_dce110_xfmv_power_up_line_buffer
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x20
	bl	_calculate_viewport
	mov	x0, x19
	mov	x1, x20
	bl	_program_overscan
	mov	x0, x19
	mov	x1, x20
	bl	_setup_scaling_configuration
	cbz	w0, LBB0_6
; %bb.1:
	str	wzr, [sp, #8]
	add	x2, sp, #8
	add	x3, sp, #24
	add	x4, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_calculate_inits
	add	x1, sp, #8
	mov	x0, x19
	bl	_program_scl_ratios_inits
	ldr	w0, [x20, #12]
	ldr	w1, [x20, #28]
	bl	_get_filter_coeffs_64p
	mov	x21, x0
	ldr	w0, [x20, #4]
	ldr	w1, [x20, #24]
	bl	_get_filter_coeffs_64p
	mov	x22, x0
	ldr	w0, [x20, #8]
	ldr	w1, [x20, #20]
	bl	_get_filter_coeffs_64p
	mov	x23, x0
	ldr	w0, [x20]
	ldr	w1, [x20, #16]
	bl	_get_filter_coeffs_64p
	mov	x24, x0
	ldr	x8, [x19, #24]
	cmp	x21, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	x23, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
	cmp	x22, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x19]
	cmp	x24, x8
	b.eq	LBB0_6
LBB0_5:
	ldr	w1, [x20, #12]
Lloh0:
	adrp	x8, _FILTER_TYPE_RGB_Y_VERTICAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILTER_TYPE_RGB_Y_VERTICAL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_program_multi_taps_filter
	ldr	w1, [x20, #8]
Lloh3:
	adrp	x8, _FILTER_TYPE_CBCR_VERTICAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILTER_TYPE_CBCR_VERTICAL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_program_multi_taps_filter
	ldr	w1, [x20, #4]
Lloh6:
	adrp	x8, _FILTER_TYPE_RGB_Y_HORIZONTAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FILTER_TYPE_RGB_Y_HORIZONTAL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_program_multi_taps_filter
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _FILTER_TYPE_CBCR_HORIZONTAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILTER_TYPE_CBCR_HORIZONTAL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_program_multi_taps_filter
	stp	x23, x21, [x19, #16]
	stp	x24, x22, [x19]
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x19
	bl	_program_viewport
	mov	x0, x19
	bl	_set_coeff_update_complete
	b	LBB0_7
LBB0_6:
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x19
	bl	_program_viewport
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FILTER_TYPE_RGB_Y_VERTICAL,4,2 ; @FILTER_TYPE_RGB_Y_VERTICAL
	.comm	_FILTER_TYPE_CBCR_VERTICAL,4,2  ; @FILTER_TYPE_CBCR_VERTICAL
	.comm	_FILTER_TYPE_RGB_Y_HORIZONTAL,4,2 ; @FILTER_TYPE_RGB_Y_HORIZONTAL
	.comm	_FILTER_TYPE_CBCR_HORIZONTAL,4,2 ; @FILTER_TYPE_CBCR_HORIZONTAL
	.no_dead_strip	_dce110_xfmv_set_scaler
.subsections_via_symbols
