	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i801_block_transaction_byte_by_byte
_i801_block_transaction_byte_by_byte:   ## @i801_block_transaction_byte_by_byte
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_i801_check_pre
	testl	%eax, %eax
	js	LBB0_34
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %r12d
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_SMBHSTDAT0
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_outb_p
	movq	(%r14), %rax
	movl	4(%rax), %r13d
	movq	%r15, %rdi
	callq	_SMBBLKDAT
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_outb_p
LBB0_3:
	testl	%r12d, %r12d
	jle	LBB0_33
## %bb.4:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_I801_BLOCK_DATA@GOTPCREL(%rip), %rdx
	movq	_MAX_TIMEOUT@GOTPCREL(%rip), %r14
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_SMBHSTSTS_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_SMBHSTSTS_BYTE_DONE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_SMBHSTSTS
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_outb_p
	cmpq	%r12, %r13
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	_I801_BLOCK_DATA@GOTPCREL(%rip), %rdx
	jge	LBB0_33
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	%rdx, %r8
	cmpb	%bl, %al
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_I801_I2C_BLOCK_DATA@GOTPCREL(%rip), %r8
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_I801_BLOCK_LAST@GOTPCREL(%rip), %rcx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	_I2C_SMBUS_I2C_BLOCK_DATA@GOTPCREL(%rip), %rsi
	cmpl	%edi, (%rsi)
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_I801_I2C_BLOCK_LAST@GOTPCREL(%rip), %rcx
	movq	%r8, %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	%bl, %al
	cmovneq	%rdx, %rcx
	movl	%r13d, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rax, %rbx
	cmovneq	%rdx, %rcx
	movq	_ENABLE_INT9@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	orl	(%rcx), %r12d
	movq	%r15, %rdi
	callq	_SMBHSTCNT
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_outb_p
	cmpq	$1, %rbx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_SMBHSTCNT
	movl	%eax, %edi
	callq	_inb
	movl	%eax, %r12d
	movq	_I801_START@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_SMBHSTCNT
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_outb_p
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	movq	_SMBHSTSTS_BYTE_DONE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %edi
	callq	_msleep
	movq	%r15, %rdi
	callq	_SMBHSTSTS
	movl	%eax, %edi
	callq	_inb_p
	testl	%eax, (%r12)
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	leal	1(%rbx), %esi
	movl	(%r14), %ecx
	cmpl	%ecx, %ebx
	movl	%esi, %ebx
	jl	LBB0_12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %ecx
	movl	%ebx, %esi
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	cmpl	%ecx, %esi
	setg	%dl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i801_check_post
	testl	%eax, %eax
	js	LBB0_34
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	cmpq	$1, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpb	%bl, %al
	jne	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	_I2C_SMBUS_I2C_BLOCK_DATA@GOTPCREL(%rip), %rdx
	cmpl	%ecx, (%rdx)
	je	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_SMBHSTDAT0
	movl	%eax, %edi
	callq	_inb_p
	movl	%eax, %r13d
	testl	%eax, %eax
	jle	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jg	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r13d, (%rax)
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	jmp	LBB0_27
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	cmpb	%bl, %al
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_SMBBLKDAT
	movl	%eax, %edi
	callq	_inb_p
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r13,4)
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	-48(%rbp), %r12                 ## 4-byte Folded Reload
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jne	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r12, %r13
	jge	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %ebx
	movq	%r15, %rdi
	callq	_SMBBLKDAT
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_outb_p
	jmp	LBB0_32
LBB0_33:
	xorl	%eax, %eax
LBB0_34:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_err
	movq	%r15, %rdi
	callq	_SMBHSTSTS
	movl	%eax, %edi
	callq	_inb_p
	movq	_SMBHSTSTS_HOST_BUSY@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %r14d
	movq	%r15, %rdi
	callq	_SMBHSTSTS
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_outb_p
	movq	%r15, %rdi
	callq	_SMBHSTSTS
	movl	%eax, %edi
	callq	_inb_p
	testl	%eax, (%rbx)
	jne	LBB0_23
LBB0_25:
	movq	_SMBHSTSTS_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_SMBHSTSTS
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_outb_p
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_WRITE,1,0            ## @I2C_SMBUS_WRITE
	.comm	_I2C_SMBUS_READ,1,0             ## @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_I2C_BLOCK_DATA,4,2   ## @I2C_SMBUS_I2C_BLOCK_DATA
	.comm	_I801_I2C_BLOCK_LAST,4,2        ## @I801_I2C_BLOCK_LAST
	.comm	_I801_BLOCK_LAST,4,2            ## @I801_BLOCK_LAST
	.comm	_I801_I2C_BLOCK_DATA,4,2        ## @I801_I2C_BLOCK_DATA
	.comm	_I801_BLOCK_DATA,4,2            ## @I801_BLOCK_DATA
	.comm	_ENABLE_INT9,4,2                ## @ENABLE_INT9
	.comm	_I801_START,4,2                 ## @I801_START
	.comm	_SMBHSTSTS_BYTE_DONE,4,2        ## @SMBHSTSTS_BYTE_DONE
	.comm	_MAX_TIMEOUT,4,2                ## @MAX_TIMEOUT
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ## @I2C_SMBUS_BLOCK_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal SMBus block read size %d\n"

	.comm	_SMBHSTSTS_HOST_BUSY,4,2        ## @SMBHSTSTS_HOST_BUSY
	.comm	_SMBHSTSTS_INTR,4,2             ## @SMBHSTSTS_INTR
	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_i801_block_transaction_byte_by_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i801_block_transaction_byte_by_byte
_i801_block_transaction_byte_by_byte:   ; @i801_block_transaction_byte_by_byte
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_i801_check_pre
	tbnz	w0, #31, LBB0_24
; %bb.1:
	and	w27, w22, #0xff
	ldr	x8, [x21]
	ldr	w22, [x8]
Lloh0:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w27
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_SMBHSTDAT0
	mov	x1, x0
	mov	x0, x22
	bl	_outb_p
	ldr	x8, [x21]
	ldr	w23, [x8, #4]
	mov	x0, x19
	bl	_SMBBLKDAT
	mov	x1, x0
	mov	x0, x23
	bl	_outb_p
LBB0_3:
	cmp	w22, #1
	b.lt	LBB0_23
; %bb.4:
Lloh2:
	adrp	x26, _I2C_SMBUS_READ@GOTPAGE
Lloh3:
	ldr	x26, [x26, _I2C_SMBUS_READ@GOTPAGEOFF]
	mov	w28, #1
Lloh4:
	adrp	x24, _SMBHSTSTS_BYTE_DONE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SMBHSTSTS_BYTE_DONE@GOTPAGEOFF]
Lloh6:
	adrp	x25, _MAX_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MAX_TIMEOUT@GOTPAGEOFF]
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
Lloh8:
	adrp	x9, _SMBHSTSTS_INTR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SMBHSTSTS_INTR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w23, w9, w8
	mov	x0, x19
	bl	_SMBHSTSTS
	mov	x1, x0
	mov	x0, x23
	bl	_outb_p
	cmp	x28, x21
	mov	x28, x27
	mov	x21, x20
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	mov	x27, x22
	mov	x22, x26
Lloh11:
	adrp	x26, _I2C_SMBUS_READ@GOTPAGE
Lloh12:
	ldr	x26, [x26, _I2C_SMBUS_READ@GOTPAGEOFF]
	b.ge	LBB0_23
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cmp	x28, w22, uxtw
	cset	w8, eq
	ldrb	w9, [x26]
	cmp	w9, w27
	cset	w9, eq
Lloh13:
	adrp	x10, _I2C_SMBUS_I2C_BLOCK_DATA@GOTPAGE
Lloh14:
	ldr	x10, [x10, _I2C_SMBUS_I2C_BLOCK_DATA@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w10, w20
	cset	w10, eq
Lloh16:
	adrp	x11, _I801_I2C_BLOCK_LAST@GOTPAGE
Lloh17:
	ldr	x11, [x11, _I801_I2C_BLOCK_LAST@GOTPAGEOFF]
Lloh18:
	adrp	x12, _I801_BLOCK_LAST@GOTPAGE
Lloh19:
	ldr	x12, [x12, _I801_BLOCK_LAST@GOTPAGEOFF]
	csel	x11, x11, x12, eq
	tst	w10, w9
Lloh20:
	adrp	x10, _I801_I2C_BLOCK_DATA@GOTPAGE
Lloh21:
	ldr	x10, [x10, _I801_I2C_BLOCK_DATA@GOTPAGEOFF]
Lloh22:
	adrp	x12, _I801_BLOCK_DATA@GOTPAGE
Lloh23:
	ldr	x12, [x12, _I801_BLOCK_DATA@GOTPAGEOFF]
	csel	x10, x10, x12, ne
	tst	w8, w9
	csel	x8, x11, x10, ne
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _ENABLE_INT9@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ENABLE_INT9@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w23, w9, w8
	mov	x0, x19
	bl	_SMBHSTCNT
	mov	x1, x0
	mov	x0, x23
	bl	_outb_p
	cmp	x28, #1
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_SMBHSTCNT
	bl	_inb
Lloh27:
	adrp	x8, _I801_START@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I801_START@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w23, w8, w0
	mov	x0, x19
	bl	_SMBHSTCNT
	mov	x1, x0
	mov	x0, x23
	bl	_outb_p
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #0
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #1
	bl	_msleep
	mov	x0, x19
	bl	_SMBHSTSTS
	bl	_inb_p
	mov	x1, x0
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w9, w23, #1
	ldr	w8, [x25]
	cmp	w23, w8
	mov	x23, x9
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x9
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, w8
	cset	w2, gt
	mov	x0, x19
	bl	_i801_check_post
	tbnz	w0, #31, LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x26]
	cmp	x28, #1
	b.ne	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh30:
	adrp	x9, _I2C_SMBUS_I2C_BLOCK_DATA@GOTPAGE
Lloh31:
	ldr	x9, [x9, _I2C_SMBUS_I2C_BLOCK_DATA@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w27
	ccmp	w9, w20, #4, eq
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_SMBHSTDAT0
	bl	_inb_p
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh33:
	adrp	x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w22, w8
	b.gt	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	str	w22, [x8]
	ldrb	w8, [x26]
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x22
	mov	x22, x27
	cmp	w8, w27
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_SMBBLKDAT
	bl	_inb_p
	ldr	x8, [x21]
	str	w0, [x8, x28, lsl #2]
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x21
Lloh36:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	sxtw	x21, w26
	add	x27, x28, #1
	cmp	w8, w22
	ccmp	x28, x21, #0, eq
	b.ge	LBB0_5
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w23, [x8, x27, lsl #2]
	mov	x0, x19
	bl	_SMBBLKDAT
	mov	x1, x0
	mov	x0, x23
	bl	_outb_p
	b	LBB0_5
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	ldr	x0, [x19]
Lloh38:
	adrp	x1, l_.str@PAGE
Lloh39:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_err
	mov	x0, x19
	bl	_SMBHSTSTS
	bl	_inb_p
Lloh40:
	adrp	x21, _SMBHSTSTS_HOST_BUSY@GOTPAGE
Lloh41:
	ldr	x21, [x21, _SMBHSTSTS_HOST_BUSY@GOTPAGEOFF]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w20, [x24]
	mov	x0, x19
	bl	_SMBHSTSTS
	mov	x1, x0
	mov	x0, x20
	bl	_outb_p
	mov	x0, x19
	bl	_SMBHSTSTS
	bl	_inb_p
	b	LBB0_26
LBB0_28:
Lloh42:
	adrp	x8, _SMBHSTSTS_INTR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SMBHSTSTS_INTR@GOTPAGEOFF]
Lloh44:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_SMBHSTSTS
	mov	x1, x0
	mov	x0, x20
	bl	_outb_p
Lloh45:
	adrp	x8, _EPROTO@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_WRITE,1,0            ; @I2C_SMBUS_WRITE
	.comm	_I2C_SMBUS_READ,1,0             ; @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_I2C_BLOCK_DATA,4,2   ; @I2C_SMBUS_I2C_BLOCK_DATA
	.comm	_I801_I2C_BLOCK_LAST,4,2        ; @I801_I2C_BLOCK_LAST
	.comm	_I801_BLOCK_LAST,4,2            ; @I801_BLOCK_LAST
	.comm	_I801_I2C_BLOCK_DATA,4,2        ; @I801_I2C_BLOCK_DATA
	.comm	_I801_BLOCK_DATA,4,2            ; @I801_BLOCK_DATA
	.comm	_ENABLE_INT9,4,2                ; @ENABLE_INT9
	.comm	_I801_START,4,2                 ; @I801_START
	.comm	_SMBHSTSTS_BYTE_DONE,4,2        ; @SMBHSTSTS_BYTE_DONE
	.comm	_MAX_TIMEOUT,4,2                ; @MAX_TIMEOUT
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ; @I2C_SMBUS_BLOCK_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal SMBus block read size %d\n"

	.comm	_SMBHSTSTS_HOST_BUSY,4,2        ; @SMBHSTSTS_HOST_BUSY
	.comm	_SMBHSTSTS_INTR,4,2             ; @SMBHSTSTS_INTR
	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_i801_block_transaction_byte_by_byte
.subsections_via_symbols
