	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function android_render_rgb_on_rgb
_android_render_rgb_on_rgb:             ## @android_render_rgb_on_rgb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_SDL_FCC_RV16@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$1, 8(%rbx)
	sete	%dil
	callq	_assert
	movl	(%r14), %edi
	movl	12(%rbx), %esi
	callq	_IJKMIN
	movl	%eax, %r15d
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	(%rax), %r12d
	imull	4(%r14), %r13d
	leal	7(%r13), %ebx
	testl	%r13d, %r13d
	cmovnsl	%r13d, %ebx
	sarl	$3, %ebx
	movq	8(%r14), %r13
	movq	(%rcx), %r14
	cmpl	%r12d, %ebx
	jne	LBB0_2
## %bb.1:
	imull	%r15d, %r12d
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	jmp	LBB0_3
LBB0_2:
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_IJKMIN
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movl	%r15d, %r9d
	callq	_av_image_copy_plane
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDL_FCC_RV16,8,3               ## @SDL_FCC_RV16
	.no_dead_strip	_android_render_rgb_on_rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function android_render_rgb_on_rgb
_android_render_rgb_on_rgb:             ; @android_render_rgb_on_rgb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _SDL_FCC_RV16@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDL_FCC_RV16@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20, #8]
	cmp	w8, #1
	cset	w0, eq
	bl	_assert
	ldr	w0, [x22]
	ldr	w1, [x20, #12]
	bl	_IJKMIN
	mov	x19, x0
	ldr	w8, [x22, #4]
	ldp	x9, x10, [x20, #16]
	ldr	w20, [x9]
	mul	w8, w8, w21
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w23, w8, #3
	ldr	x22, [x22, #8]
	ldr	x21, [x10]
	cmp	w23, w20
	b.ne	LBB0_2
; %bb.1:
	mul	w2, w20, w19
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
	b	LBB0_3
LBB0_2:
	mov	x0, x23
	mov	x1, x20
	bl	_IJKMIN
	mov	x4, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	mov	x5, x19
	bl	_av_image_copy_plane
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDL_FCC_RV16,8,3               ; @SDL_FCC_RV16
	.no_dead_strip	_android_render_rgb_on_rgb
.subsections_via_symbols
