	.file	"extr_vf_lut2.c_config_inputx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	config_inputx, @function
config_inputx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR 24[rdi]
	mov	edi, DWORD PTR 16[rdi]
	mov	rbx, QWORD PTR [rax]
	call	av_pix_fmt_desc_get@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	r14d, DWORD PTR [rax]
	mov	r15d, DWORD PTR 4[rax]
	mov	r12, rax
	call	av_pix_fmt_count_planes@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r13, QWORD PTR 40[rbx]
	mov	DWORD PTR 48[rbx], eax
	mov	esi, r15d
	call	AV_CEIL_RSHIFT@PLT
	mov	esi, r14d
	mov	QWORD PTR 16[r13], rax
	mov	rdx, QWORD PTR 40[rbx]
	mov	QWORD PTR 8[rdx], rax
	mov	rdx, QWORD PTR 40[rbx]
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rdx, QWORD PTR 40[rbx]
	mov	QWORD PTR [rdx], rax
	mov	rdi, QWORD PTR 8[rbp]
	mov	r13, QWORD PTR 32[rbx]
	call	AV_CEIL_RSHIFT@PLT
	cmp	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 16[r13], rax
	mov	rdx, QWORD PTR 32[rbx]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR 32[rbx]
	mov	QWORD PTR 24[rdx], rax
	mov	rdx, QWORD PTR 32[rbx]
	mov	QWORD PTR [rdx], rax
	mov	rdx, QWORD PTR VAR_W[rip]
	mov	rcx, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rdx, QWORD PTR VAR_H[rip]
	mov	rcx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR 8[r12]
	mov	rdx, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR VAR_BITDEPTHX[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[rbx], rax
	mov	QWORD PTR [rdx+rcx*8], rax
	je	.L2
	mov	rax, QWORD PTR 8[r12]
	mov	rdx, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR VAR_BITDEPTHY[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR [rdx+rcx*8], rax
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	config_inputx, .-config_inputx
	.comm	VAR_W,8,8
	.comm	VAR_H,8,8
	.comm	VAR_BITDEPTHY,8,8
	.comm	VAR_BITDEPTHX,8,8
	.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_vf_lut2.c_config_inputx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_inputx, %function
config_inputx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r0, #8]
	ldr	r4, [r3]
	bl	av_pix_fmt_desc_get
	mov	r6, r0
	ldr	r0, [r5, #8]
	ldm	r6, {r7, r8}
	bl	av_pix_fmt_count_planes
	mov	r1, r8
	str	r0, [r4, #24]
	ldr	r0, [r5]
	ldr	r8, [r4, #20]
	bl	AV_CEIL_RSHIFT
	str	r0, [r8, #8]
	ldr	r3, [r4, #20]
	mov	r1, r7
	str	r0, [r3, #4]
	ldr	r2, [r4, #20]
	ldr	r3, [r5]
	str	r3, [r2, #12]
	ldr	r2, [r4, #20]
	str	r3, [r2]
	ldr	r0, [r5, #4]
	ldr	r7, [r4, #16]
	bl	AV_CEIL_RSHIFT
	str	r0, [r7, #8]
	ldr	r3, [r4, #16]
	ldr	r1, .L8
	str	r0, [r3, #4]
	ldr	r3, [r5, #4]
	ldr	r2, [r4, #16]
	ldr	r1, [r1]
	str	r3, [r2, #12]
	ldr	r0, [r4, #16]
	ldr	r2, .L8+4
	str	r3, [r0]
	ldr	r0, [r5, #4]
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	str	r0, [r3, r1, lsl #2]
	ldr	r0, [r5]
	ldr	r3, [r4, #4]
	ldr	r1, .L8+8
	str	r0, [r3, r2, lsl #2]
	ldr	r3, [r6, #8]
	ldr	r0, [r4, #8]
	ldr	r3, [r3]
	ldr	r2, [r4, #4]
	ldr	r1, [r1]
	cmp	r0, #0
	str	r3, [r4, #12]
	str	r3, [r2, r1, lsl #2]
	beq	.L2
	ldr	r3, [r6, #8]
	ldr	r1, .L8+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r4, #4]
	str	r3, [r4]
	str	r3, [r2, r1, lsl #2]
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	VAR_W
	.word	VAR_H
	.word	VAR_BITDEPTHX
	.word	VAR_BITDEPTHY
	.size	config_inputx, .-config_inputx
	.comm	VAR_W,4,4
	.comm	VAR_H,4,4
	.comm	VAR_BITDEPTHY,4,4
	.comm	VAR_BITDEPTHX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
