	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdp4_lvds_connector_mode_valid
_mdp4_lvds_connector_mode_valid:        ## @mdp4_lvds_connector_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_to_mdp4_lvds_connector
	movq	(%rax), %rdi
	movslq	(%rbx), %rax
	imulq	$1000, %rax, %rbx               ## imm = 0x3E8
	movq	%rbx, %rsi
	callq	_mdp4_lcdc_round_pixclk
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_DBG
	cmpq	%rbx, %r14
	jne	LBB0_1
## %bb.2:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MODE_CLOCK_RANGE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requested=%ld, actual=%ld"

	.comm	_MODE_CLOCK_RANGE,4,2           ## @MODE_CLOCK_RANGE
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_mdp4_lvds_connector_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdp4_lvds_connector_mode_valid
_mdp4_lvds_connector_mode_valid:        ; @mdp4_lvds_connector_mode_valid
	.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, x1
	bl	_to_mdp4_lvds_connector
	ldr	x0, [x0]
	ldrsw	x8, [x19]
	mov	w9, #1000
	mul	x19, x8, x9
	mov	x1, x19
	bl	_mdp4_lcdc_round_pixclk
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_DBG
Lloh2:
	adrp	x8, _MODE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MODE_OK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _MODE_CLOCK_RANGE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MODE_CLOCK_RANGE@GOTPAGEOFF]
	cmp	x20, x19
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requested=%ld, actual=%ld"

	.comm	_MODE_CLOCK_RANGE,4,2           ; @MODE_CLOCK_RANGE
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_mdp4_lvds_connector_mode_valid
.subsections_via_symbols
