	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radeon_tv_mode_valid
_radeon_tv_mode_valid:                  ## @radeon_tv_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
	cmpl	$1024, (%rsi)                   ## imm = 0x400
	jg	LBB0_3
## %bb.1:
	cmpl	$769, 4(%rsi)                   ## imm = 0x301
	jl	LBB0_2
LBB0_3:
	movq	_MODE_CLOCK_RANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_CLOCK_RANGE,4,2           ## @MODE_CLOCK_RANGE
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_radeon_tv_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_tv_mode_valid
_radeon_tv_mode_valid:                  ; @radeon_tv_mode_valid
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _MODE_CLOCK_RANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_CLOCK_RANGE@GOTPAGEOFF]
	cmp	w9, #1024
	b.gt	LBB0_2
; %bb.1:
	ldr	w9, [x1, #4]
Lloh2:
	adrp	x10, _MODE_OK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MODE_OK@GOTPAGEOFF]
	cmp	w9, #768
	csel	x8, x8, x10, gt
LBB0_2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_CLOCK_RANGE,4,2           ; @MODE_CLOCK_RANGE
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_radeon_tv_mode_valid
.subsections_via_symbols
