	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_port_clock_limit
_hdmi_port_clock_limit:                 ## @hdmi_port_clock_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_hdmi_to_dig_port
	movq	%rax, %rdi
	callq	_intel_hdmi_source_max_tmds_clock
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	movq	8(%r15), %rbx
	movl	4(%r15), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movl	%eax, %edi
	callq	_min
LBB0_3:
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_4
LBB0_7:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_min                            ## TAILCALL
LBB0_4:
	movl	$165000, %esi                   ## imm = 0x28488
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.5:
	cmpl	$0, (%r15)
	je	LBB0_7
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hdmi_port_clock_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_port_clock_limit
_hdmi_port_clock_limit:                 ; @hdmi_port_clock_limit
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_hdmi_to_dig_port
	bl	_intel_hdmi_source_max_tmds_clock
	cbz	w21, LBB0_7
; %bb.1:
	ldr	x21, [x19, #8]
	ldr	w1, [x19, #4]
	cbz	w1, LBB0_3
; %bb.2:
	bl	_min
LBB0_3:
	ldr	w1, [x21]
	cbz	w1, LBB0_5
LBB0_4:
	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	_min
LBB0_5:
	mov	w1, #33928
	movk	w1, #2, lsl #16
	cbnz	w20, LBB0_4
; %bb.6:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hdmi_port_clock_limit
.subsections_via_symbols
