	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_irq_tdm
_sii8620_irq_tdm:                       ## @sii8620_irq_tdm
	.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	%rdi, %rbx
	movq	_REG_TRXINTH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_sii8620_readb
	movl	%eax, %r14d
	movq	_REG_TRXSTA2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sii8620_readb
	movq	_MSK_TDM_SYNCHRONIZED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_VAL_TDM_SYNCHRONIZED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_CM_ECBUS_S@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	_SII8620_BURST_BUF_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sii8620_burst_tx_rbuf_info
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sii8620_mt_read_devcap
	movq	_sii8620_got_xdevcap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sii8620_mt_set_cont
	jmp	LBB0_3
LBB0_2:
	movq	_REG_MHL_PLL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BIT_MHL_PLL_CTL2_CLKDETECT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%ecx, %esi
	xorl	%edx, %edx
	callq	_sii8620_write_seq_static
LBB0_3:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sii8620_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_TRXINTH,4,2                ## @REG_TRXINTH
	.comm	_REG_TRXSTA2,4,2                ## @REG_TRXSTA2
	.comm	_MSK_TDM_SYNCHRONIZED,4,2       ## @MSK_TDM_SYNCHRONIZED
	.comm	_VAL_TDM_SYNCHRONIZED,4,2       ## @VAL_TDM_SYNCHRONIZED
	.comm	_CM_ECBUS_S,4,2                 ## @CM_ECBUS_S
	.comm	_SII8620_BURST_BUF_LEN,4,2      ## @SII8620_BURST_BUF_LEN
	.comm	_sii8620_got_xdevcap,4,2        ## @sii8620_got_xdevcap
	.comm	_REG_MHL_PLL_CTL2,4,2           ## @REG_MHL_PLL_CTL2
	.comm	_BIT_MHL_PLL_CTL2_CLKDETECT_EN,4,2 ## @BIT_MHL_PLL_CTL2_CLKDETECT_EN
	.no_dead_strip	_sii8620_irq_tdm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_irq_tdm
_sii8620_irq_tdm:                       ; @sii8620_irq_tdm
	.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	x19, x0
Lloh0:
	adrp	x21, _REG_TRXINTH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_TRXINTH@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_sii8620_readb
	mov	x20, x0
Lloh2:
	adrp	x8, _REG_TRXSTA2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_TRXSTA2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sii8620_readb
Lloh5:
	adrp	x8, _MSK_TDM_SYNCHRONIZED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSK_TDM_SYNCHRONIZED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh8:
	adrp	x9, _VAL_TDM_SYNCHRONIZED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VAL_TDM_SYNCHRONIZED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _CM_ECBUS_S@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CM_ECBUS_S@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
Lloh14:
	adrp	x8, _SII8620_BURST_BUF_LEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SII8620_BURST_BUF_LEN@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x19]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sii8620_burst_tx_rbuf_info
	mov	x0, x19
	mov	w1, #1
	bl	_sii8620_mt_read_devcap
Lloh16:
	adrp	x8, _sii8620_got_xdevcap@GOTPAGE
Lloh17:
	ldr	x8, [x8, _sii8620_got_xdevcap@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sii8620_mt_set_cont
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _REG_MHL_PLL_CTL2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_MHL_PLL_CTL2@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _BIT_MHL_PLL_CTL2_CLKDETECT_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BIT_MHL_PLL_CTL2_CLKDETECT_EN@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x1
	bl	_sii8620_write_seq_static
LBB0_3:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	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_write
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_TRXINTH,4,2                ; @REG_TRXINTH
	.comm	_REG_TRXSTA2,4,2                ; @REG_TRXSTA2
	.comm	_MSK_TDM_SYNCHRONIZED,4,2       ; @MSK_TDM_SYNCHRONIZED
	.comm	_VAL_TDM_SYNCHRONIZED,4,2       ; @VAL_TDM_SYNCHRONIZED
	.comm	_CM_ECBUS_S,4,2                 ; @CM_ECBUS_S
	.comm	_SII8620_BURST_BUF_LEN,4,2      ; @SII8620_BURST_BUF_LEN
	.comm	_sii8620_got_xdevcap,4,2        ; @sii8620_got_xdevcap
	.comm	_REG_MHL_PLL_CTL2,4,2           ; @REG_MHL_PLL_CTL2
	.comm	_BIT_MHL_PLL_CTL2_CLKDETECT_EN,4,2 ; @BIT_MHL_PLL_CTL2_CLKDETECT_EN
	.no_dead_strip	_sii8620_irq_tdm
.subsections_via_symbols
