	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp_active_dongle_validate_timing
_dp_active_dongle_validate_timing:      ## @dp_active_dongle_validate_timing
	.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
	movl	$-132, %eax
	addl	(%rsi), %eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cmpl	$131, (%rdi)
	sete	%al
	jmp	LBB0_20
LBB0_2:
	movq	%rsi, %rbx
	movq	8(%rsi), %rcx
	movq	_DISPLAY_DONGLE_DP_HDMI_CONVERTER@GOTPCREL(%rip), %rdx
	movb	$1, %al
	cmpq	(%rdx), %rcx
	jne	LBB0_20
## %bb.3:
	cmpl	$0, 16(%rbx)
	je	LBB0_20
## %bb.4:
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_19
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	cmpl	$0, 32(%rbx)
	jne	LBB0_10
	jmp	LBB0_19
LBB0_9:
	cmpl	$0, 28(%rbx)
	je	LBB0_19
LBB0_10:
	movl	4(%rdi), %eax
	leal	-135(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_17
## %bb.11:
	cmpl	$139, %eax
	je	LBB0_15
## %bb.12:
	cmpl	$140, %eax
	jne	LBB0_19
## %bb.13:
	cmpl	$10, 20(%rbx)
	jl	LBB0_19
LBB0_17:
	callq	_get_timing_pixel_clock_100hz
	movl	24(%rbx), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	cmpl	%ecx, %eax
	setle	%al
	jmp	LBB0_20
LBB0_15:
	cmpl	$12, 20(%rbx)
	jge	LBB0_17
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_DISPLAY_DONGLE_DP_HDMI_CONVERTER,8,3 ## @DISPLAY_DONGLE_DP_HDMI_CONVERTER
	.no_dead_strip	_dp_active_dongle_validate_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp_active_dongle_validate_timing
_dp_active_dongle_validate_timing:      ; @dp_active_dongle_validate_timing
	.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
	ldr	w8, [x1]
	sub	w8, w8, #132
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #131
	cset	w0, eq
	b	LBB0_16
LBB0_2:
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _DISPLAY_DONGLE_DP_HDMI_CONVERTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DISPLAY_DONGLE_DP_HDMI_CONVERTER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_15
; %bb.5:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_9
	b	LBB0_15
LBB0_7:
	mov	w0, #1
	b	LBB0_16
LBB0_8:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_15
LBB0_9:
	ldr	w8, [x0, #4]
	sub	w9, w8, #135
	cmp	w9, #2
	b.lo	LBB0_13
; %bb.10:
	cmp	w8, #139
	b.eq	LBB0_14
; %bb.11:
	cmp	w8, #140
	b.ne	LBB0_15
; %bb.12:
	ldr	w8, [x19, #20]
	cmp	w8, #10
	b.lt	LBB0_15
LBB0_13:
	bl	_get_timing_pixel_clock_100hz
	ldr	w8, [x19, #24]
	add	w8, w8, w8, lsl #2
	cmp	w0, w8, lsl #1
	cset	w0, le
	b	LBB0_16
LBB0_14:
	ldr	w8, [x19, #20]
	cmp	w8, #12
	b.ge	LBB0_13
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
                                        ; -- End function
	.comm	_DISPLAY_DONGLE_DP_HDMI_CONVERTER,8,3 ; @DISPLAY_DONGLE_DP_HDMI_CONVERTER
	.no_dead_strip	_dp_active_dongle_validate_timing
.subsections_via_symbols
