	.file	"extr_commonmodel.c_model_input_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	model_input_init
	.type	model_input_init, @function
model_input_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	mov	esi, r8d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	mov	edx, ecx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	add	rdi, 56
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rdi], ecx
	mov	DWORD PTR -40[rdi], r8d
	call	transform_init@PLT
	mov	DWORD PTR 4[rbx], ebp
	imul	ebp, r14d
	mov	edi, DWORD PTR 16[rbx]
	mov	DWORD PTR [rbx], r14d
	mov	esi, DWORD PTR CL_MEM_READ_WRITE[rip]
	lea	r14, 4[rsp]
	xor	ecx, ecx
	mov	r8, r14
	mov	edx, ebp
	call	clCreateBuffer@PLT
	xor	edi, edi
	mov	QWORD PTR 48[rbx], rax
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	sete	dil
	call	assert@PLT
	mov	eax, DWORD PTR [rbx]
	mov	ecx, DWORD PTR 4[rbx]
	mov	r8, r14
	mov	esi, DWORD PTR CL_MEM_READ_WRITE[rip]
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, eax
	shr	edx, 31
	add	edx, eax
	mov	eax, ecx
	shr	eax, 31
	sar	edx
	add	eax, ecx
	xor	ecx, ecx
	sar	eax
	imul	edx, eax
	call	clCreateBuffer@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	edi, edi
	mov	QWORD PTR 40[rbx], rax
	test	edx, edx
	sete	dil
	call	assert@PLT
	mov	eax, DWORD PTR [rbx]
	mov	ecx, DWORD PTR 4[rbx]
	mov	r8, r14
	mov	esi, DWORD PTR CL_MEM_READ_WRITE[rip]
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, eax
	shr	edx, 31
	add	edx, eax
	mov	eax, ecx
	shr	eax, 31
	sar	edx
	add	eax, ecx
	xor	ecx, ecx
	sar	eax
	imul	edx, eax
	call	clCreateBuffer@PLT
	mov	ecx, DWORD PTR 4[rsp]
	xor	edi, edi
	mov	QWORD PTR 32[rbx], rax
	test	ecx, ecx
	sete	dil
	call	assert@PLT
	lea	eax, 0[rbp+rbp*2]
	mov	edi, DWORD PTR 16[rbx]
	xor	ecx, ecx
	mov	edx, eax
	mov	esi, DWORD PTR CL_MEM_READ_WRITE[rip]
	mov	r8, r14
	shr	edx, 31
	add	edx, eax
	sar	edx
	sal	edx, 2
	mov	DWORD PTR 8[rbx], edx
	call	clCreateBuffer@PLT
	mov	esi, DWORD PTR 4[rsp]
	xor	edi, edi
	mov	QWORD PTR 24[rbx], rax
	test	esi, esi
	sete	dil
	call	assert@PLT
	mov	r8d, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR [rbx]
	lea	rdi, 12[rbx]
	mov	edx, r13d
	mov	esi, r12d
	call	loadyuv_init@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	model_input_init, .-model_input_init
	.comm	CL_MEM_READ_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_commonmodel.c_model_input_init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	model_input_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	model_input_init, %function
model_input_init:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	fp, r1
	mov	r10, r2
	sub	sp, sp, #20
	mul	r5, r2, r1
	ldr	r8, [sp, #56]
	ldr	r7, .L6
	str	r3, [r0, #40]
	mov	r2, r3
	mov	r6, r3
	ldr	r3, .L6+4
	add	r9, sp, #8
	str	r8, [r0, #16]
	mov	r1, r8
	add	r0, r0, #36
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	transform_init
	mov	r2, r5
	ldr	r1, [r7]
	mov	r3, #0
	ldr	r0, [r4, #16]
	str	fp, [r4]
	str	r10, [r4, #4]
	str	r9, [sp]
	bl	clCreateBuffer
	ldr	r3, [sp, #8]
	str	r0, [r4, #32]
	clz	r0, r3
	lsr	r0, r0, #5
	bl	assert
	ldm	r4, {r2, r3}
	add	r2, r2, r2, lsr #31
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	str	r9, [sp]
	asr	r2, r2, #1
	mul	r2, r3, r2
	ldr	r1, [r7]
	mov	r3, #0
	ldr	r0, [r4, #16]
	bl	clCreateBuffer
	ldr	r3, [sp, #8]
	str	r0, [r4, #28]
	clz	r0, r3
	lsr	r0, r0, #5
	bl	assert
	ldm	r4, {r2, r3}
	add	r2, r2, r2, lsr #31
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	str	r9, [sp]
	asr	r2, r2, #1
	mul	r2, r3, r2
	ldr	r1, [r7]
	mov	r3, #0
	ldr	r0, [r4, #16]
	bl	clCreateBuffer
	ldr	r3, [sp, #8]
	str	r0, [r4, #24]
	clz	r0, r3
	add	r5, r5, r5, lsl #1
	lsr	r0, r0, #5
	add	r5, r5, r5, lsr #31
	bl	assert
	asr	r2, r5, #1
	lsl	r2, r2, #2
	str	r2, [r4, #8]
	str	r9, [sp]
	ldr	r1, [r7]
	mov	r3, #0
	ldr	r0, [r4, #16]
	bl	clCreateBuffer
	ldr	r3, [sp, #8]
	str	r0, [r4, #20]
	clz	r0, r3
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r4
	ldr	ip, [r4, #4]
	ldr	r3, [r0], #12
	mov	r2, r6
	mov	r1, r8
	str	ip, [sp]
	bl	loadyuv_init
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	CL_MEM_READ_WRITE
	.word	.LC0
	.size	model_input_init, .-model_input_init
	.comm	CL_MEM_READ_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
