	.file	"extr_dce_clock_source.c_get_ss_info_from_atombios.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid entry !!!\n"
.LC1:
	.string	"Invalid array pointer!!!\n"
.LC2:
	.string	"Invalid ATOMBIOS SS Table!!!\n"
.LC3:
	.string	"Invalid SS percentage "
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"for HDMI in ATOMBIOS info Table!!!\n"
	.text
	.p2align 4
	.type	get_ss_info_from_atombios, @function
get_ss_info_from_atombios:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	call	DC_LOGGER_INIT@PLT
	lea	rdi, .LC0[rip]
	test	rbp, rbp
	je	.L28
	test	r13, r13
	je	.L30
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR 0[r13], 0
	mov	esi, r12d
	mov	QWORD PTR 0[rbp], 0
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR [rax]]
	mov	QWORD PTR 0[rbp], rax
	mov	rdi, rax
	test	rax, rax
	jne	.L31
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 64
	call	kcalloc@PLT
	mov	QWORD PTR [rsp], rax
	mov	r14, rax
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, 64
	call	kcalloc@PLT
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L7
	xor	r15d, r15d
	cmp	QWORD PTR 0[rbp], 0
	jg	.L8
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rax, QWORD PTR 0[rbp]
	add	r15, 1
	add	r14, 64
	cmp	rax, r15
	jle	.L32
.L8:
	mov	rdi, QWORD PTR [rbx]
	mov	rcx, r14
	mov	rdx, r15
	mov	esi, r12d
	mov	rax, QWORD PTR [rdi]
	call	[QWORD PTR 8[rax]]
	cmp	eax, DWORD PTR BP_RESULT_OK[rip]
	je	.L33
.L9:
	mov	rdi, QWORD PTR 8[rsp]
	call	kfree@PLT
	mov	QWORD PTR 0[rbp], 0
.L7:
	mov	rdi, QWORD PTR [rsp]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
.L28:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	jmp	DC_LOG_SYNC@PLT
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	test	rax, rax
	jle	.L10
	mov	rdx, QWORD PTR 8[rsp]
	mov	rbx, QWORD PTR [rsp]
	xor	ecx, ecx
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR 4[rbx]
	cmp	esi, 1000
	jne	.L14
	movsx	rsi, eax
	mov	DWORD PTR 4[rbx], 100
	sar	eax, 31
	imul	rsi, rsi, 1717986919
	sar	rsi, 34
	sub	esi, eax
	mov	DWORD PTR [rbx], esi
	mov	eax, esi
	mov	esi, 100
.L14:
	mov	edi, DWORD PTR 56[rbx]
	cmp	QWORD PTR 40[rbx], 0
	mov	DWORD PTR 8[rdx], eax
	mov	DWORD PTR 12[rdx], esi
	mov	DWORD PTR 60[rdx], edi
	mov	eax, DWORD PTR 48[rbx]
	mov	DWORD PTR 52[rdx], eax
	je	.L15
	mov	DWORD PTR 16[rdx], 1
.L15:
	cmp	QWORD PTR 32[rbx], 0
	je	.L13
	mov	DWORD PTR 20[rdx], 1
.L13:
	add	rcx, 1
	add	rbx, 64
	add	rdx, 64
	cmp	QWORD PTR 0[rbp], rcx
	jle	.L10
.L16:
	mov	eax, DWORD PTR 24[rbx]
	test	eax, eax
	jne	.L34
	cmp	DWORD PTR AS_SIGNAL_TYPE_HDMI[rip], r12d
	mov	eax, DWORD PTR [rbx]
	jne	.L12
	cmp	eax, 6
	jle	.L12
	lea	rdi, .LC3[rip]
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 16[rsp], rcx
	call	DC_LOG_SYNC@PLT
	lea	rdi, .LC4[rip]
	call	DC_LOG_SYNC@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 0[r13], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	lea	rdi, .LC2[rip]
	call	DC_LOG_SYNC@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	get_ss_info_from_atombios, .-get_ss_info_from_atombios
	.comm	GFP_KERNEL,4,4
	.comm	BP_RESULT_OK,4,4
	.comm	BP_RESULT_FAILURE,4,4
	.comm	AS_SIGNAL_TYPE_HDMI,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_dce_clock_source.c_get_ss_info_from_atombios.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid entry !!!\012\000"
	.align	2
.LC1:
	.ascii	"Invalid array pointer!!!\012\000"
	.align	2
.LC2:
	.ascii	"Invalid ATOMBIOS SS Table!!!\012\000"
	.align	2
.LC3:
	.ascii	"Invalid SS percentage \000"
	.align	2
.LC4:
	.ascii	"for HDMI in ATOMBIOS info Table!!!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_ss_info_from_atombios, %function
get_ss_info_from_atombios:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	sub	sp, sp, #12
	mov	r6, r0
	mov	r5, r1
	mov	r7, r2
	bl	DC_LOGGER_INIT
	cmp	r4, #0
	ldreq	r0, .L41
	beq	.L34
	cmp	r7, #0
	beq	.L36
	mov	r10, #0
	ldr	r0, [r6]
	mov	r1, r5
	ldr	r3, [r0]
	str	r10, [r7]
	ldr	r3, [r3]
	str	r10, [r4]
	blx	r3
	cmp	r0, r10
	str	r0, [r4]
	bne	.L37
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	ldr	r9, .L41+4
	mov	r1, #52
	ldr	r2, [r9]
	bl	kcalloc
	subs	r3, r0, #0
	str	r3, [sp]
	beq	.L1
	mov	r1, #52
	ldr	r2, [r9]
	ldr	r0, [r4]
	bl	kcalloc
	subs	r3, r0, #0
	str	r3, [sp, #4]
	beq	.L7
	ldr	r3, [r4]
	cmp	r3, r10
	ble	.L10
	ldr	fp, [sp]
	ldr	r9, .L41+8
	b	.L8
.L39:
	ldr	r1, [r4]
	add	fp, fp, #52
	cmp	r1, r10
	ble	.L38
.L8:
	ldr	r0, [r6]
	mov	r3, fp
	ldr	r2, [r0]
	mov	r1, r5
	ldr	r8, [r2, #4]
	mov	r2, r10
	blx	r8
	ldr	r3, [r9]
	add	r10, r10, #1
	cmp	r0, r3
	beq	.L39
.L9:
	ldr	r0, [sp, #4]
	bl	kfree
	mov	r3, #0
	str	r3, [r4]
.L7:
	ldr	r0, [sp]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	kfree
.L36:
	ldr	r0, .L41+12
.L34:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	DC_LOG_SYNC
.L38:
	cmp	r1, #0
	ble	.L10
	ldr	r0, [sp]
	mov	r9, #0
	mov	r2, #100
	ldr	r8, [sp, #4]
	ldr	r3, .L41+16
	add	r6, r0, #52
	b	.L16
.L12:
	ldr	ip, [r6, #-48]
	cmp	ip, #1000
	bne	.L14
	mov	ip, #100
	ldr	lr, .L41+20
	str	r2, [r6, #-48]
	smull	r10, lr, r0, lr
	asr	r0, r0, #31
	rsb	r0, r0, lr, asr #2
	str	r0, [r6, #-52]
.L14:
	ldr	lr, [r6, #-8]
	str	ip, [r8, #12]
	str	r0, [r8, #8]
	ldr	ip, [r6, #-20]
	str	lr, [r8, #48]
	ldr	r0, [r6, #-16]
	cmp	ip, #0
	str	r0, [r8, #40]
	movne	r0, #1
	strne	r0, [r8, #16]
	ldr	r0, [r6, #-24]
	cmp	r0, #0
	movne	r0, #1
	strne	r0, [r8, #20]
.L13:
	add	r9, r9, #1
	cmp	r1, r9
	add	r8, r8, #52
	add	r6, r6, #52
	ble	.L10
.L16:
	ldr	r0, [r6, #-28]
	cmp	r0, #0
	bne	.L40
	ldr	ip, [r3]
	ldr	r0, [r6, #-52]
	cmp	ip, r5
	bne	.L12
	cmp	r0, #6
	ble	.L12
	ldr	r0, .L41+24
	bl	DC_LOG_SYNC
	ldr	r0, .L41+28
	bl	DC_LOG_SYNC
	mov	r2, #100
	ldr	r1, [r4]
	ldr	r3, .L41+16
	b	.L13
.L10:
	ldr	r3, [sp, #4]
	str	r3, [r7]
	b	.L7
.L40:
	ldr	r0, .L41+32
	bl	DC_LOG_SYNC
	b	.L9
.L42:
	.align	2
.L41:
	.word	.LC0
	.word	GFP_KERNEL
	.word	BP_RESULT_OK
	.word	.LC1
	.word	AS_SIGNAL_TYPE_HDMI
	.word	1717986919
	.word	.LC3
	.word	.LC4
	.word	.LC2
	.size	get_ss_info_from_atombios, .-get_ss_info_from_atombios
	.comm	GFP_KERNEL,4,4
	.comm	BP_RESULT_OK,4,4
	.comm	BP_RESULT_FAILURE,4,4
	.comm	AS_SIGNAL_TYPE_HDMI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
