	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_hdmi_pll_validate_params
_meson_hdmi_pll_validate_params:        ## @meson_hdmi_pll_validate_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_VPU_COMPATIBLE_GXBB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_meson_vpu_is_compatible
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	addl	$-53, %ebx
	xorl	%eax, %eax
	cmpl	$70, %ebx
	ja	LBB0_10
## %bb.2:
	movq	_HDMI_FRAC_MAX_GXBB@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	ja	LBB0_9
	jmp	LBB0_10
LBB0_3:
	movq	_VPU_COMPATIBLE_GXM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_meson_vpu_is_compatible
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_VPU_COMPATIBLE_GXL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_meson_vpu_is_compatible
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_VPU_COMPATIBLE_G12A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_meson_vpu_is_compatible
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	addl	$-106, %ebx
	xorl	%eax, %eax
	cmpl	$141, %ebx
	ja	LBB0_10
## %bb.7:
	movq	_HDMI_FRAC_MAX_GXL@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jbe	LBB0_10
LBB0_9:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPU_COMPATIBLE_GXBB,4,2        ## @VPU_COMPATIBLE_GXBB
	.comm	_HDMI_FRAC_MAX_GXBB,4,2         ## @HDMI_FRAC_MAX_GXBB
	.comm	_VPU_COMPATIBLE_GXM,4,2         ## @VPU_COMPATIBLE_GXM
	.comm	_VPU_COMPATIBLE_GXL,4,2         ## @VPU_COMPATIBLE_GXL
	.comm	_VPU_COMPATIBLE_G12A,4,2        ## @VPU_COMPATIBLE_G12A
	.comm	_HDMI_FRAC_MAX_GXL,4,2          ## @HDMI_FRAC_MAX_GXL
	.no_dead_strip	_meson_hdmi_pll_validate_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_hdmi_pll_validate_params
_meson_hdmi_pll_validate_params:        ; @meson_hdmi_pll_validate_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _VPU_COMPATIBLE_GXBB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPU_COMPATIBLE_GXBB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_meson_vpu_is_compatible
	cbz	x0, LBB0_3
; %bb.1:
	mov	w0, #0
	sub	w8, w20, #53
	cmp	w8, #70
	b.hi	LBB0_10
; %bb.2:
Lloh3:
	adrp	x8, _HDMI_FRAC_MAX_GXBB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_FRAC_MAX_GXBB@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh5:
	adrp	x8, _VPU_COMPATIBLE_GXM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VPU_COMPATIBLE_GXM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_meson_vpu_is_compatible
	cbnz	x0, LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _VPU_COMPATIBLE_GXL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VPU_COMPATIBLE_GXL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_meson_vpu_is_compatible
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _VPU_COMPATIBLE_G12A@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VPU_COMPATIBLE_G12A@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_meson_vpu_is_compatible
	cbz	x0, LBB0_9
LBB0_6:
	mov	w0, #0
	sub	w8, w20, #106
	cmp	w8, #141
	b.hi	LBB0_10
; %bb.7:
Lloh14:
	adrp	x8, _HDMI_FRAC_MAX_GXL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HDMI_FRAC_MAX_GXL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ls	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_VPU_COMPATIBLE_GXBB,4,2        ; @VPU_COMPATIBLE_GXBB
	.comm	_HDMI_FRAC_MAX_GXBB,4,2         ; @HDMI_FRAC_MAX_GXBB
	.comm	_VPU_COMPATIBLE_GXM,4,2         ; @VPU_COMPATIBLE_GXM
	.comm	_VPU_COMPATIBLE_GXL,4,2         ; @VPU_COMPATIBLE_GXL
	.comm	_VPU_COMPATIBLE_G12A,4,2        ; @VPU_COMPATIBLE_G12A
	.comm	_HDMI_FRAC_MAX_GXL,4,2          ; @HDMI_FRAC_MAX_GXL
	.no_dead_strip	_meson_hdmi_pll_validate_params
.subsections_via_symbols
