	.file	"extr_dcn_calc_math.c_dcn_bw_log.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dcn_bw_log
	.type	dcn_bw_log, @function
dcn_bw_log:
.LFB0:
	.cfi_startproc
	endbr64
	movaps	xmm2, xmm0
	movaps	xmm0, xmm1
	cvtss2sd	xmm1, xmm1
	movd	edx, xmm2
	movd	eax, xmm2
	and	edx, -2139095041
	sar	eax, 23
	lea	ecx, 1065353216[rdx]
	movzx	eax, al
	movd	xmm4, ecx
	movd	xmm2, ecx
	add	eax, -128
	mulss	xmm4, DWORD PTR .LC0[rip]
	comisd	xmm1, QWORD PTR .LC3[rip]
	addss	xmm4, DWORD PTR .LC1[rip]
	mulss	xmm2, xmm4
	movaps	xmm3, xmm2
	pxor	xmm2, xmm2
	subss	xmm3, DWORD PTR .LC2[rip]
	cvtsi2ss	xmm2, eax
	addss	xmm2, xmm3
	ja	.L2
	movsd	xmm3, QWORD PTR .LC4[rip]
	comisd	xmm3, xmm1
	jbe	.L6
.L2:
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	movss	xmm1, DWORD PTR .LC1[rip]
	movss	DWORD PTR 12[rsp], xmm2
	call	dcn_bw_log
	movss	xmm2, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 8
	divss	xmm2, xmm0
	movaps	xmm0, xmm2
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	movaps	xmm0, xmm2
	ret
	.cfi_endproc
.LFE0:
	.size	dcn_bw_log, .-dcn_bw_log
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	3198855851
	.align 4
.LC1:
	.long	1073741824
	.align 4
.LC2:
	.long	1059760811
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	1043161657
	.long	1073741829
	.align 8
.LC4:
	.long	2208643982
	.long	1073741813
	.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_dcn_calc_math.c_dcn_bw_log.c"
	.text
	.global	__aeabi_f2d
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_fsub
	.global	__aeabi_i2f
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.global	__aeabi_fdiv
	.align	2
	.global	dcn_bw_log
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcn_bw_log, %function
dcn_bw_log:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	bic	r3, r0, #2130706432
	push	{r4, r5, r6, r7, r8, lr}
	bic	r3, r3, #8388608
	mov	r4, r0
	mov	r0, r1
	add	r5, r3, #1065353216
	mov	r8, r1
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	mov	r0, r5
	ldr	r1, .L7
	bl	__aeabi_fmul
	mov	r1, #1073741824
	bl	__aeabi_fadd
	mov	r1, r5
	bl	__aeabi_fmul
	ldr	r1, .L7+4
	bl	__aeabi_fsub
	mov	r3, r0
	asr	r4, r4, #23
	and	r4, r4, #255
	sub	r0, r4, #128
	mov	r4, r3
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, #1073741829
	mov	r4, r0
	mov	r1, r7
	mov	r0, r6
	ldr	r2, .L7+8
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	bne	.L2
	mvn	r3, #-1073741814
	mov	r0, r6
	mov	r1, r7
	ldr	r2, .L7+12
	bl	__aeabi_dcmplt
	cmp	r0, #0
	beq	.L1
.L2:
	mov	r1, #1073741824
	mov	r0, r8
	bl	dcn_bw_log
	mov	r1, r0
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r4, r0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	-1096111445
	.word	1059760811
	.word	1043161657
	.word	-2086323314
	.size	dcn_bw_log, .-dcn_bw_log
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
