	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_mt_read_devcap_recv
_sii8620_mt_read_devcap_recv:           ## @sii8620_mt_read_devcap_recv
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP@GOTPCREL(%rip), %rax
	movq	_BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	_BIT_EDID_CTRL_EDID_MODE_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	(%rsi), %rax
	movq	(%rax), %rcx
	movq	_MHL_READ_XDEVCAP@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	cmpq	(%r15), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_BIT_EDID_CTRL_XDEVCAP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%eax, %r8d
	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	_REG_EDID_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_REG_EDID_FIFO_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	callq	_sii8620_write_seq
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sii8620_mr_xdevcap             ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sii8620_mr_devcap              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP,4,2 ## @BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP
	.comm	_BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO,4,2 ## @BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO
	.comm	_BIT_EDID_CTRL_EDID_MODE_EN,4,2 ## @BIT_EDID_CTRL_EDID_MODE_EN
	.comm	_MHL_READ_XDEVCAP,8,3           ## @MHL_READ_XDEVCAP
	.comm	_BIT_EDID_CTRL_XDEVCAP_EN,4,2   ## @BIT_EDID_CTRL_XDEVCAP_EN
	.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
	.comm	_REG_EDID_CTRL,4,2              ## @REG_EDID_CTRL
	.comm	_REG_EDID_FIFO_ADDR,4,2         ## @REG_EDID_FIFO_ADDR
	.no_dead_strip	_sii8620_mt_read_devcap_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_mt_read_devcap_recv
_sii8620_mt_read_devcap_recv:           ; @sii8620_mt_read_devcap_recv
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _BIT_EDID_CTRL_EDID_MODE_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BIT_EDID_CTRL_EDID_MODE_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x1]
	ldr	x9, [x9]
Lloh9:
	adrp	x21, _MHL_READ_XDEVCAP@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MHL_READ_XDEVCAP@GOTPAGEOFF]
	ldr	x10, [x21]
Lloh11:
	adrp	x11, _BIT_EDID_CTRL_XDEVCAP_EN@GOTPAGE
Lloh12:
	ldr	x11, [x11, _BIT_EDID_CTRL_XDEVCAP_EN@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w4, w8, w9
Lloh14:
	adrp	x8, _REG_INTR9_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_INTR9_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _BIT_INTR9_DEVCAP_DONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BIT_INTR9_DEVCAP_DONE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _BIT_INTR9_EDID_DONE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BIT_INTR9_EDID_DONE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _BIT_INTR9_EDID_ERROR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _BIT_INTR9_EDID_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh26:
	adrp	x8, _REG_EDID_CTRL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _REG_EDID_CTRL@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
Lloh29:
	adrp	x8, _REG_EDID_FIFO_ADDR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _REG_EDID_FIFO_ADDR@GOTPAGEOFF]
Lloh31:
	ldr	w5, [x8]
	mov	w6, #0
	bl	_sii8620_write_seq
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x21]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	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	_sii8620_mr_xdevcap
LBB0_2:
	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	_sii8620_mr_devcap
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP,4,2 ; @BIT_EDID_CTRL_DEVCAP_SELECT_DEVCAP
	.comm	_BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO,4,2 ; @BIT_EDID_CTRL_EDID_FIFO_ADDR_AUTO
	.comm	_BIT_EDID_CTRL_EDID_MODE_EN,4,2 ; @BIT_EDID_CTRL_EDID_MODE_EN
	.comm	_MHL_READ_XDEVCAP,8,3           ; @MHL_READ_XDEVCAP
	.comm	_BIT_EDID_CTRL_XDEVCAP_EN,4,2   ; @BIT_EDID_CTRL_XDEVCAP_EN
	.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
	.comm	_REG_EDID_CTRL,4,2              ; @REG_EDID_CTRL
	.comm	_REG_EDID_FIFO_ADDR,4,2         ; @REG_EDID_FIFO_ADDR
	.no_dead_strip	_sii8620_mt_read_devcap_recv
.subsections_via_symbols
