	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_is_packing_required
_sii8620_is_packing_required:           ## @sii8620_is_packing_required
	.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	%rsi, %rbx
	callq	_sii8620_is_mhl3
	testq	%rax, %rax
	movq	_MHL3_MAX_PCLK@GOTPCREL(%rip), %rax
	cmoveq	_MHL1_MAX_PCLK@GOTPCREL(%rip), %rax
	movq	_MHL3_MAX_PCLK_PP_MODE@GOTPCREL(%rip), %rcx
	cmoveq	_MHL1_MAX_PCLK_PP_MODE@GOTPCREL(%rip), %rcx
	movl	(%rbx), %edx
	xorl	%esi, %esi
	cmpl	(%rcx), %edx
	setl	%sil
	xorl	%ecx, %ecx
	cmpl	(%rax), %edx
	leal	-1(%rsi,%rsi), %eax
	cmovll	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MHL3_MAX_PCLK,4,2              ## @MHL3_MAX_PCLK
	.comm	_MHL3_MAX_PCLK_PP_MODE,4,2      ## @MHL3_MAX_PCLK_PP_MODE
	.comm	_MHL1_MAX_PCLK,4,2              ## @MHL1_MAX_PCLK
	.comm	_MHL1_MAX_PCLK_PP_MODE,4,2      ## @MHL1_MAX_PCLK_PP_MODE
	.no_dead_strip	_sii8620_is_packing_required
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_is_packing_required
_sii8620_is_packing_required:           ; @sii8620_is_packing_required
	.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	_sii8620_is_mhl3
Lloh0:
	adrp	x8, _MHL1_MAX_PCLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MHL1_MAX_PCLK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MHL3_MAX_PCLK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MHL3_MAX_PCLK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldr	w9, [x19]
Lloh4:
	adrp	x10, _MHL1_MAX_PCLK_PP_MODE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _MHL1_MAX_PCLK_PP_MODE@GOTPAGEOFF]
Lloh6:
	adrp	x11, _MHL3_MAX_PCLK_PP_MODE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _MHL3_MAX_PCLK_PP_MODE@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	cmp	w9, w10
	mov	w10, #1
	cneg	w10, w10, ge
	cmp	w9, w8
	csel	w0, wzr, w10, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MHL3_MAX_PCLK,4,2              ; @MHL3_MAX_PCLK
	.comm	_MHL3_MAX_PCLK_PP_MODE,4,2      ; @MHL3_MAX_PCLK_PP_MODE
	.comm	_MHL1_MAX_PCLK,4,2              ; @MHL1_MAX_PCLK
	.comm	_MHL1_MAX_PCLK_PP_MODE,4,2      ; @MHL1_MAX_PCLK_PP_MODE
	.no_dead_strip	_sii8620_is_packing_required
.subsections_via_symbols
