	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis630_block_data
_sis630_block_data:                     ## @sis630_block_data
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$0, -52(%rbp)
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	movq	(%rsi), %rax
	cmpl	%edx, (%rcx)
	jne	LBB0_16
## %bb.1:
	movl	(%rax), %eax
	cmpl	$32, %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$32, %ebx
	cmovll	%eax, %ebx
	xorl	%r13d, %r13d
	testl	%ebx, %ebx
	movl	$0, %r12d
	cmovgl	%ebx, %r12d
	movq	_SMB_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%r12d, %esi
	callq	_sis630_write
	testl	%ebx, %ebx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_38
## %bb.2:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r14d
	negq	%r14
	movl	$1, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SIS630_BLOCK_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	-52(%rbp), %rdx
	callq	_sis630_transaction_start
	testl	%eax, %eax
	jne	LBB0_7
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%r15), %rax
	incq	%rax
	incq	%r15
	cmpq	$1, %rax
	je	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	movl	(%rax,%r15,4), %edx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	leal	-1(%r15), %ebx
	andl	$7, %ebx
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	(%r13), %rax
	movl	(%rax,%r15,4), %esi
	callq	_sis630_write
	cmpq	$8, %r15
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%r15), %rax
	cmpl	$7, %r12d
	ja	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$7, %ebx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	jne	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpq	$9, %r15
	jb	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_STS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$16, %esi
	callq	_sis630_write
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIS630_BLOCK_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sis630_transaction_wait
	testl	%eax, %eax
	je	LBB0_14
LBB0_13:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_38
LBB0_16:
	movl	$0, (%rax)
	movq	_SIS630_BLOCK_DATA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sis630_transaction_start
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_39
## %bb.17:
	xorl	%r12d, %r12d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%ecx, %ecx
LBB0_37:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_STS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$16, %esi
	callq	_sis630_write
	movq	(%r15), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_38
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sis630_transaction_wait
	testl	%eax, %eax
	jne	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_SMB_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r15), %rax
	movl	(%rax), %edx
	cmpl	$33, %edx
	jl	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	$32, (%rax)
	movq	(%r15), %rax
	movl	(%rax), %edx
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r15), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	movslq	%r12d, %r14
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	%rbx, %rdx
	leaq	1(%r14), %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 4(%rcx,%r14,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$1, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rdx, %r14
	movq	%rdx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	incq	%rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	2(%rdx), %rbx
	movl	%eax, 8(%rcx,%rdx,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$2, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$2, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$2, %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	3(%rdx), %rbx
	movl	%eax, 12(%rcx,%rdx,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$3, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$3, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$3, %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	4(%rdx), %rbx
	movl	%eax, 16(%rcx,%rdx,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$4, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_28
## %bb.31:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	5(%rdx), %rbx
	movl	%eax, 20(%rcx,%rdx,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$5, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_28
## %bb.32:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$5, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$5, %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	6(%rdx), %rbx
	movl	%eax, 24(%rcx,%rdx,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$6, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_28
## %bb.33:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$6, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$6, %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	7(%rdx), %rbx
	movl	%eax, 28(%rcx,%rdx,4)
	movq	(%r15), %rax
	movslq	(%rax), %rax
	movl	$7, %ecx
	cmpq	%rax, %rbx
	jge	LBB0_28
## %bb.34:                              ##   in Loop: Header=BB0_18 Depth=1
	addl	$8, %r12d
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$7, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_SMB_BYTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$7, %rdi
	callq	_sis630_read
	movq	(%r15), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 32(%rcx,%rdx,4)
	movl	$8, %ecx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%ebx, %r12d
	movq	%rdx, %rbx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%ebx, %r12d
LBB0_35:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rbx
LBB0_36:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_SIS630_BLOCK_DATA@GOTPCREL(%rip), %r14
	jmp	LBB0_37
LBB0_15:
	xorl	%r13d, %r13d
LBB0_38:
	movl	-52(%rbp), %esi
	movq	%rbx, %rdi
	callq	_sis630_transaction_end
LBB0_39:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %r13d
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_WRITE,4,2            ## @I2C_SMBUS_WRITE
	.comm	_SMB_COUNT,8,3                  ## @SMB_COUNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set data 0x%02x\n"

	.comm	_SMB_BYTE,8,3                   ## @SMB_BYTE
L_.str.1:                               ## @.str.1
	.asciz	"start trans len=%d i=%d\n"

	.comm	_SIS630_BLOCK_DATA,4,2          ## @SIS630_BLOCK_DATA
L_.str.2:                               ## @.str.2
	.asciz	"trans_wait len=%d i=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"clear smbary_sts len=%d i=%d\n"

	.comm	_SMB_STS,8,3                    ## @SMB_STS
L_.str.4:                               ## @.str.4
	.asciz	"trans_wait failed\n"

L_.str.5:                               ## @.str.5
	.asciz	"block data read len=0x%x\n"

L_.str.6:                               ## @.str.6
	.asciz	"read i=%d len=%d\n"

	.no_dead_strip	_sis630_block_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis630_block_data
_sis630_block_data:                     ; @sis630_block_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #44]
Lloh0:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	x8, [x1]
	cmp	w9, w2
	b.ne	LBB0_14
; %bb.1:
	ldr	w8, [x8]
	mov	w9, #32
	cmp	w8, #32
	csel	w22, w8, w9, lt
	cmp	w22, #0
	csel	w21, w22, wzr, gt
Lloh3:
	adrp	x8, _SMB_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMB_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	mov	x1, x21
	bl	_sis630_write
	cmp	w22, #1
	b.lt	LBB0_39
; %bb.2:
	mov	x8, #0
	sub	x27, x8, w21, uxtw
	mov	w28, #1
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x25, _SMB_BYTE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SMB_BYTE@GOTPAGEOFF]
Lloh10:
	adrp	x24, _SIS630_BLOCK_DATA@GOTPAGE
Lloh11:
	ldr	x24, [x24, _SIS630_BLOCK_DATA@GOTPAGEOFF]
	mov	x8, x21
	stp	x8, x8, [sp, #24]               ; 16-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	stp	x21, x28, [sp]
	mov	x0, x19
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	w1, [x24]
	add	x2, sp, #44
	mov	x0, x19
	bl	_sis630_transaction_start
	cbnz	w0, LBB0_42
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	add	x8, x27, x28
	cmp	x8, #1
	b.eq	LBB0_39
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x23, x28, #2
	ldr	w8, [x8, x23]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x25]
	sub	w9, w28, #1
	and	w26, w9, #0x7
	add	x0, x8, x26
	ldr	x8, [x20]
	ldr	w1, [x8, x23]
	bl	_sis630_write
	cmp	x28, #8
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x27, x28
	cmp	w21, #7
	b.hi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #7
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x8, LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x8, x28, [sp]
	mov	x0, x19
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	cmp	x28, #9
	b.lo	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x28, [sp]
	mov	x0, x19
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
Lloh18:
	adrp	x8, _SMB_STS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SMB_STS@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
	mov	w1, #16
	bl	_sis630_write
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_sis630_transaction_wait
	cbz	w0, LBB0_4
LBB0_13:
	mov	x26, x0
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_40
LBB0_14:
	str	wzr, [x8]
Lloh23:
	adrp	x24, _SIS630_BLOCK_DATA@GOTPAGE
Lloh24:
	ldr	x24, [x24, _SIS630_BLOCK_DATA@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x2, sp, #44
	mov	x0, x19
	bl	_sis630_transaction_start
	mov	x26, x0
	cbnz	w0, LBB0_41
; %bb.15:
	mov	w28, #0
Lloh25:
	adrp	x21, l_.str.5@PAGE
Lloh26:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh27:
	adrp	x22, l_.str.6@PAGE
Lloh28:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh29:
	adrp	x27, _SMB_BYTE@GOTPAGE
Lloh30:
	ldr	x27, [x27, _SMB_BYTE@GOTPAGEOFF]
Lloh31:
	adrp	x25, _SMB_STS@GOTPAGE
Lloh32:
	ldr	x25, [x25, _SMB_STS@GOTPAGEOFF]
Lloh33:
	adrp	x23, l_.str.3@PAGE
Lloh34:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #0
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	stp	x28, x8, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_dev_dbg
	ldr	x0, [x25]
	mov	w1, #16
	bl	_sis630_write
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w28, w8
	b.ge	LBB0_39
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_sis630_transaction_wait
	cbnz	w0, LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cbnz	w28, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
Lloh35:
	adrp	x8, _SMB_COUNT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SMB_COUNT@GOTPAGEOFF]
Lloh37:
	ldr	x0, [x8]
	bl	_sis630_read
	ldr	x8, [x20]
	str	w0, [x8]
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [x20]
	ldr	w8, [x9]
	cmp	w8, #33
	b.lt	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #32
	str	w8, [x9]
	ldr	x8, [x20]
	ldr	w8, [x8]
LBB0_23:                                ;   in Loop: Header=BB0_18 Depth=1
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_dev_dbg
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w28, w8
	b.ge	LBB0_16
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x8, x28
	sxtw	x26, w8
	stp	xzr, x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x0, [x27]
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #1
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #1
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #1
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #2
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #2
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #2
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #3
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_18 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #3
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #3
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #4
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_35
; %bb.28:                               ;   in Loop: Header=BB0_18 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #4
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #4
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #5
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_36
; %bb.29:                               ;   in Loop: Header=BB0_18 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #5
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #5
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #6
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_18 Depth=1
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #6
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #6
	bl	_sis630_read
	ldr	x8, [x20]
	add	x9, x26, #7
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_38
; %bb.31:                               ;   in Loop: Header=BB0_18 Depth=1
	add	w28, w28, #8
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	w8, #7
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_dev_dbg
	ldr	x8, [x27]
	add	x0, x8, #7
	bl	_sis630_read
	ldr	x8, [x20]
	add	x8, x8, x26, lsl #2
	str	w0, [x8, #32]
	mov	w8, #8
	b	LBB0_17
LBB0_32:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #1
	mov	x28, x9
	b	LBB0_17
LBB0_33:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #2
	mov	x28, x9
	b	LBB0_17
LBB0_34:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #3
	mov	x28, x9
	b	LBB0_17
LBB0_35:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #4
	mov	x28, x9
	b	LBB0_17
LBB0_36:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #5
	mov	x28, x9
	b	LBB0_17
LBB0_37:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #6
	mov	x28, x9
	b	LBB0_17
LBB0_38:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	w8, #7
	mov	x28, x9
	b	LBB0_17
LBB0_39:
	mov	w26, #0
LBB0_40:
	ldr	w1, [sp, #44]
	mov	x0, x19
	bl	_sis630_transaction_end
LBB0_41:
	mov	x0, x26
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_42:
	mov	x26, x0
	b	LBB0_41
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_WRITE,4,2            ; @I2C_SMBUS_WRITE
	.comm	_SMB_COUNT,8,3                  ; @SMB_COUNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set data 0x%02x\n"

	.comm	_SMB_BYTE,8,3                   ; @SMB_BYTE
l_.str.1:                               ; @.str.1
	.asciz	"start trans len=%d i=%d\n"

	.comm	_SIS630_BLOCK_DATA,4,2          ; @SIS630_BLOCK_DATA
l_.str.2:                               ; @.str.2
	.asciz	"trans_wait len=%d i=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"clear smbary_sts len=%d i=%d\n"

	.comm	_SMB_STS,8,3                    ; @SMB_STS
l_.str.4:                               ; @.str.4
	.asciz	"trans_wait failed\n"

l_.str.5:                               ; @.str.5
	.asciz	"block data read len=0x%x\n"

l_.str.6:                               ; @.str.6
	.asciz	"read i=%d len=%d\n"

	.no_dead_strip	_sis630_block_data
.subsections_via_symbols
