	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rga_cmd_set_trans_info
_rga_cmd_set_trans_info:                ## @rga_cmd_set_trans_info
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	88(%rdi), %r14
	movq	_RGA_MODE_BASE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RGA_SRC_X_FACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_RGA_SRC_Y_FACTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subl	%edx, %esi
	sarl	$2, %esi
	movq	_RGA_DST_VIR_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subl	%edx, %edi
	sarl	$2, %edi
	movl	(%rbx), %eax
	movq	_RGA_SRC_ROT_MODE_90_DEGREE@GOTPCREL(%rip), %r11
	movq	%r11, %rcx
	cmpl	$90, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$270, %eax                      ## imm = 0x10E
	je	LBB0_4
## %bb.2:
	cmpl	$180, %eax
	jne	LBB0_5
## %bb.3:
	movq	_RGA_SRC_ROT_MODE_180_DEGREE@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_RGA_SRC_ROT_MODE_270_DEGREE@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_RGA_SRC_ROT_MODE_0_DEGREE@GOTPCREL(%rip), %rcx
LBB0_6:
	subl	%edx, %r13d
	movq	(%r14), %r12
	movslq	%esi, %rdx
	movslq	%edi, %r10
	movq	48(%rbx), %r8
	movq	16(%rbx), %r9
	movl	56(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	60(%rbx), %edi
	movl	24(%rbx), %esi
	movl	28(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rcx
	cmpq	(%r11), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	je	LBB0_9
## %bb.7:
	movq	_RGA_SRC_ROT_MODE_270_DEGREE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_9
## %bb.8:
	movl	%esi, %r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%rdi, %r14
	jmp	LBB0_13
LBB0_9:
	cmpq	$0, 8(%r14)
	je	LBB0_12
## %bb.10:
	cmpq	$0, 16(%r14)
	je	LBB0_12
## %bb.11:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rdi, %r14
	jmp	LBB0_13
LBB0_12:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	-8(%rcx), %eax
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	cmpl	%ecx, %r11d
	cmovnel	%ecx, %eax
	movl	%edi, %ecx
	subl	%esi, %ecx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdx
	movl	%ecx, %esi
	negl	%esi
	cmovsl	%ecx, %esi
	leal	-16(%rdi), %ecx
	cmpl	$16, %esi
	cmovael	%edi, %ecx
	movl	%ecx, %r14d
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r11d, %r15d
	movl	%edx, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_13:
	sarl	$2, %r13d
	movl	64(%rbx), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	68(%rbx), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	36(%rbx), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	(%r12,%rdx,8), %rcx
	movq	(%r12,%r10,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r8), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	(%r9), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	cmpl	%esi, %r14d
	jne	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
LBB0_15:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jbe	LBB0_17
## %bb.16:
	movslq	%r13d, %rax
	movq	(%r12,%rax,8), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_rga_get_scaling
	jmp	LBB0_18
LBB0_17:
	leal	-1(%r14), %edi
	decl	%esi
	callq	_rga_get_scaling
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_18:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_19:
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	cmpl	%r15d, %r9d
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_21:
	jbe	LBB0_23
## %bb.22:
	movl	%r9d, %edi
	movl	%r15d, %esi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_rga_get_scaling
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_25
LBB0_23:
	leal	-1(%r9), %edi
	decl	%r15d
	movl	%r15d, %esi
	callq	_rga_get_scaling
	movq	-48(%rbp), %r9                  ## 8-byte Reload
LBB0_24:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_25:
	leaq	8(%rbx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	40(%rbx), %rsi
	movl	12(%rbx), %eax
	movl	44(%rbx), %ecx
	sarl	$2, %ecx
	movq	%rcx, %r13
	shlq	$32, %r13
	orq	%rcx, %r13
	leal	-1(%r9), %ecx
	movq	%r14, %r8
	decl	%r14d
	shlq	$32, %r14
	orq	%rcx, %r14
	sarl	$2, %eax
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	andq	%rcx, %rdx
	orq	%rax, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %r15                ## 8-byte Reload
	leal	-1(%r15), %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leal	-1(%rbx), %ecx
	shlq	$32, %rcx
	orq	%rax, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	-176(%rbp), %rdi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_rga_get_addr_offset
	movq	-176(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-168(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-160(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	-176(%rbp), %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	-104(%rbp), %edx                ## 4-byte Reload
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	movl	%ebx, %r8d
	movl	%r15d, %r9d
	callq	_rga_get_addr_offset
	leaq	-176(%rbp), %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	$-1, %edx
	callq	_rga_lookup_draw_pos
	movq	_RGA_SRC_Y_RGB_BASE_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_RGA_MODE_BASE_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, (%r12,%rdx,8)
	movq	_RGA_SRC_CB_BASE_ADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%r12,%rdx,8)
	movq	_RGA_SRC_CR_BASE_ADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%r12,%rdx,8)
	movq	_RGA_SRC_X_FACTOR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%r12,%rdx,8)
	movq	_RGA_SRC_Y_FACTOR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%r12,%rdx,8)
	movq	_RGA_SRC_VIR_INFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	%r13, (%r12,%rdx,8)
	movq	_RGA_SRC_ACT_INFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	%r14, (%r12,%rdx,8)
	movq	_RGA_SRC_INFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, (%r12,%rdx,8)
	movq	16(%rax), %rdx
	movq	_RGA_DST_Y_RGB_BASE_ADDR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	subl	%ecx, %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	movq	%rdx, (%r12,%rsi,8)
	movq	8(%rax), %rdx
	movq	_RGA_DST_CB_BASE_ADDR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	subl	%ecx, %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	movq	%rdx, (%r12,%rsi,8)
	movq	(%rax), %rax
	movq	_RGA_DST_CR_BASE_ADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	%rax, (%r12,%rdx,8)
	movq	_RGA_DST_VIR_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%ecx, %eax
	sarl	$2, %eax
	cltq
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%r12,%rax,8)
	movq	_RGA_DST_ACT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%ecx, %eax
	sarl	$2, %eax
	cltq
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%r12,%rax,8)
	movq	_RGA_DST_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%ecx, %eax
	sarl	$2, %eax
	cltq
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%r12,%rax,8)
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RGA_SRC_INFO,4,2               ## @RGA_SRC_INFO
	.comm	_RGA_MODE_BASE_REG,4,2          ## @RGA_MODE_BASE_REG
	.comm	_RGA_DST_INFO,4,2               ## @RGA_DST_INFO
	.comm	_RGA_SRC_X_FACTOR,4,2           ## @RGA_SRC_X_FACTOR
	.comm	_RGA_SRC_Y_FACTOR,4,2           ## @RGA_SRC_Y_FACTOR
	.comm	_RGA_SRC_VIR_INFO,4,2           ## @RGA_SRC_VIR_INFO
	.comm	_RGA_SRC_ACT_INFO,4,2           ## @RGA_SRC_ACT_INFO
	.comm	_RGA_DST_VIR_INFO,4,2           ## @RGA_DST_VIR_INFO
	.comm	_RGA_DST_ACT_INFO,4,2           ## @RGA_DST_ACT_INFO
	.comm	_RGA_COLOR_FMT_YUV422SP,8,3     ## @RGA_COLOR_FMT_YUV422SP
	.comm	_RGA_SRC_CSC_MODE_BT709_R0,8,3  ## @RGA_SRC_CSC_MODE_BT709_R0
	.comm	_RGA_SRC_CSC_MODE_BT601_R0,8,3  ## @RGA_SRC_CSC_MODE_BT601_R0
	.comm	_RGA_DST_CSC_MODE_BT601_R0,8,3  ## @RGA_DST_CSC_MODE_BT601_R0
	.comm	_RGA_SRC_MIRR_MODE_X,4,2        ## @RGA_SRC_MIRR_MODE_X
	.comm	_RGA_SRC_MIRR_MODE_Y,4,2        ## @RGA_SRC_MIRR_MODE_Y
	.comm	_RGA_SRC_ROT_MODE_90_DEGREE,8,3 ## @RGA_SRC_ROT_MODE_90_DEGREE
	.comm	_RGA_SRC_ROT_MODE_180_DEGREE,8,3 ## @RGA_SRC_ROT_MODE_180_DEGREE
	.comm	_RGA_SRC_ROT_MODE_270_DEGREE,8,3 ## @RGA_SRC_ROT_MODE_270_DEGREE
	.comm	_RGA_SRC_ROT_MODE_0_DEGREE,8,3  ## @RGA_SRC_ROT_MODE_0_DEGREE
	.comm	_RGA_SRC_HSCL_MODE_NO,4,2       ## @RGA_SRC_HSCL_MODE_NO
	.comm	_RGA_SRC_HSCL_MODE_DOWN,4,2     ## @RGA_SRC_HSCL_MODE_DOWN
	.comm	_RGA_SRC_HSCL_MODE_UP,4,2       ## @RGA_SRC_HSCL_MODE_UP
	.comm	_RGA_SRC_VSCL_MODE_NO,4,2       ## @RGA_SRC_VSCL_MODE_NO
	.comm	_RGA_SRC_VSCL_MODE_DOWN,4,2     ## @RGA_SRC_VSCL_MODE_DOWN
	.comm	_RGA_SRC_VSCL_MODE_UP,4,2       ## @RGA_SRC_VSCL_MODE_UP
	.comm	_RGA_SRC_Y_RGB_BASE_ADDR,4,2    ## @RGA_SRC_Y_RGB_BASE_ADDR
	.comm	_RGA_SRC_CB_BASE_ADDR,4,2       ## @RGA_SRC_CB_BASE_ADDR
	.comm	_RGA_SRC_CR_BASE_ADDR,4,2       ## @RGA_SRC_CR_BASE_ADDR
	.comm	_RGA_DST_Y_RGB_BASE_ADDR,4,2    ## @RGA_DST_Y_RGB_BASE_ADDR
	.comm	_RGA_DST_CB_BASE_ADDR,4,2       ## @RGA_DST_CB_BASE_ADDR
	.comm	_RGA_DST_CR_BASE_ADDR,4,2       ## @RGA_DST_CR_BASE_ADDR
	.no_dead_strip	_rga_cmd_set_trans_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rga_cmd_set_trans_info
_rga_cmd_set_trans_info:                ; @rga_cmd_set_trans_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x23, x0
	ldr	x9, [x0, #88]
	ldp	w21, w22, [x0, #56]
	ldp	w19, w28, [x0, #24]
Lloh0:
	adrp	x8, _RGA_MODE_BASE_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RGA_MODE_BASE_REG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x13, _RGA_SRC_X_FACTOR@GOTPAGE
Lloh4:
	ldr	x13, [x13, _RGA_SRC_X_FACTOR@GOTPAGEOFF]
Lloh5:
	adrp	x10, _RGA_SRC_Y_FACTOR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _RGA_SRC_Y_FACTOR@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	sub	w10, w10, w8
Lloh8:
	adrp	x11, _RGA_DST_VIR_INFO@GOTPAGE
Lloh9:
	ldr	x11, [x11, _RGA_DST_VIR_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	sub	w11, w11, w8
	ldr	w12, [x0]
Lloh11:
	adrp	x15, _RGA_SRC_ROT_MODE_90_DEGREE@GOTPAGE
Lloh12:
	ldr	x15, [x15, _RGA_SRC_ROT_MODE_90_DEGREE@GOTPAGEOFF]
	cmp	w12, #90
	b.eq	LBB0_4
; %bb.1:
	cmp	w12, #270
	b.eq	LBB0_5
; %bb.2:
	cmp	w12, #180
	b.ne	LBB0_6
; %bb.3:
Lloh13:
	adrp	x16, _RGA_SRC_ROT_MODE_180_DEGREE@GOTPAGE
Lloh14:
	ldr	x16, [x16, _RGA_SRC_ROT_MODE_180_DEGREE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x16, x15
	b	LBB0_7
LBB0_5:
Lloh15:
	adrp	x16, _RGA_SRC_ROT_MODE_270_DEGREE@GOTPAGE
Lloh16:
	ldr	x16, [x16, _RGA_SRC_ROT_MODE_270_DEGREE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x16, _RGA_SRC_ROT_MODE_0_DEGREE@GOTPAGE
Lloh18:
	ldr	x16, [x16, _RGA_SRC_ROT_MODE_0_DEGREE@GOTPAGEOFF]
LBB0_7:
	ldr	w14, [x13]
	ldr	x26, [x9]
	asr	w10, w10, #2
	asr	w11, w11, #2
	ldr	x12, [x23, #48]
	ldr	x13, [x23, #16]
	ldr	x24, [x16]
	ldr	x15, [x15]
	cmp	x24, x15
	b.eq	LBB0_10
; %bb.8:
Lloh19:
	adrp	x15, _RGA_SRC_ROT_MODE_270_DEGREE@GOTPAGE
Lloh20:
	ldr	x15, [x15, _RGA_SRC_ROT_MODE_270_DEGREE@GOTPAGEOFF]
Lloh21:
	ldr	x15, [x15]
	cmp	x24, x15
	b.eq	LBB0_10
; %bb.9:
	mov	x20, x19
	mov	x1, x28
	b	LBB0_13
LBB0_10:
	ldr	x15, [x9, #8]
	cbz	x15, LBB0_12
; %bb.11:
	ldr	x9, [x9, #16]
	mov	x20, x28
	mov	x1, x19
	cbnz	x9, LBB0_13
LBB0_12:
	sub	w9, w21, #8
	cmp	w28, w21
	csel	w21, w9, w21, eq
	subs	w9, w22, w19
	cneg	w9, w9, mi
	sub	w15, w22, #16
	cmp	w9, #16
	csel	w22, w15, w22, lo
	mov	x20, x28
	mov	x1, x19
LBB0_13:
	sub	w8, w14, w8
	ldr	w9, [x23, #64]
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w9, [x23, #68]
	str	w9, [sp, #16]                   ; 4-byte Folded Spill
	ldr	x27, [x26, w10, sxtw #3]
	ldr	w10, [x23, #32]
	ldr	w9, [x23, #36]
	stp	w10, w9, [sp, #24]              ; 8-byte Folded Spill
	ldr	x9, [x26, w11, sxtw #3]
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x10, [x12]
	ldr	x9, [x13]
	stp	x10, x9, [sp, #40]              ; 16-byte Folded Spill
	cmp	w22, w1
	b.ne	LBB0_15
; %bb.14:
	str	xzr, [sp, #32]                  ; 8-byte Folded Spill
	cmp	w21, w20
	b.ne	LBB0_17
	b	LBB0_20
LBB0_15:
	b.ls	LBB0_19
; %bb.16:
	asr	w8, w8, #2
	ldr	x8, [x26, w8, sxtw #3]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_rga_get_scaling
	cmp	w21, w20
	b.eq	LBB0_20
LBB0_17:
	b.ls	LBB0_21
; %bb.18:
	mov	x0, x21
	mov	x1, x20
	bl	_rga_get_scaling
	str	x27, [sp]                       ; 8-byte Folded Spill
	b	LBB0_22
LBB0_19:
	sub	w0, w22, #1
	sub	w1, w1, #1
	bl	_rga_get_scaling
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	cmp	w21, w20
	b.ne	LBB0_17
LBB0_20:
	str	xzr, [sp]                       ; 8-byte Folded Spill
	b	LBB0_22
LBB0_21:
	sub	w0, w21, #1
	sub	w1, w20, #1
	bl	_rga_get_scaling
	str	x0, [sp]                        ; 8-byte Folded Spill
LBB0_22:
	add	x20, x23, #8
	add	x0, x23, #40
	ldr	w8, [x23, #44]
	asr	w27, w8, #2
	bfi	x27, x27, #32, #32
	sub	w25, w21, #1
	sub	w8, w22, #1
	bfi	x25, x8, #32, #32
	ldr	w8, [x23, #12]
	asr	w8, w8, #2
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	and	x9, x9, #0xffffffff00000000
	orr	x8, x9, x8
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	sub	w23, w19, #1
	sub	w8, w28, #1
	bfi	x23, x8, #32, #32
	add	x8, sp, #56
	ldp	w2, w1, [sp, #16]               ; 8-byte Folded Reload
	mov	x3, x22
	mov	x4, x21
	bl	_rga_get_addr_offset
	ldp	x21, x22, [sp, #56]
	mov	x4, x19
	ldr	x19, [sp, #72]
	add	x8, sp, #56
	mov	x0, x20
	ldp	w1, w2, [sp, #24]               ; 8-byte Folded Reload
	mov	x3, x28
	bl	_rga_get_addr_offset
	add	x0, sp, #56
	mov	x1, x24
	mov	w2, #-1
	bl	_rga_lookup_draw_pos
Lloh22:
	adrp	x8, _RGA_SRC_Y_RGB_BASE_ADDR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RGA_SRC_Y_RGB_BASE_ADDR@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x8]
Lloh25:
	adrp	x8, _RGA_MODE_BASE_REG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RGA_MODE_BASE_REG@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x19, [x26, w9, sxtw #3]
Lloh28:
	adrp	x9, _RGA_SRC_CB_BASE_ADDR@GOTPAGE
Lloh29:
	ldr	x9, [x9, _RGA_SRC_CB_BASE_ADDR@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x22, [x26, w9, sxtw #3]
Lloh31:
	adrp	x9, _RGA_SRC_CR_BASE_ADDR@GOTPAGE
Lloh32:
	ldr	x9, [x9, _RGA_SRC_CR_BASE_ADDR@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x21, [x26, w9, sxtw #3]
Lloh34:
	adrp	x9, _RGA_SRC_X_FACTOR@GOTPAGE
Lloh35:
	ldr	x9, [x9, _RGA_SRC_X_FACTOR@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	str	x10, [x26, w9, sxtw #3]
Lloh37:
	adrp	x9, _RGA_SRC_Y_FACTOR@GOTPAGE
Lloh38:
	ldr	x9, [x9, _RGA_SRC_Y_FACTOR@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	str	x10, [x26, w9, sxtw #3]
Lloh40:
	adrp	x9, _RGA_SRC_VIR_INFO@GOTPAGE
Lloh41:
	ldr	x9, [x9, _RGA_SRC_VIR_INFO@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x27, [x26, w9, sxtw #3]
Lloh43:
	adrp	x9, _RGA_SRC_ACT_INFO@GOTPAGE
Lloh44:
	ldr	x9, [x9, _RGA_SRC_ACT_INFO@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x25, [x26, w9, sxtw #3]
Lloh46:
	adrp	x9, _RGA_SRC_INFO@GOTPAGE
Lloh47:
	ldr	x9, [x9, _RGA_SRC_INFO@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	str	x10, [x26, w9, sxtw #3]
Lloh49:
	adrp	x9, _RGA_DST_Y_RGB_BASE_ADDR@GOTPAGE
Lloh50:
	ldr	x9, [x9, _RGA_DST_Y_RGB_BASE_ADDR@GOTPAGEOFF]
	ldr	x10, [x0, #16]
Lloh51:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x10, [x26, w9, sxtw #3]
	ldr	x9, [x0, #8]
Lloh52:
	adrp	x10, _RGA_DST_CB_BASE_ADDR@GOTPAGE
Lloh53:
	ldr	x10, [x10, _RGA_DST_CB_BASE_ADDR@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	sub	w10, w10, w8
	asr	w10, w10, #2
	str	x9, [x26, w10, sxtw #3]
	ldr	x9, [x0]
Lloh55:
	adrp	x10, _RGA_DST_CR_BASE_ADDR@GOTPAGE
Lloh56:
	ldr	x10, [x10, _RGA_DST_CR_BASE_ADDR@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	sub	w10, w10, w8
	asr	w10, w10, #2
	str	x9, [x26, w10, sxtw #3]
Lloh58:
	adrp	x9, _RGA_DST_VIR_INFO@GOTPAGE
Lloh59:
	ldr	x9, [x9, _RGA_DST_VIR_INFO@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	str	x10, [x26, w9, sxtw #3]
Lloh61:
	adrp	x9, _RGA_DST_ACT_INFO@GOTPAGE
Lloh62:
	ldr	x9, [x9, _RGA_DST_ACT_INFO@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	sub	w9, w9, w8
	asr	w9, w9, #2
	str	x23, [x26, w9, sxtw #3]
Lloh64:
	adrp	x9, _RGA_DST_INFO@GOTPAGE
Lloh65:
	ldr	x9, [x9, _RGA_DST_INFO@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	sub	w8, w9, w8
	asr	w8, w8, #2
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	str	x9, [x26, w8, sxtw #3]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_RGA_SRC_INFO,4,2               ; @RGA_SRC_INFO
	.comm	_RGA_MODE_BASE_REG,4,2          ; @RGA_MODE_BASE_REG
	.comm	_RGA_DST_INFO,4,2               ; @RGA_DST_INFO
	.comm	_RGA_SRC_X_FACTOR,4,2           ; @RGA_SRC_X_FACTOR
	.comm	_RGA_SRC_Y_FACTOR,4,2           ; @RGA_SRC_Y_FACTOR
	.comm	_RGA_SRC_VIR_INFO,4,2           ; @RGA_SRC_VIR_INFO
	.comm	_RGA_SRC_ACT_INFO,4,2           ; @RGA_SRC_ACT_INFO
	.comm	_RGA_DST_VIR_INFO,4,2           ; @RGA_DST_VIR_INFO
	.comm	_RGA_DST_ACT_INFO,4,2           ; @RGA_DST_ACT_INFO
	.comm	_RGA_COLOR_FMT_YUV422SP,8,3     ; @RGA_COLOR_FMT_YUV422SP
	.comm	_RGA_SRC_CSC_MODE_BT709_R0,8,3  ; @RGA_SRC_CSC_MODE_BT709_R0
	.comm	_RGA_SRC_CSC_MODE_BT601_R0,8,3  ; @RGA_SRC_CSC_MODE_BT601_R0
	.comm	_RGA_DST_CSC_MODE_BT601_R0,8,3  ; @RGA_DST_CSC_MODE_BT601_R0
	.comm	_RGA_SRC_MIRR_MODE_X,4,2        ; @RGA_SRC_MIRR_MODE_X
	.comm	_RGA_SRC_MIRR_MODE_Y,4,2        ; @RGA_SRC_MIRR_MODE_Y
	.comm	_RGA_SRC_ROT_MODE_90_DEGREE,8,3 ; @RGA_SRC_ROT_MODE_90_DEGREE
	.comm	_RGA_SRC_ROT_MODE_180_DEGREE,8,3 ; @RGA_SRC_ROT_MODE_180_DEGREE
	.comm	_RGA_SRC_ROT_MODE_270_DEGREE,8,3 ; @RGA_SRC_ROT_MODE_270_DEGREE
	.comm	_RGA_SRC_ROT_MODE_0_DEGREE,8,3  ; @RGA_SRC_ROT_MODE_0_DEGREE
	.comm	_RGA_SRC_HSCL_MODE_NO,4,2       ; @RGA_SRC_HSCL_MODE_NO
	.comm	_RGA_SRC_HSCL_MODE_DOWN,4,2     ; @RGA_SRC_HSCL_MODE_DOWN
	.comm	_RGA_SRC_HSCL_MODE_UP,4,2       ; @RGA_SRC_HSCL_MODE_UP
	.comm	_RGA_SRC_VSCL_MODE_NO,4,2       ; @RGA_SRC_VSCL_MODE_NO
	.comm	_RGA_SRC_VSCL_MODE_DOWN,4,2     ; @RGA_SRC_VSCL_MODE_DOWN
	.comm	_RGA_SRC_VSCL_MODE_UP,4,2       ; @RGA_SRC_VSCL_MODE_UP
	.comm	_RGA_SRC_Y_RGB_BASE_ADDR,4,2    ; @RGA_SRC_Y_RGB_BASE_ADDR
	.comm	_RGA_SRC_CB_BASE_ADDR,4,2       ; @RGA_SRC_CB_BASE_ADDR
	.comm	_RGA_SRC_CR_BASE_ADDR,4,2       ; @RGA_SRC_CR_BASE_ADDR
	.comm	_RGA_DST_Y_RGB_BASE_ADDR,4,2    ; @RGA_DST_Y_RGB_BASE_ADDR
	.comm	_RGA_DST_CB_BASE_ADDR,4,2       ; @RGA_DST_CB_BASE_ADDR
	.comm	_RGA_DST_CR_BASE_ADDR,4,2       ; @RGA_DST_CR_BASE_ADDR
	.no_dead_strip	_rga_cmd_set_trans_info
.subsections_via_symbols
