	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_tv_dac_info ## -- Begin function radeon_atombios_get_tv_dac_info
	.p2align	4, 0x90
_radeon_atombios_get_tv_dac_info:       ## @radeon_atombios_get_tv_dac_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CompassionateData@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	(%r14), %rdi
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-40(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movq	(%rax), %r15
	movq	-40(%rbp), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movl	(%r12,%r15), %eax
	movl	4(%r12,%r15), %ecx
	shll	$16, %eax
	shll	$20, %ecx
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	8(%r12,%r15), %eax
	movl	12(%r12,%r15), %ecx
	shll	$16, %eax
	shll	$20, %ecx
	orl	%eax, %ecx
	movl	%ecx, 4(%rbx)
	movl	16(%r12,%r15), %eax
	movl	20(%r12,%r15), %ecx
	shll	$16, %eax
	shll	$20, %ecx
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	movq	%r14, %rdi
	callq	_radeon_atombios_get_tv_info
	movl	%eax, 12(%rbx)
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_CompassionateData,4,2          ## @CompassionateData
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function radeon_atombios_get_tv_dac_info
lCPI0_0:
	.long	20                              ; 0x14
	.long	16                              ; 0x10
lCPI0_1:
	.long	16                              ; 0x10
	.long	20                              ; 0x14
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_radeon_atombios_get_tv_dac_info
	.p2align	2
_radeon_atombios_get_tv_dac_info:       ; @radeon_atombios_get_tv_dac_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CompassionateData@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CompassionateData@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	ldr	x0, [x19]
	add	x3, sp, #4
	mov	x4, sp
	add	x5, sp, #8
	mov	x2, #0
	bl	_atom_parse_data_header
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x21, [x8]
	ldr	x22, [sp, #8]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
	add	x8, x22, x21
	add	x9, x8, #12
	ldur	d0, [x8, #4]
Lloh9:
	adrp	x10, lCPI0_0@PAGE
Lloh10:
	ldr	d1, [x10, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	ldr	s1, [x8]
	ld1.s	{ v1 }[1], [x9]
Lloh11:
	adrp	x9, lCPI0_1@PAGE
Lloh12:
	ldr	d2, [x9, lCPI0_1@PAGEOFF]
	ushl.2s	v1, v1, v2
	orr.8b	v0, v1, v0
	str	d0, [x20]
	ldp	w9, w8, [x8, #16]
	lsl	w8, w8, #20
	orr	w8, w8, w9, lsl #16
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_radeon_atombios_get_tv_info
	str	w0, [x20, #12]
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_CompassionateData,4,2          ; @CompassionateData
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
