	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_enable_gen2_write_burst
_sii8620_enable_gen2_write_burst:       ## @sii8620_enable_gen2_write_burst
	.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
	cmpl	$0, (%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	_BIT_MDT_RCV_CTRL_MDT_RCV_EN@GOTPCREL(%rip), %rax
	movq	8(%rdi), %rcx
	movq	_CM_MHL1@GOTPCREL(%rip), %rdx
	xorl	%r8d, %r8d
	cmpq	(%rdx), %rcx
	jl	LBB0_3
## %bb.2:
	movq	_BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_3:
	orl	(%rax), %r8d
	movq	_REG_MDT_RCV_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_MDT_RCV_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$100, %edx
	callq	_sii8620_write_seq
	movl	$1, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_MDT_RCV_CTRL_MDT_RCV_EN,4,2 ## @BIT_MDT_RCV_CTRL_MDT_RCV_EN
	.comm	_CM_MHL1,8,3                    ## @CM_MHL1
	.comm	_BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN,4,2 ## @BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN
	.comm	_REG_MDT_RCV_TIMEOUT,4,2        ## @REG_MDT_RCV_TIMEOUT
	.comm	_REG_MDT_RCV_CTRL,4,2           ## @REG_MDT_RCV_CTRL
	.no_dead_strip	_sii8620_enable_gen2_write_burst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_enable_gen2_write_burst
_sii8620_enable_gen2_write_burst:       ; @sii8620_enable_gen2_write_burst
	.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
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _BIT_MDT_RCV_CTRL_MDT_RCV_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIT_MDT_RCV_CTRL_MDT_RCV_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _CM_MHL1@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CM_MHL1@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, wzr, w11, lt
	orr	w4, w9, w8
Lloh9:
	adrp	x8, _REG_MDT_RCV_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_MDT_RCV_TIMEOUT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _REG_MDT_RCV_CTRL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_MDT_RCV_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	w2, #100
	bl	_sii8620_write_seq
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_MDT_RCV_CTRL_MDT_RCV_EN,4,2 ; @BIT_MDT_RCV_CTRL_MDT_RCV_EN
	.comm	_CM_MHL1,8,3                    ; @CM_MHL1
	.comm	_BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN,4,2 ; @BIT_MDT_RCV_CTRL_MDT_DELAY_RCV_EN
	.comm	_REG_MDT_RCV_TIMEOUT,4,2        ; @REG_MDT_RCV_TIMEOUT
	.comm	_REG_MDT_RCV_CTRL,4,2           ; @REG_MDT_RCV_CTRL
	.no_dead_strip	_sii8620_enable_gen2_write_burst
.subsections_via_symbols
