	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sc_config_scaler               ## -- Begin function sc_config_scaler
	.p2align	4, 0x90
_sc_config_scaler:                      ## @sc_config_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CFG_SELFGEN_FID@GOTPCREL(%rip), %rax
	movq	_CFG_TRIM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	(%rax), %ebx
	movq	_CFG_ENABLE_SIN2_VER_INTP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_CFG_INTERLACE_I@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_CFG_DCM_4X@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_CFG_DCM_2X@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	%r11d, %r15d
	orl	%r10d, %r15d
	orl	%ebx, %r15d
	movq	_CFG_AUTO_HS@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r9d, %r13d
	movl	%r8d, %ebx
	movq	%rcx, %r8
	movq	_CFG_ENABLE_EV@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CFG_USE_RAV@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CFG_INVT_FID@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CFG_SC_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r15d
	movq	_CFG_INTERLACE_O@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r15d
	movl	24(%rbp), %r14d
	movq	_CFG_Y_PK_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r15d
	movq	(%rdi), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_CFG_HP_BYPASS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r15d
	movq	_CFG_LINEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %r15d
	notl	%r15d
	andl	(%rsi), %r15d
	movl	16(%rbp), %r12d
	cmpl	%r12d, %ebx
	jne	LBB0_3
## %bb.1:
	cmpl	%r14d, %r13d
	jne	LBB0_3
## %bb.2:
	orl	%eax, %r15d
	movl	%r15d, (%rsi)
	jmp	LBB0_14
LBB0_3:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	orl	%ecx, %r15d
	xorl	%ecx, %ecx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%r12d
	cmpl	$5, %eax
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	jl	LBB0_5
## %bb.4:
	orl	%r11d, %r15d
	movl	$2, %ecx
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	cmpl	$3, %eax
	jl	LBB0_6
## %bb.7:
	orl	%r10d, %r15d
	movl	$1, %ecx
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.3(%rip), %rax
LBB0_8:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edi
	leal	-1(%r12), %esi
	shll	$24, %edi
	addl	$-16777216, %edi                ## imm = 0xFF000000
	callq	_div64_u64
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	xorl	%ecx, %ecx
	movl	%r13d, %eax
	shrl	$2, %eax
	cmpl	%r14d, %eax
	jbe	LBB0_10
## %bb.9:
	movq	_CFG_USE_RAV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	orl	%r15d, %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	cmpl	%r14d, %eax
	jbe	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	shll	$10, %eax
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%edx, %edx
	divl	%r13d
	movl	%eax, %ebx
	leal	1(%rbx), %eax
	sarl	%eax
	leal	(%rax,%rbx), %ecx
	cmpl	$1024, %ecx                     ## imm = 0x400
	leal	-1024(%rax,%rbx), %r15d
	cmovll	%ecx, %r15d
	movl	%r15d, %eax
	sarl	%eax
	leal	(%r15,%rax), %edx
	addl	%r15d, %eax
	incl	%eax
	cmpl	$512, %eax                      ## imm = 0x200
	setl	%cl
	movl	$0, %eax
	cmovll	%r15d, %eax
	shll	%cl, %r15d
	leal	(%rax,%rdx), %r12d
	addl	$-511, %r12d                    ## imm = 0xFE01
	movl	%r12d, (%rsp)
	leaq	L_.str.4(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_13
LBB0_12:
	movl	%r13d, %eax
	shll	$16, %eax
	addl	$-65536, %eax                   ## imm = 0xFFFF0000
	leal	-1(%r14), %ecx
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	divl	%ecx
	leaq	L_.str.5(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_dev_dbg
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_13:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rdi)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rdi)
	movq	$0, 8(%rdi)
	movq	_CFG_TAR_W_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	16(%rbp), %eax
	movq	%rax, %rdx
	shll	%cl, %edx
	movq	_CFG_TAR_H_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	orl	%edx, %r14d
	movl	%r14d, 16(%rdi)
	movq	_CFG_SRC_W_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %eax
	shll	%cl, %eax
	movq	_CFG_SRC_H_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r13d, %edx
	shll	%cl, %edx
	orl	%eax, %edx
	movl	%edx, 20(%rdi)
	movq	_CFG_ROW_ACC_INIT_RAV_B_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_CFG_ROW_ACC_INIT_RAV_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	orl	%r12d, %r15d
	movl	%r15d, 24(%rdi)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	movl	$0, 16(%rax)
	movl	%ebx, 20(%rax)
	movq	_CFG_ORG_W_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movq	_CFG_ORG_H_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	orl	%esi, %r13d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, 28(%rax)
LBB0_14:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG_SELFGEN_FID,4,2            ## @CFG_SELFGEN_FID
	.comm	_CFG_TRIM,4,2                   ## @CFG_TRIM
	.comm	_CFG_ENABLE_SIN2_VER_INTP,4,2   ## @CFG_ENABLE_SIN2_VER_INTP
	.comm	_CFG_INTERLACE_I,4,2            ## @CFG_INTERLACE_I
	.comm	_CFG_DCM_4X,4,2                 ## @CFG_DCM_4X
	.comm	_CFG_DCM_2X,4,2                 ## @CFG_DCM_2X
	.comm	_CFG_AUTO_HS,4,2                ## @CFG_AUTO_HS
	.comm	_CFG_ENABLE_EV,4,2              ## @CFG_ENABLE_EV
	.comm	_CFG_USE_RAV,4,2                ## @CFG_USE_RAV
	.comm	_CFG_INVT_FID,4,2               ## @CFG_INVT_FID
	.comm	_CFG_SC_BYPASS,4,2              ## @CFG_SC_BYPASS
	.comm	_CFG_INTERLACE_O,4,2            ## @CFG_INTERLACE_O
	.comm	_CFG_Y_PK_EN,4,2                ## @CFG_Y_PK_EN
	.comm	_CFG_HP_BYPASS,4,2              ## @CFG_HP_BYPASS
	.comm	_CFG_LINEAR,4,2                 ## @CFG_LINEAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hs config: src_w = %d, dst_w = %d, decimation = %s, lin_acc_inc = %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"4x"

L_.str.2:                               ## @.str.2
	.asciz	"2x"

L_.str.3:                               ## @.str.3
	.asciz	"none"

L_.str.4:                               ## @.str.4
	.asciz	"vs config(RAV): src_h = %d, dst_h = %d, factor = %d, acc_init = %08x, acc_init_b = %08x\n"

L_.str.5:                               ## @.str.5
	.asciz	"vs config(POLY): src_h = %d, dst_h = %d,row_acc_inc = %08x\n"

	.comm	_CFG_LIN_ACC_INC_U_MASK,4,2     ## @CFG_LIN_ACC_INC_U_MASK
	.comm	_CFG_LIN_ACC_INC_U_SHIFT,4,2    ## @CFG_LIN_ACC_INC_U_SHIFT
	.comm	_CFG_TAR_W_SHIFT,4,2            ## @CFG_TAR_W_SHIFT
	.comm	_CFG_TAR_H_SHIFT,4,2            ## @CFG_TAR_H_SHIFT
	.comm	_CFG_SRC_W_SHIFT,4,2            ## @CFG_SRC_W_SHIFT
	.comm	_CFG_SRC_H_SHIFT,4,2            ## @CFG_SRC_H_SHIFT
	.comm	_CFG_ROW_ACC_INIT_RAV_B_SHIFT,4,2 ## @CFG_ROW_ACC_INIT_RAV_B_SHIFT
	.comm	_CFG_ROW_ACC_INIT_RAV_SHIFT,4,2 ## @CFG_ROW_ACC_INIT_RAV_SHIFT
	.comm	_CFG_COL_ACC_OFFSET_SHIFT,4,2   ## @CFG_COL_ACC_OFFSET_SHIFT
	.comm	_CFG_ORG_W_SHIFT,4,2            ## @CFG_ORG_W_SHIFT
	.comm	_CFG_ORG_H_SHIFT,4,2            ## @CFG_ORG_H_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sc_config_scaler               ; -- Begin function sc_config_scaler
	.p2align	2
_sc_config_scaler:                      ; @sc_config_scaler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x24, x7
	mov	x25, x6
	mov	x20, x5
	mov	x21, x4
	mov	x23, x1
	ldr	x26, [x0]
Lloh0:
	adrp	x8, _CFG_SELFGEN_FID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFG_SELFGEN_FID@GOTPAGEOFF]
	ldr	w12, [x1]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CFG_TRIM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CFG_TRIM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _CFG_ENABLE_SIN2_VER_INTP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CFG_ENABLE_SIN2_VER_INTP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _CFG_INTERLACE_I@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CFG_INTERLACE_I@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w9, w8, w9
Lloh12:
	adrp	x8, _CFG_DCM_4X@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CFG_DCM_4X@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w10, w9, w8
Lloh15:
	adrp	x9, _CFG_DCM_2X@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CFG_DCM_2X@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w10, w10, w9
Lloh18:
	adrp	x11, _CFG_AUTO_HS@GOTPAGE
Lloh19:
	ldr	x11, [x11, _CFG_AUTO_HS@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh21:
	adrp	x11, _CFG_ENABLE_EV@GOTPAGE
Lloh22:
	ldr	x11, [x11, _CFG_ENABLE_EV@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh24:
	adrp	x28, _CFG_USE_RAV@GOTPAGE
Lloh25:
	ldr	x28, [x28, _CFG_USE_RAV@GOTPAGEOFF]
	ldr	w11, [x28]
	orr	w10, w10, w11
Lloh26:
	adrp	x11, _CFG_INVT_FID@GOTPAGE
Lloh27:
	ldr	x11, [x11, _CFG_INVT_FID@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	orr	w11, w10, w11
Lloh29:
	adrp	x10, _CFG_SC_BYPASS@GOTPAGE
Lloh30:
	ldr	x10, [x10, _CFG_SC_BYPASS@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w11, w11, w10
Lloh32:
	adrp	x13, _CFG_INTERLACE_O@GOTPAGE
Lloh33:
	ldr	x13, [x13, _CFG_INTERLACE_O@GOTPAGEOFF]
Lloh34:
	ldr	w13, [x13]
	orr	w11, w11, w13
Lloh35:
	adrp	x13, _CFG_Y_PK_EN@GOTPAGE
Lloh36:
	ldr	x13, [x13, _CFG_Y_PK_EN@GOTPAGEOFF]
Lloh37:
	ldr	w13, [x13]
	orr	w11, w11, w13
Lloh38:
	adrp	x13, _CFG_HP_BYPASS@GOTPAGE
Lloh39:
	ldr	x13, [x13, _CFG_HP_BYPASS@GOTPAGEOFF]
Lloh40:
	ldr	w13, [x13]
	orr	w13, w11, w13
Lloh41:
	adrp	x11, _CFG_LINEAR@GOTPAGE
Lloh42:
	ldr	x11, [x11, _CFG_LINEAR@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
	orr	w13, w13, w11
	bic	w12, w12, w13
	cmp	w4, w6
	b.ne	LBB0_3
; %bb.1:
	cmp	w20, w24
	b.ne	LBB0_3
; %bb.2:
	orr	w8, w12, w10
	str	w8, [x23]
	b	LBB0_7
LBB0_3:
	stp	x2, x3, [sp, #48]               ; 16-byte Folded Spill
	orr	w10, w12, w11
	udiv	w11, w21, w25
Lloh44:
	adrp	x12, l_.str.3@PAGE
Lloh45:
	add	x12, x12, l_.str.3@PAGEOFF
	orr	w9, w10, w9
	mov	w13, #1
Lloh46:
	adrp	x14, l_.str.2@PAGE
Lloh47:
	add	x14, x14, l_.str.2@PAGEOFF
	cmp	w11, #3
	csel	w13, wzr, w13, lt
	csel	x12, x12, x14, lt
	csel	w9, w10, w9, lt
	orr	w8, w10, w8
	mov	w10, #2
Lloh48:
	adrp	x14, l_.str.1@PAGE
Lloh49:
	add	x14, x14, l_.str.1@PAGEOFF
	cmp	w11, #5
	csel	w10, w13, w10, lt
	csel	x19, x12, x14, lt
	csel	w22, w9, w8, lt
	sub	w1, w25, #1
	lsr	w8, w21, w10
	mov	w9, #-16777216
	add	w0, w9, w8, lsl #24
	bl	_div64_u64
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	stp	x19, x0, [sp]
Lloh50:
	adrp	x1, l_.str@PAGE
Lloh51:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x26
	mov	x2, x21
	mov	x3, x25
	bl	_dev_dbg
	lsr	w8, w20, #2
	ldr	w9, [x28]
	cmp	w8, w24
	csel	w8, w9, wzr, hi
	orr	w8, w8, w22
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b.ls	LBB0_5
; %bb.4:
	lsl	w8, w24, #10
	udiv	w28, w8, w20
	add	w8, w28, #1
	add	w8, w28, w8, asr #1
	sub	w9, w8, #1024
	cmp	w8, #1023
	csel	w8, w9, w8, gt
	add	w9, w8, w8, asr #1
	add	w9, w9, #1
	cmp	w9, #512
	csel	w10, w8, wzr, lt
	add	w9, w9, w10
	cset	w10, lt
	lsl	w27, w8, w10
	sub	w22, w9, #512
	stp	x28, x27, [sp]
	str	x22, [sp, #16]
Lloh52:
	adrp	x1, l_.str.4@PAGE
Lloh53:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x26
	mov	x2, x20
	mov	x3, x24
	bl	_dev_dbg
	mov	w19, #0
	b	LBB0_6
LBB0_5:
	lsl	w8, w20, #16
	sub	w8, w8, #16, lsl #12            ; =65536
	sub	w9, w24, #1
	udiv	w19, w8, w9
	str	x19, [sp]
Lloh54:
	adrp	x1, l_.str.5@PAGE
Lloh55:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x26
	mov	x2, x20
	mov	x3, x24
	bl	_dev_dbg
	mov	w27, #0
	mov	w22, #0
	mov	w28, #0
LBB0_6:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	stp	w8, w19, [x23]
Lloh56:
	adrp	x8, _CFG_TAR_W_SHIFT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _CFG_TAR_W_SHIFT@GOTPAGEOFF]
	str	xzr, [x23, #8]
Lloh58:
	ldr	w8, [x8]
	lsl	w8, w25, w8
Lloh59:
	adrp	x9, _CFG_TAR_H_SHIFT@GOTPAGE
Lloh60:
	ldr	x9, [x9, _CFG_TAR_H_SHIFT@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	lsl	w9, w24, w9
	orr	w8, w9, w8
Lloh62:
	adrp	x9, _CFG_SRC_W_SHIFT@GOTPAGE
Lloh63:
	ldr	x9, [x9, _CFG_SRC_W_SHIFT@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	lsl	w9, w21, w9
Lloh65:
	adrp	x10, _CFG_SRC_H_SHIFT@GOTPAGE
Lloh66:
	ldr	x10, [x10, _CFG_SRC_H_SHIFT@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
	lsl	w10, w20, w10
	orr	w9, w10, w9
	stp	w8, w9, [x23, #16]
Lloh68:
	adrp	x8, _CFG_ROW_ACC_INIT_RAV_B_SHIFT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _CFG_ROW_ACC_INIT_RAV_B_SHIFT@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
Lloh71:
	adrp	x9, _CFG_ROW_ACC_INIT_RAV_SHIFT@GOTPAGE
Lloh72:
	ldr	x9, [x9, _CFG_ROW_ACC_INIT_RAV_SHIFT@GOTPAGEOFF]
	lsl	w8, w22, w8
Lloh73:
	ldr	w9, [x9]
	lsl	w9, w27, w9
	orr	w8, w9, w8
	str	w8, [x23, #24]
	ldp	x9, x8, [sp, #40]               ; 16-byte Folded Reload
	str	w9, [x8, #4]
	stp	wzr, w28, [x8, #16]
Lloh74:
	adrp	x8, _CFG_ORG_W_SHIFT@GOTPAGE
Lloh75:
	ldr	x8, [x8, _CFG_ORG_W_SHIFT@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	lsl	w8, w21, w8
Lloh77:
	adrp	x9, _CFG_ORG_H_SHIFT@GOTPAGE
Lloh78:
	ldr	x9, [x9, _CFG_ORG_H_SHIFT@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w8, w9, w8
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	str	w8, [x9, #28]
LBB0_7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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 AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG_SELFGEN_FID,4,2            ; @CFG_SELFGEN_FID
	.comm	_CFG_TRIM,4,2                   ; @CFG_TRIM
	.comm	_CFG_ENABLE_SIN2_VER_INTP,4,2   ; @CFG_ENABLE_SIN2_VER_INTP
	.comm	_CFG_INTERLACE_I,4,2            ; @CFG_INTERLACE_I
	.comm	_CFG_DCM_4X,4,2                 ; @CFG_DCM_4X
	.comm	_CFG_DCM_2X,4,2                 ; @CFG_DCM_2X
	.comm	_CFG_AUTO_HS,4,2                ; @CFG_AUTO_HS
	.comm	_CFG_ENABLE_EV,4,2              ; @CFG_ENABLE_EV
	.comm	_CFG_USE_RAV,4,2                ; @CFG_USE_RAV
	.comm	_CFG_INVT_FID,4,2               ; @CFG_INVT_FID
	.comm	_CFG_SC_BYPASS,4,2              ; @CFG_SC_BYPASS
	.comm	_CFG_INTERLACE_O,4,2            ; @CFG_INTERLACE_O
	.comm	_CFG_Y_PK_EN,4,2                ; @CFG_Y_PK_EN
	.comm	_CFG_HP_BYPASS,4,2              ; @CFG_HP_BYPASS
	.comm	_CFG_LINEAR,4,2                 ; @CFG_LINEAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hs config: src_w = %d, dst_w = %d, decimation = %s, lin_acc_inc = %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"4x"

l_.str.2:                               ; @.str.2
	.asciz	"2x"

l_.str.3:                               ; @.str.3
	.asciz	"none"

l_.str.4:                               ; @.str.4
	.asciz	"vs config(RAV): src_h = %d, dst_h = %d, factor = %d, acc_init = %08x, acc_init_b = %08x\n"

l_.str.5:                               ; @.str.5
	.asciz	"vs config(POLY): src_h = %d, dst_h = %d,row_acc_inc = %08x\n"

	.comm	_CFG_LIN_ACC_INC_U_MASK,4,2     ; @CFG_LIN_ACC_INC_U_MASK
	.comm	_CFG_LIN_ACC_INC_U_SHIFT,4,2    ; @CFG_LIN_ACC_INC_U_SHIFT
	.comm	_CFG_TAR_W_SHIFT,4,2            ; @CFG_TAR_W_SHIFT
	.comm	_CFG_TAR_H_SHIFT,4,2            ; @CFG_TAR_H_SHIFT
	.comm	_CFG_SRC_W_SHIFT,4,2            ; @CFG_SRC_W_SHIFT
	.comm	_CFG_SRC_H_SHIFT,4,2            ; @CFG_SRC_H_SHIFT
	.comm	_CFG_ROW_ACC_INIT_RAV_B_SHIFT,4,2 ; @CFG_ROW_ACC_INIT_RAV_B_SHIFT
	.comm	_CFG_ROW_ACC_INIT_RAV_SHIFT,4,2 ; @CFG_ROW_ACC_INIT_RAV_SHIFT
	.comm	_CFG_COL_ACC_OFFSET_SHIFT,4,2   ; @CFG_COL_ACC_OFFSET_SHIFT
	.comm	_CFG_ORG_W_SHIFT,4,2            ; @CFG_ORG_W_SHIFT
	.comm	_CFG_ORG_H_SHIFT,4,2            ; @CFG_ORG_H_SHIFT
.subsections_via_symbols
