	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_tmds_info  ## -- Begin function radeon_atombios_get_tmds_info
	.p2align	4, 0x90
_radeon_atombios_get_tmds_info:         ## @radeon_atombios_get_tmds_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TMDS_Info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	(%rbx), %rdi
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-44(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movslq	(%rax), %r13
	movslq	-44(%rbp), %rbx
	movl	8(%rbx,%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx), %rax
	movl	16(%rax,%r15), %edi
	callq	_le16_to_cpu
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%r14,8)
	movq	(%r13,%rbx), %rdx
	movl	(%rdx,%r15), %esi
	movl	4(%rdx,%r15), %edi
	andl	$63, %esi
	andl	$63, %edi
	shll	$6, %edi
	orl	%esi, %edi
	movl	8(%rdx,%r15), %esi
	shll	$12, %esi
	movzwl	%si, %esi
	orl	%edi, %esi
	movl	12(%rdx,%r15), %edx
	andl	$15, %edx
	shll	$16, %edx
	orl	%esi, %edx
	movl	%edx, 4(%rcx,%r14,8)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_DEBUG_KMS
	movq	(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ecx, (%rax,%r14,8)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	addq	$20, %r15
	cmpq	$4, %r14
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	$-1, (%rax,%r14,8)
LBB0_5:
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_TMDS_Info,4,2                  ## @TMDS_Info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TMDS PLL From ATOMBIOS %u %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_tmds_info  ; -- Begin function radeon_atombios_get_tmds_info
	.p2align	2
_radeon_atombios_get_tmds_info:         ; @radeon_atombios_get_tmds_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _TMDS_Info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TMDS_Info@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	ldr	x0, [x20]
	add	x3, sp, #8
	add	x4, sp, #4
	add	x5, sp, #12
	mov	x2, #0
	bl	_atom_parse_data_header
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	ldrsw	x22, [x8]
	ldrsw	x23, [sp, #12]
	add	x8, x23, x22
	ldr	w0, [x8, #8]
	bl	_le16_to_cpu
	mov	x20, x0
	mov	x24, #0
	mov	x25, #0
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, x23]
	add	x8, x8, x25
	ldr	w0, [x8, #16]
	bl	_le16_to_cpu
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x9, [x22, x23]
	add	x8, x8, x24
	add	x9, x9, x25
	ldp	w10, w11, [x9]
	and	w2, w10, #0x3f
	bfi	w2, w11, #6, #6
	ldp	w10, w9, [x9, #8]
	bfi	w2, w10, #12, #4
	bfi	w2, w9, #16, #4
	stp	w1, w2, [x8]
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_DRM_DEBUG_KMS
	ldr	x8, [x19]
	ldr	w9, [x8, x24]
	cmp	w9, w20
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #20
	add	x24, x24, #8
	cmp	x25, #80
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w9, #-1
	str	w9, [x8, x24]
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_TMDS_Info,4,2                  ; @TMDS_Info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TMDS PLL From ATOMBIOS %u %x\n"

.subsections_via_symbols
