	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10hdmi_get_tcon_config
_a10hdmi_get_tcon_config:               ## @a10hdmi_get_tcon_config
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %edi
	leaq	-36(%rbp), %rsi
	callq	_clk_get_parent
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movl	(%r12), %edi
	leaq	-40(%rbp), %rsi
	callq	_clk_get_freq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	-36(%rbp), %edi
	leaq	-44(%rbp), %rsi
	callq	_clk_get_freq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	-44(%rbp), %eax
	cltd
	idivl	-40(%rbp)
	movl	%eax, (%r15)
	movl	-36(%rbp), %edi
	callq	_clk_get_name
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	xorl	%ebx, %ebx
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_5:
	movl	%ecx, (%r14)
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pll3"

L_.str.1:                               ## @.str.1
	.asciz	"pll7"

	.no_dead_strip	_a10hdmi_get_tcon_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10hdmi_get_tcon_config
_a10hdmi_get_tcon_config:               ; @a10hdmi_get_tcon_config
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	add	x1, sp, #4
	bl	_clk_get_parent
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w0, [x21]
	add	x1, sp, #8
	bl	_clk_get_freq
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w0, [sp, #4]
	add	x1, sp, #12
	bl	_clk_get_freq
	cbnz	w0, LBB0_7
; %bb.3:
	ldp	w9, w8, [sp, #8]
	sdiv	w8, w8, w9
	str	w8, [x20]
	ldr	w0, [sp, #4]
	bl	_clk_get_name
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cmp	x0, #0
	cset	w8, ne
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	mov	w0, #0
	str	w8, [x19]
LBB0_7:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pll3"

l_.str.1:                               ; @.str.1
	.asciz	"pll7"

	.no_dead_strip	_a10hdmi_get_tcon_config
.subsections_via_symbols
