	.file	"extr_hantro_jpeg.c_jpeg_scale_quant_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	jpeg_scale_quant_table, @function
jpeg_scale_quant_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, 255
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	.p2align 4,,10
	.p2align 3
.L2:
	movzx	edi, BYTE PTR 0[rbp+r14]
	mov	esi, 100
	imul	edi, ebx
	call	DIV_ROUND_CLOSEST@PLT
	mov	edx, 1
	cmp	eax, 255
	cmova	eax, r13d
	test	eax, eax
	cmove	eax, edx
	mov	BYTE PTR [r12+r14], al
	add	r14, 1
	cmp	r14, 64
	jne	.L2
	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
	.cfi_endproc
.LFE0:
	.size	jpeg_scale_quant_table, .-jpeg_scale_quant_table
	.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_hantro_jpeg.c_jpeg_scale_quant_table.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jpeg_scale_quant_table, %function
jpeg_scale_quant_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r2
	sub	r5, r0, #1
	sub	r4, r1, #1
	add	r7, r1, #63
.L2:
	ldrb	r0, [r4, #1]!	@ zero_extendqisi2
	mov	r1, #100
	mul	r0, r6, r0
	bl	DIV_ROUND_CLOSEST
	cmp	r0, #255
	movcs	r0, #255
	cmp	r0, #1
	movcc	r0, #1
	cmp	r4, r7
	strb	r0, [r5, #1]!
	bne	.L2
	pop	{r4, r5, r6, r7, r8, pc}
	.size	jpeg_scale_quant_table, .-jpeg_scale_quant_table
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
