	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv7611_read_hdmi_pixelclock
_adv7611_read_hdmi_pixelclock:          ## @adv7611_read_hdmi_pixelclock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$81, %esi
	callq	_hdmi_read
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$82, %esi
	callq	_hdmi_read
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	js	LBB0_3
## %bb.1:
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	addl	%r14d, %r14d
	movl	%eax, %ecx
	shrl	$7, %ecx
	orl	%r14d, %ecx
	imull	$1000000, %ecx, %edx            ## imm = 0xF4240
	andl	$127, %eax
	imull	$1000000, %eax, %ecx            ## imm = 0xF4240
	shrl	$7, %ecx
	addl	%edx, %ecx
LBB0_3:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adv7611_read_hdmi_pixelclock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv7611_read_hdmi_pixelclock
_adv7611_read_hdmi_pixelclock:          ; @adv7611_read_hdmi_pixelclock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w1, #81
	bl	_hdmi_read
	mov	x19, x0
	mov	x0, x20
	mov	w1, #82
	bl	_hdmi_read
	mov	x8, x0
	mov	w0, #0
	tbnz	w19, #31, LBB0_3
; %bb.1:
	tbnz	w8, #31, LBB0_3
; %bb.2:
	lsr	w9, w8, #7
	orr	w9, w9, w19, lsl #1
	mov	w10, #16960
	movk	w10, #15, lsl #16
	mul	w9, w9, w10
	and	w8, w8, #0x7f
	mul	w8, w8, w10
	add	w0, w9, w8, lsr #7
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adv7611_read_hdmi_pixelclock
.subsections_via_symbols
