	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_status_dcap_ready
_sii8620_status_dcap_ready:             ## @sii8620_status_dcap_ready
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_MHL_DST_VERSION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$48, (%rax,%rcx,4)
	jl	LBB0_1
## %bb.2:
	movq	_CM_MHL3@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CM_MHL1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	cmpl	8(%rbx), %esi
	jbe	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_sii8620_set_mode
LBB0_5:
	movq	%rbx, %rdi
	callq	_sii8620_peer_specific_init
	movq	_REG_INTR9_MASK@GOTPCREL(%rip), %rax
	movq	_BIT_INTR9_DEVCAP_DONE@GOTPCREL(%rip), %rcx
	movq	_BIT_INTR9_EDID_DONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_BIT_INTR9_EDID_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sii8620_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MHL_DST_VERSION,8,3            ## @MHL_DST_VERSION
	.comm	_CM_MHL3,4,2                    ## @CM_MHL3
	.comm	_CM_MHL1,4,2                    ## @CM_MHL1
	.comm	_REG_INTR9_MASK,4,2             ## @REG_INTR9_MASK
	.comm	_BIT_INTR9_DEVCAP_DONE,4,2      ## @BIT_INTR9_DEVCAP_DONE
	.comm	_BIT_INTR9_EDID_DONE,4,2        ## @BIT_INTR9_EDID_DONE
	.comm	_BIT_INTR9_EDID_ERROR,4,2       ## @BIT_INTR9_EDID_ERROR
	.no_dead_strip	_sii8620_status_dcap_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_status_dcap_ready
_sii8620_status_dcap_ready:             ; @sii8620_status_dcap_ready
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MHL_DST_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MHL_DST_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh3:
	adrp	x9, _CM_MHL3@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CM_MHL3@GOTPAGEOFF]
Lloh5:
	adrp	x10, _CM_MHL1@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CM_MHL1@GOTPAGEOFF]
	cmp	w8, #47
	csel	x8, x9, x10, gt
	ldr	w1, [x8]
	ldr	w8, [x0, #8]
	cmp	w1, w8
	b.ls	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_sii8620_set_mode
LBB0_2:
	mov	x0, x19
	bl	_sii8620_peer_specific_init
Lloh7:
	adrp	x8, _REG_INTR9_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REG_INTR9_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _BIT_INTR9_DEVCAP_DONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BIT_INTR9_DEVCAP_DONE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _BIT_INTR9_EDID_DONE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BIT_INTR9_EDID_DONE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _BIT_INTR9_EDID_ERROR@GOTPAGE
Lloh17:
	ldr	x10, [x10, _BIT_INTR9_EDID_ERROR@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh18:
	ldr	w9, [x10]
	orr	w2, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sii8620_write
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MHL_DST_VERSION,8,3            ; @MHL_DST_VERSION
	.comm	_CM_MHL3,4,2                    ; @CM_MHL3
	.comm	_CM_MHL1,4,2                    ; @CM_MHL1
	.comm	_REG_INTR9_MASK,4,2             ; @REG_INTR9_MASK
	.comm	_BIT_INTR9_DEVCAP_DONE,4,2      ; @BIT_INTR9_DEVCAP_DONE
	.comm	_BIT_INTR9_EDID_DONE,4,2        ; @BIT_INTR9_EDID_DONE
	.comm	_BIT_INTR9_EDID_ERROR,4,2       ; @BIT_INTR9_EDID_ERROR
	.no_dead_strip	_sii8620_status_dcap_ready
.subsections_via_symbols
