	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function i9xx_adjust_sdvo_tv_clock
LCPI0_0:
	.long	1                               ## 0x1
	.long	10                              ## 0xa
	.long	6                               ## 0x6
	.long	12                              ## 0xc
LCPI0_1:
	.long	2                               ## 0x2
	.long	10                              ## 0xa
	.long	3                               ## 0x3
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_i9xx_adjust_sdvo_tv_clock:             ## @i9xx_adjust_sdvo_tv_clock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edx
	leal	-100000(%rdx), %eax
	cmpl	$40499, %eax                    ## imm = 0x9E33
	ja	LBB0_3
## %bb.1:
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [2,10,3,16]
	jmp	LBB0_2
LBB0_3:
	leal	-140500(%rdx), %eax
	cmpl	$59500, %eax                    ## imm = 0xE86C
	ja	LBB0_5
## %bb.4:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,10,6,12]
LBB0_2:
	movups	%xmm0, 8(%rbx)
	movl	$8, 24(%rbx)
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_WARN
LBB0_6:
	movl	$1, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDVO TV clock out of range: %i\n"

	.no_dead_strip	_i9xx_adjust_sdvo_tv_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function i9xx_adjust_sdvo_tv_clock
lCPI0_0:
	.long	1                               ; 0x1
	.long	10                              ; 0xa
	.long	6                               ; 0x6
	.long	12                              ; 0xc
lCPI0_1:
	.long	2                               ; 0x2
	.long	10                              ; 0xa
	.long	3                               ; 0x3
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_i9xx_adjust_sdvo_tv_clock:             ; @i9xx_adjust_sdvo_tv_clock
	.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	x19, x0
	ldr	w2, [x0]
	sub	w8, w2, #24, lsl #12            ; =98304
	sub	w8, w8, #1696
	mov	w9, #40499
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, lCPI0_1@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_4
LBB0_2:
	sub	w8, w2, #34, lsl #12            ; =139264
	sub	w8, w8, #1236
	mov	w9, #59500
	cmp	w8, w9
	b.hi	LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
LBB0_4:
	stur	q0, [x19, #8]
	mov	w8, #8
	str	w8, [x19, #24]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDVO TV clock out of range: %i\n"

	.no_dead_strip	_i9xx_adjust_sdvo_tv_clock
.subsections_via_symbols
