	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx6dl_hdmi_mode_valid
_imx6dl_hdmi_mode_valid:                ## @imx6dl_hdmi_mode_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %ecx
	cmpl	$216001, %ecx                   ## imm = 0x34BC1
	jl	LBB0_1
## %bb.2:
	movq	_MODE_CLOCK_HIGH@GOTPCREL(%rip), %rax
	cmpl	$13500, %ecx                    ## imm = 0x34BC
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
	cmpl	$13500, %ecx                    ## imm = 0x34BC
	jge	LBB0_5
LBB0_4:
	movq	_MODE_CLOCK_LOW@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_CLOCK_LOW,4,2             ## @MODE_CLOCK_LOW
	.comm	_MODE_CLOCK_HIGH,4,2            ## @MODE_CLOCK_HIGH
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_imx6dl_hdmi_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx6dl_hdmi_mode_valid
_imx6dl_hdmi_mode_valid:                ; @imx6dl_hdmi_mode_valid
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _MODE_CLOCK_LOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MODE_CLOCK_LOW@GOTPAGEOFF]
Lloh2:
	adrp	x10, _MODE_CLOCK_HIGH@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MODE_CLOCK_HIGH@GOTPAGEOFF]
Lloh4:
	adrp	x11, _MODE_OK@GOTPAGE
Lloh5:
	ldr	x11, [x11, _MODE_OK@GOTPAGEOFF]
	mov	w12, #19392
	movk	w12, #3, lsl #16
	cmp	w8, w12
	csel	x10, x10, x11, gt
	mov	w11, #13500
	cmp	w8, w11
	csel	x8, x9, x10, lt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_CLOCK_LOW,4,2             ; @MODE_CLOCK_LOW
	.comm	_MODE_CLOCK_HIGH,4,2            ; @MODE_CLOCK_HIGH
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_imx6dl_hdmi_mode_valid
.subsections_via_symbols
