	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_irq_coc
_sii8620_irq_coc:                       ## @sii8620_irq_coc
	.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_COC_INTR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_sii8620_readb
	movl	%eax, %r14d
	movq	_BIT_COC_CALIBRATION_DONE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_REG_COC_STAT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sii8620_readb
	movq	_BIT_COC_STAT_0_PLL_LOCKED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MSK_COC_STAT_0_FSM_STATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	andl	%eax, %edx
	orl	$2, %ecx
	cmpl	%ecx, %edx
	jne	LBB0_3
## %bb.2:
	movq	_REG_COC_CTLB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_TRXINTMH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BIT_TDM_INTR_SYNC_DATA@GOTPCREL(%rip), %rax
	movq	_BIT_TDM_INTR_SYNC_WAIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%rbx, %rdi
	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_COC_INTR,4,2               ## @REG_COC_INTR
	.comm	_BIT_COC_CALIBRATION_DONE,4,2   ## @BIT_COC_CALIBRATION_DONE
	.comm	_REG_COC_STAT_0,4,2             ## @REG_COC_STAT_0
	.comm	_BIT_COC_STAT_0_PLL_LOCKED,4,2  ## @BIT_COC_STAT_0_PLL_LOCKED
	.comm	_MSK_COC_STAT_0_FSM_STATE,4,2   ## @MSK_COC_STAT_0_FSM_STATE
	.comm	_REG_COC_CTLB,4,2               ## @REG_COC_CTLB
	.comm	_REG_TRXINTMH,4,2               ## @REG_TRXINTMH
	.comm	_BIT_TDM_INTR_SYNC_DATA,4,2     ## @BIT_TDM_INTR_SYNC_DATA
	.comm	_BIT_TDM_INTR_SYNC_WAIT,4,2     ## @BIT_TDM_INTR_SYNC_WAIT
	.no_dead_strip	_sii8620_irq_coc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_irq_coc
_sii8620_irq_coc:                       ; @sii8620_irq_coc
	.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_COC_INTR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_COC_INTR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_sii8620_readb
	mov	x20, x0
Lloh2:
	adrp	x8, _BIT_COC_CALIBRATION_DONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BIT_COC_CALIBRATION_DONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _REG_COC_STAT_0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_COC_STAT_0@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sii8620_readb
Lloh8:
	adrp	x8, _BIT_COC_STAT_0_PLL_LOCKED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BIT_COC_STAT_0_PLL_LOCKED@GOTPAGEOFF]
Lloh10:
	adrp	x9, _MSK_COC_STAT_0_FSM_STATE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MSK_COC_STAT_0_FSM_STATE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	orr	w9, w9, w8
	and	w9, w9, w0
	orr	w8, w8, #0x2
	cmp	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh14:
	adrp	x8, _REG_COC_CTLB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_COC_CTLB@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _REG_TRXINTMH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_TRXINTMH@GOTPAGEOFF]
Lloh19:
	adrp	x9, _BIT_TDM_INTR_SYNC_DATA@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BIT_TDM_INTR_SYNC_DATA@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	ldr	w8, [x9]
Lloh23:
	adrp	x9, _BIT_TDM_INTR_SYNC_WAIT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _BIT_TDM_INTR_SYNC_WAIT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	mov	w2, #0
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_COC_INTR,4,2               ; @REG_COC_INTR
	.comm	_BIT_COC_CALIBRATION_DONE,4,2   ; @BIT_COC_CALIBRATION_DONE
	.comm	_REG_COC_STAT_0,4,2             ; @REG_COC_STAT_0
	.comm	_BIT_COC_STAT_0_PLL_LOCKED,4,2  ; @BIT_COC_STAT_0_PLL_LOCKED
	.comm	_MSK_COC_STAT_0_FSM_STATE,4,2   ; @MSK_COC_STAT_0_FSM_STATE
	.comm	_REG_COC_CTLB,4,2               ; @REG_COC_CTLB
	.comm	_REG_TRXINTMH,4,2               ; @REG_TRXINTMH
	.comm	_BIT_TDM_INTR_SYNC_DATA,4,2     ; @BIT_TDM_INTR_SYNC_DATA
	.comm	_BIT_TDM_INTR_SYNC_WAIT,4,2     ; @BIT_TDM_INTR_SYNC_WAIT
	.no_dead_strip	_sii8620_irq_coc
.subsections_via_symbols
