	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stub_xfer
_stub_xfer:                             ## @stub_xfer
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movl	%ecx, %ebx
	movq	_stub_chips_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %rdx
	movq	_chip_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, (%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$48, %r14
	addq	$8, %rax
	cmpq	%r14, %rcx
	jne	LBB0_2
	jmp	LBB0_9
LBB0_4:
	movq	_stub_chips@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.5:
	addl	$-128, %r9d
	cmpl	$5, %r9d
	ja	LBB0_13
## %bb.6:
	leaq	(%r15,%r14), %r13
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r9,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	%rdx, %r15
	movq	%r13, %rdi
	movq	%r8, %rsi
	movq	%r8, %r14
	callq	_stub_get_wordp
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	cmpb	%bl, (%rcx)
	jne	LBB0_38
## %bb.8:
	movq	16(%rbp), %rdx
	movq	(%rdx), %rcx
	movq	%rcx, (%rax)
	movq	(%rdx), %rcx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_39
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.13(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
LBB0_14:
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_15:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_12
LBB0_16:
	movq	16(%rbp), %r13
	movq	(%r13), %rsi
	movslq	(%rsi), %rcx
	movl	$256, %eax                      ## imm = 0x100
	subq	%r8, %rax
	cmpq	%rcx, %rax
	jae	LBB0_18
## %bb.17:
	movl	%eax, (%rsi)
	movq	(%r13), %rsi
	movl	(%rsi), %ecx
LBB0_18:
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jne	LBB0_40
## %bb.19:
	testl	%ecx, %ecx
	jle	LBB0_62
## %bb.20:
	movq	32(%r15,%r14), %r11
	movl	%ecx, %r9d
	movq	%rdx, %r14
	cmpl	$1, %ecx
	jne	LBB0_58
## %bb.21:
	xorl	%eax, %eax
	jmp	LBB0_60
LBB0_22:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r8, %rsi
	movq	%r8, %r13
	callq	_stub_get_wordp
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rdx
	movq	(%rax), %rcx
	cmpb	%bl, (%rdx)
	jne	LBB0_48
## %bb.23:
	andl	$65280, %ecx                    ## imm = 0xFF00
	movq	%rcx, (%rax)
	movq	16(%rbp), %rdx
	orq	(%rdx), %rcx
	movq	%rcx, (%rax)
	movq	(%rdx), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$0, 40(%r15,%r14)
	je	LBB0_49
## %bb.24:
	cmpq	%r13, 8(%r15,%r14)
	jne	LBB0_49
## %bb.25:
	movq	16(%rbp), %rax
	movq	(%rax), %rdx
	movb	20(%r15,%r14), %cl
	sarq	%cl, %rdx
	andl	24(%r15,%r14), %edx
	movl	%edx, 16(%r15,%r14)
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_49
LBB0_26:
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	cmpb	%bl, (%rax)
	jne	LBB0_50
## %bb.27:
	movq	%r8, (%r15,%r14)
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	movq	%r12, %rdx
	movq	%r8, %rcx
	jmp	LBB0_51
LBB0_28:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	movq	%r13, %rsi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %rdx
	xorl	%ecx, %ecx
	callq	_stub_find_block
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rcx
	cmpb	%bl, (%rcx)
	jne	LBB0_52
## %bb.29:
	movq	16(%rbp), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %r9d
	testq	%r9, %r9
	je	LBB0_56
## %bb.30:
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r9d
	jg	LBB0_56
## %bb.31:
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	$1, %ecx
	movq	%r9, %rbx
	callq	_stub_find_block
	movq	%rbx, %r9
	testq	%rax, %rax
	je	LBB0_77
LBB0_33:
	movl	(%rax), %edx
	cmpl	%edx, %r9d
	jle	LBB0_35
## %bb.34:
	movl	%r9d, (%rax)
	movl	%r9d, %edx
LBB0_35:
	movq	8(%rax), %r10
	testl	%r9d, %r9d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rbp), %r11
	jle	LBB0_76
## %bb.36:
	leaq	-1(%r9), %rsi
	movl	%r9d, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_71
## %bb.37:
	movq	%r9, %r13
	xorl	%ebx, %ebx
	jmp	LBB0_73
LBB0_38:
	movq	(%rax), %rcx
	movq	16(%rbp), %rax
	movq	%rcx, (%rax)
	leaq	L_.str.7(%rip), %rsi
LBB0_39:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r12, %rdx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_12
LBB0_40:
	testl	%ecx, %ecx
	jle	LBB0_47
## %bb.41:
	movq	32(%r15,%r14), %r11
	movzbl	(%r11,%r8,4), %eax
	movl	%eax, 4(%rsi)
	cmpl	$1, %ecx
	je	LBB0_47
## %bb.42:
	movq	%rdx, %r14
	movl	%ecx, %r9d
	decq	%r9
	movl	$1, %eax
	cmpl	$2, %ecx
	je	LBB0_45
## %bb.43:
	leaq	(%r11,%r8,4), %rsi
	addq	$4, %rsi
	movq	%r9, %r10
	andq	$-2, %r10
	negq	%r10
	movl	$1, %edi
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movzbl	-4(%rsi,%rdi,4), %ebx
	movl	%ebx, 4(%rax,%rdi,4)
	movq	(%r13), %rbx
	movzbl	(%rsi,%rdi,4), %edx
	leaq	2(%rdi), %rax
	movl	%edx, 8(%rbx,%rdi,4)
	leaq	(%r10,%rdi), %rdx
	addq	$2, %rdx
	movq	%rax, %rdi
	cmpq	$1, %rdx
	jne	LBB0_44
LBB0_45:
	testb	$1, %r9b
	movq	%r14, %rdx
	je	LBB0_47
## %bb.46:
	movq	(%r13), %rdi
	leaq	(%rax,%r8), %rsi
	movzbl	(%r11,%rsi,4), %esi
	movl	%esi, 4(%rdi,%rax,4)
LBB0_47:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_63
LBB0_48:
	movzbl	%cl, %ecx
	movq	16(%rbp), %rax
	movq	%rcx, (%rax)
	leaq	L_.str.5(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_49:
	incq	%r13
	movq	%r13, (%r15,%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_50:
	movq	(%r15,%r14), %rsi
	leaq	1(%rsi), %rax
	movq	%rax, (%r15,%r14)
	movq	%r13, %rdi
	movq	%rdx, %r14
	callq	_stub_get_wordp
	movzbl	(%rax), %ecx
	movq	16(%rbp), %rax
	movq	%rcx, (%rax)
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
LBB0_51:
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_12
LBB0_52:
	testq	%rax, %rax
	je	LBB0_57
## %bb.53:
	movl	(%rax), %ecx
	movq	16(%rbp), %r11
	movq	(%r11), %rdx
	movl	%ecx, (%rdx)
	testl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_68
## %bb.54:
	movq	8(%rax), %r10
	leaq	-1(%rcx), %rsi
	movl	%ecx, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_64
## %bb.55:
	xorl	%esi, %esi
	jmp	LBB0_66
LBB0_56:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_57:
	leaq	L_.str.11(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_58:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	leaq	(%r11,%r8,4), %rdi
	addq	$4, %rdi
	xorl	%ebx, %ebx
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-3(%rdi,%rbx,4), %eax
	shll	$8, %eax
	movl	%eax, -4(%rdi,%rbx,4)
	movq	(%r13), %rdx
	orl	4(%rdx,%rbx,4), %eax
	movl	%eax, -4(%rdi,%rbx,4)
	movzbl	1(%rdi,%rbx,4), %edx
	shll	$8, %edx
	movl	%edx, (%rdi,%rbx,4)
	movq	(%r13), %rsi
	leaq	2(%rbx), %rax
	orl	8(%rsi,%rbx,4), %edx
	movl	%edx, (%rdi,%rbx,4)
	movq	%rax, %rbx
	cmpq	%rax, %r10
	jne	LBB0_59
LBB0_60:
	testb	$1, %r9b
	movq	%r14, %rdx
	je	LBB0_62
## %bb.61:
	leaq	(%rax,%r8), %rbx
	movzbl	1(%r11,%rbx,4), %esi
	shll	$8, %esi
	movl	%esi, (%r11,%rbx,4)
	movq	(%r13), %rdi
	orl	4(%rdi,%rax,4), %esi
	movl	%esi, (%r11,%rbx,4)
LBB0_62:
	leaq	L_.str.8(%rip), %rsi
LBB0_63:
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	jmp	LBB0_69
LBB0_64:
	movl	%ecx, %r9d
	andl	$-4, %r9d
	xorl	%esi, %esi
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rsi,4), %ebx
	movq	(%r11), %rax
	movl	%ebx, 4(%rax,%rsi,4)
	movl	4(%r10,%rsi,4), %eax
	movq	(%r11), %rbx
	movl	%eax, 8(%rbx,%rsi,4)
	movl	8(%r10,%rsi,4), %eax
	movq	(%r11), %rbx
	movl	%eax, 12(%rbx,%rsi,4)
	movl	12(%r10,%rsi,4), %eax
	movq	(%r11), %rbx
	movl	%eax, 16(%rbx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_65
LBB0_66:
	testq	%rdx, %rdx
	je	LBB0_68
LBB0_67:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rsi,4), %eax
	movq	(%r11), %rbx
	movl	%eax, 4(%rbx,%rsi,4)
	incq	%rsi
	decq	%rdx
	jne	LBB0_67
LBB0_68:
	leaq	L_.str.12(%rip), %rsi
	xorl	%ebx, %ebx
LBB0_69:
	movq	%r12, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
LBB0_70:
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_12
LBB0_71:
	movq	%r9, %r13
                                        ## kill: def $r9d killed $r9d killed $r9 def $r9
	andl	$-4, %r9d
	xorl	%esi, %esi
LBB0_72:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r11), %rbx
	movl	4(%rbx,%rsi,4), %ebx
	movl	%ebx, (%r10,%rsi,4)
	movq	(%r11), %rbx
	movl	8(%rbx,%rsi,4), %ebx
	movl	%ebx, 4(%r10,%rsi,4)
	movq	(%r11), %rbx
	movl	12(%rbx,%rsi,4), %ebx
	movl	%ebx, 8(%r10,%rsi,4)
	movq	(%r11), %rcx
	leaq	4(%rsi), %rbx
	movl	16(%rcx,%rsi,4), %ecx
	movl	%ecx, 12(%r10,%rsi,4)
	movq	%rbx, %rsi
	cmpq	%rbx, %r9
	jne	LBB0_72
LBB0_73:
	testq	%rdx, %rdx
	je	LBB0_75
LBB0_74:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r11), %rsi
	movl	4(%rsi,%rbx,4), %esi
	movl	%esi, (%r10,%rbx,4)
	incq	%rbx
	decq	%rdx
	jne	LBB0_74
LBB0_75:
	movl	(%rax), %edx
	movq	%r13, %r9
LBB0_76:
	movl	(%r10), %eax
	shll	$8, %eax
	orl	%edx, %eax
	movq	32(%r15,%r14), %rcx
	movl	%eax, (%rcx,%r8,4)
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdx
	movl	%r9d, %ecx
	jmp	LBB0_70
LBB0_77:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_22
	.long	L0_0_set_26
	.long	L0_0_set_28
	.end_data_region
                                        ## -- End function
	.comm	_stub_chips_nr,4,2              ## @stub_chips_nr
	.comm	_chip_addr,8,3                  ## @chip_addr
	.comm	_stub_chips,8,3                 ## @stub_chips
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smbus quick - addr 0x%02x\n"

	.comm	_I2C_SMBUS_WRITE,1,0            ## @I2C_SMBUS_WRITE
L_.str.1:                               ## @.str.1
	.asciz	"smbus byte - addr 0x%02x, wrote 0x%02x.\n"

L_.str.2:                               ## @.str.2
	.asciz	"smbus byte - addr 0x%02x, read  0x%02x.\n"

L_.str.3:                               ## @.str.3
	.asciz	"smbus byte data - addr 0x%02x, wrote 0x%02x at 0x%02x.\n"

L_.str.4:                               ## @.str.4
	.asciz	"switching to bank %u.\n"

L_.str.5:                               ## @.str.5
	.asciz	"smbus byte data - addr 0x%02x, read  0x%02x at 0x%02x.\n"

L_.str.6:                               ## @.str.6
	.asciz	"smbus word data - addr 0x%02x, wrote 0x%04x at 0x%02x.\n"

L_.str.7:                               ## @.str.7
	.asciz	"smbus word data - addr 0x%02x, read  0x%04x at 0x%02x.\n"

L_.str.8:                               ## @.str.8
	.asciz	"i2c block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n"

L_.str.9:                               ## @.str.9
	.asciz	"i2c block data - addr 0x%02x, read  %d bytes at 0x%02x.\n"

	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ## @I2C_SMBUS_BLOCK_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.10:                              ## @.str.10
	.asciz	"smbus block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n"

L_.str.11:                              ## @.str.11
	.asciz	"SMBus block read command without prior block write not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.12:                              ## @.str.12
	.asciz	"smbus block data - addr 0x%02x, read  %d bytes at 0x%02x.\n"

L_.str.13:                              ## @.str.13
	.asciz	"Unsupported I2C/SMBus command\n"

	.no_dead_strip	_stub_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stub_xfer
_stub_xfer:                             ; @stub_xfer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x8, _stub_chips_nr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stub_chips_nr@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x22, x6
	mov	x20, x4
	mov	x21, x1
	mov	x19, x0
	mov	x24, #0
	and	w26, w3, #0xff
Lloh3:
	adrp	x8, _chip_addr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _chip_addr@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x9, x9, x9, lsl #1
	lsl	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x21
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #48
	add	x8, x8, #8
	cmp	x9, x24
	b.ne	LBB0_2
	b	LBB0_9
LBB0_4:
Lloh6:
	adrp	x8, _stub_chips@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stub_chips@GOTPAGEOFF]
Lloh8:
	ldr	x25, [x8]
	cbz	x25, LBB0_9
; %bb.5:
	sub	w8, w5, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.6:
	add	x23, x25, x24
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x23
	mov	x1, x20
	bl	_stub_get_wordp
Lloh11:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_31
; %bb.8:
	ldr	x8, [x22]
	str	x8, [x0]
	ldr	x8, [x22]
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_55
LBB0_9:
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	add	sp, sp, #112
	ret
LBB0_12:
Lloh17:
	adrp	x1, l_.str.13@PAGE
Lloh18:
	add	x1, x1, l_.str.13@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	_dev_dbg
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_10
LBB0_14:
	str	x21, [sp]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_55
LBB0_15:
	ldr	x9, [x22]
	ldrsw	x8, [x9]
	mov	w10, #256
	sub	x10, x10, x20
	cmp	x10, x8
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b.hs	LBB0_17
; %bb.16:
	str	w10, [x9]
	ldr	x9, [x22]
	ldr	w8, [x9]
LBB0_17:
Lloh23:
	adrp	x10, _I2C_SMBUS_WRITE@GOTPAGE
Lloh24:
	ldr	x10, [x10, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w10, w26
	b.ne	LBB0_32
; %bb.18:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.19:
	mov	x9, #0
	add	x10, x25, x24
	ldr	x10, [x10, #32]
	mov	w11, w8
	add	x10, x10, x20, lsl #2
	lsl	x11, x11, #2
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	x12, x10, x9
	ldrb	w13, [x12, #1]
	lsl	w13, w13, #8
	str	w13, [x12]
	ldr	x14, [x22]
	add	x14, x14, x9
	ldr	w14, [x14, #4]
	orr	w13, w14, w13
	str	w13, [x12]
	add	x9, x9, #4
	cmp	x11, x9
	b.ne	LBB0_20
LBB0_21:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_55
LBB0_22:
	mov	x0, x23
	mov	x1, x20
	bl	_stub_get_wordp
Lloh27:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w9, [x8]
	ldr	x8, [x0]
	cmp	w9, w26
	b.ne	LBB0_37
; %bb.23:
	and	x8, x8, #0xff00
	str	x8, [x0]
	ldr	x9, [x22]
	orr	x8, x9, x8
	str	x8, [x0]
	ldr	x8, [x22]
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	add	x8, x25, x24
	ldr	w9, [x8, #40]
	cbz	w9, LBB0_39
; %bb.24:
	ldr	x8, [x8, #8]
	cmp	x8, x20
	b.ne	LBB0_39
; %bb.25:
	ldr	x8, [x22]
	add	x9, x25, x24
	ldp	w10, w11, [x9, #20]
	asr	x8, x8, x10
	and	w8, w11, w8
	str	w8, [x9, #16]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_38
LBB0_26:
Lloh33:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_40
; %bb.27:
	str	x20, [x25, x24]
	stp	x21, x20, [sp]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_55
LBB0_28:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	w3, #0
	bl	_stub_find_block
Lloh37:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_41
; %bb.29:
	ldr	x8, [x22]
	ldr	w26, [x8]
Lloh39:
	adrp	x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh40:
	ldr	x8, [x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w26, #0
	ccmp	w26, w8, #0, ne
	b.le	LBB0_46
; %bb.30:
Lloh42:
	adrp	x8, _EINVAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_31:
	ldr	x8, [x0]
	str	x8, [x22]
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_55
LBB0_32:
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.33:
	add	x10, x25, x24
	ldr	x11, [x10, #32]
	lsl	x10, x20, #2
	ldrb	w10, [x11, x10]
	str	w10, [x9, #4]
	cmp	w8, #1
	b.eq	LBB0_36
; %bb.34:
	mov	x9, #0
	mov	w10, w8
	sub	x10, x10, #1
	add	x11, x11, x20, lsl #2
	add	x11, x11, #4
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x22]
	lsl	x13, x9, #2
	ldrb	w14, [x11, x13]
	add	x12, x12, x13
	str	w14, [x12, #8]
	add	x9, x9, #1
	cmp	x10, x9
	b.ne	LBB0_35
LBB0_36:
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh46:
	adrp	x1, l_.str.9@PAGE
Lloh47:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_55
LBB0_37:
	and	x8, x8, #0xff
	str	x8, [x22]
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh48:
	adrp	x1, l_.str.5@PAGE
Lloh49:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_38:
	mov	x0, x19
	bl	_dev_dbg
LBB0_39:
	mov	w0, #0
	add	x8, x20, #1
	str	x8, [x25, x24]
	b	LBB0_11
LBB0_40:
	ldr	x1, [x25, x24]
	add	x8, x1, #1
	str	x8, [x25, x24]
	mov	x0, x23
	bl	_stub_get_wordp
	ldrb	w8, [x0]
	str	x8, [x22]
	stp	x21, x8, [sp]
Lloh50:
	adrp	x1, l_.str.2@PAGE
Lloh51:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_55
LBB0_41:
	cbz	x0, LBB0_56
; %bb.42:
	ldr	w8, [x0]
	ldr	x9, [x22]
	str	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.43:
	mov	x9, #0
	ldr	x10, [x0, #8]
	lsl	x11, x8, #2
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x9]
	ldr	x13, [x22]
	add	x13, x13, x9
	str	w12, [x13, #4]
	add	x9, x9, #4
	cmp	x11, x9
	b.ne	LBB0_44
LBB0_45:
	stp	x8, x20, [sp, #8]
	str	x21, [sp]
Lloh52:
	adrp	x1, l_.str.12@PAGE
Lloh53:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_55
LBB0_46:
	cbnz	x0, LBB0_48
; %bb.47:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	mov	w3, #1
	bl	_stub_find_block
	cbz	x0, LBB0_57
LBB0_48:
	ldr	w9, [x0]
	cmp	w26, w9
	b.le	LBB0_50
; %bb.49:
	str	w26, [x0]
	mov	x9, x26
LBB0_50:
	ldr	x8, [x0, #8]
	cmp	w26, #1
	b.lt	LBB0_54
; %bb.51:
	mov	x9, #0
	lsl	x10, x26, #2
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x22]
	add	x11, x11, x9
	ldr	w11, [x11, #4]
	str	w11, [x8, x9]
	add	x9, x9, #4
	cmp	x10, x9
	b.ne	LBB0_52
; %bb.53:
	ldr	w9, [x0]
LBB0_54:
	ldr	w8, [x8]
	orr	w8, w9, w8, lsl #8
	add	x9, x25, x24
	ldr	x9, [x9, #32]
	str	w8, [x9, x20, lsl #2]
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	stp	x26, x20, [sp, #8]
	str	x21, [sp]
Lloh54:
	adrp	x1, l_.str.10@PAGE
Lloh55:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_55:
	mov	x0, x19
	bl	_dev_dbg
	mov	w0, #0
	b	LBB0_11
LBB0_56:
Lloh56:
	adrp	x1, l_.str.11@PAGE
Lloh57:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_13
LBB0_57:
Lloh58:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_22-LBB0_7)>>2
	.byte	(LBB0_26-LBB0_7)>>2
	.byte	(LBB0_28-LBB0_7)>>2
                                        ; -- End function
	.comm	_stub_chips_nr,4,2              ; @stub_chips_nr
	.comm	_chip_addr,8,3                  ; @chip_addr
	.comm	_stub_chips,8,3                 ; @stub_chips
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smbus quick - addr 0x%02x\n"

	.comm	_I2C_SMBUS_WRITE,1,0            ; @I2C_SMBUS_WRITE
l_.str.1:                               ; @.str.1
	.asciz	"smbus byte - addr 0x%02x, wrote 0x%02x.\n"

l_.str.2:                               ; @.str.2
	.asciz	"smbus byte - addr 0x%02x, read  0x%02x.\n"

l_.str.3:                               ; @.str.3
	.asciz	"smbus byte data - addr 0x%02x, wrote 0x%02x at 0x%02x.\n"

l_.str.4:                               ; @.str.4
	.asciz	"switching to bank %u.\n"

l_.str.5:                               ; @.str.5
	.asciz	"smbus byte data - addr 0x%02x, read  0x%02x at 0x%02x.\n"

l_.str.6:                               ; @.str.6
	.asciz	"smbus word data - addr 0x%02x, wrote 0x%04x at 0x%02x.\n"

l_.str.7:                               ; @.str.7
	.asciz	"smbus word data - addr 0x%02x, read  0x%04x at 0x%02x.\n"

l_.str.8:                               ; @.str.8
	.asciz	"i2c block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n"

l_.str.9:                               ; @.str.9
	.asciz	"i2c block data - addr 0x%02x, read  %d bytes at 0x%02x.\n"

	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ; @I2C_SMBUS_BLOCK_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.10:                              ; @.str.10
	.asciz	"smbus block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n"

l_.str.11:                              ; @.str.11
	.asciz	"SMBus block read command without prior block write not supported\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.12:                              ; @.str.12
	.asciz	"smbus block data - addr 0x%02x, read  %d bytes at 0x%02x.\n"

l_.str.13:                              ; @.str.13
	.asciz	"Unsupported I2C/SMBus command\n"

	.no_dead_strip	_stub_xfer
.subsections_via_symbols
