	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_hdmi_set_mode
_sti_hdmi_set_mode:                     ## @sti_hdmi_set_mode
	.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	%rsi, %r14
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%rbx), %edi
	imull	$1000, (%r14), %esi             ## imm = 0x3E8
	callq	_clk_set_rate
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	imull	$1000, (%r14), %esi             ## imm = 0x3E8
	callq	_clk_set_rate
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	imull	$1000, (%r14), %esi             ## imm = 0x3E8
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DRM_ERROR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot set rate (%dHz) for hdmi_pix clk\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot set rate (%dHz) for hdmi_rejection_pll clk\n"

	.no_dead_strip	_sti_hdmi_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sti_hdmi_set_mode
_sti_hdmi_set_mode:                     ; @sti_hdmi_set_mode
	.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, x1
	ldr	x21, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	add	x0, x21, #8
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x21, #4]
	ldr	w8, [x19]
	mov	w20, #1000
	mul	w1, w8, w20
	bl	_clk_set_rate
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w0, [x21]
	ldr	w8, [x19]
	mul	w1, w8, w20
	bl	_clk_set_rate
	tbnz	w0, #31, LBB0_4
; %bb.2:
	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
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	ldr	w8, [x19]
	mul	w1, w8, w20
	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
	b	_DRM_ERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot set rate (%dHz) for hdmi_pix clk\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot set rate (%dHz) for hdmi_rejection_pll clk\n"

	.no_dead_strip	_sti_hdmi_set_mode
.subsections_via_symbols
