	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_mt_read_devcap_reg
_sii8620_mt_read_devcap_reg:            ## @sii8620_mt_read_devcap_reg
	.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	%esi, %ebx
	callq	_sii8620_mt_msg_new
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testb	$-128, %bl
	jne	LBB0_2
## %bb.3:
	movq	_MHL_READ_DEVCAP_REG@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_MHL_READ_XDEVCAP_REG@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movq	(%rax), %rdx
	movl	%ecx, (%rdx)
	movl	%ebx, 4(%rdx)
	movq	_sii8620_mt_msc_cmd_send@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_sii8620_mt_read_devcap_reg_recv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MHL_READ_XDEVCAP_REG,4,2       ## @MHL_READ_XDEVCAP_REG
	.comm	_MHL_READ_DEVCAP_REG,4,2        ## @MHL_READ_DEVCAP_REG
	.comm	_sii8620_mt_msc_cmd_send,4,2    ## @sii8620_mt_msc_cmd_send
	.comm	_sii8620_mt_read_devcap_reg_recv,4,2 ## @sii8620_mt_read_devcap_reg_recv
	.no_dead_strip	_sii8620_mt_read_devcap_reg
.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_reg
_sii8620_mt_read_devcap_reg:            ; @sii8620_mt_read_devcap_reg
	.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_mt_msg_new
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MHL_READ_XDEVCAP_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MHL_READ_XDEVCAP_REG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MHL_READ_DEVCAP_REG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MHL_READ_DEVCAP_REG@GOTPAGEOFF]
	tst	w19, #0x80
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	ldr	x9, [x0]
	stp	w8, w19, [x9]
Lloh4:
	adrp	x8, _sii8620_mt_msc_cmd_send@GOTPAGE
Lloh5:
	ldr	x8, [x8, _sii8620_mt_msc_cmd_send@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _sii8620_mt_read_devcap_reg_recv@GOTPAGE
Lloh8:
	ldr	x9, [x9, _sii8620_mt_read_devcap_reg_recv@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MHL_READ_XDEVCAP_REG,4,2       ; @MHL_READ_XDEVCAP_REG
	.comm	_MHL_READ_DEVCAP_REG,4,2        ; @MHL_READ_DEVCAP_REG
	.comm	_sii8620_mt_msc_cmd_send,4,2    ; @sii8620_mt_msc_cmd_send
	.comm	_sii8620_mt_read_devcap_reg_recv,4,2 ; @sii8620_mt_read_devcap_reg_recv
	.no_dead_strip	_sii8620_mt_read_devcap_reg
.subsections_via_symbols
