	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfin_twi_smbus_xfer            ## -- Begin function bfin_twi_smbus_xfer
	.p2align	4, 0x90
_bfin_twi_smbus_xfer:                   ## @bfin_twi_smbus_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
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movl	%esi, %r15d
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_read_CONTROL
	movq	_TWI_ENA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_69
## %bb.1:
	movq	%rbx, %rdi
	callq	_read_MASTER_STAT
	movq	_BUSBUSY@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_yield
	movq	%rbx, %rdi
	callq	_read_MASTER_STAT
	testl	%eax, (%r12)
	jne	LBB0_2
LBB0_4:
	movq	$0, (%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	-130(%rax), %ecx
	cmpl	$6, %ecx
	ja	LBB0_5
## %bb.6:
	movq	16(%rbp), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_20:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	cmpb	%r13b, (%rcx)
	jne	LBB0_22
## %bb.21:
	movl	$2, 4(%rbx)
	movl	$129, %ecx
	jmp	LBB0_19
LBB0_69:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_68
LBB0_5:
	movl	$-1, %eax
	jmp	LBB0_68
LBB0_7:
	movq	$0, 8(%rbx)
	movq	_TWI_I2C_MODE_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	%r15d, %r12d
	jmp	LBB0_33
LBB0_23:
	movabsq	$8589934594, %rcx               ## imm = 0x200000002
	movq	%rcx, (%rbx)
	movl	$129, 16(%rbx)
	jmp	LBB0_27
LBB0_28:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rdx
	movq	(%rax), %rcx
	movl	(%rcx), %ecx
	cmpb	%r13b, (%rdx)
	jne	LBB0_30
## %bb.29:
	movl	%ecx, 4(%rbx)
	movl	$129, %ecx
	jmp	LBB0_31
LBB0_15:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	cmpb	%r13b, (%rcx)
	jne	LBB0_17
## %bb.16:
	movl	$1, 4(%rbx)
	movl	$129, %ecx
	jmp	LBB0_19
LBB0_8:
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	cmpb	%r13b, (%rcx)
	movl	%r15d, %r12d
	jne	LBB0_12
## %bb.11:
	movl	$1, 4(%rbx)
	jmp	LBB0_13
LBB0_24:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rdx
	movl	$129, %ecx
	cmpb	%r13b, (%rdx)
	je	LBB0_26
## %bb.25:
	movq	(%rax), %rcx
	movl	(%rcx), %ecx
	incl	%ecx
	movl	%ecx, (%rbx)
	movl	$128, %ecx
LBB0_26:
	movl	%ecx, 16(%rbx)
	movq	(%rax), %rax
LBB0_27:
	movq	%rax, 8(%rbx)
	movl	%r15d, %r12d
	jmp	LBB0_33
LBB0_22:
	movl	$2, (%rbx)
	jmp	LBB0_18
LBB0_30:
	movl	%ecx, (%rbx)
	movl	$128, %ecx
LBB0_31:
	movl	%r15d, %r12d
	movl	%ecx, 16(%rbx)
	movq	(%rax), %rax
	addq	$4, %rax
	jmp	LBB0_32
LBB0_17:
	movl	$1, (%rbx)
LBB0_18:
	movl	$128, %ecx
LBB0_19:
	movl	%r15d, %r12d
	movl	%ecx, 16(%rbx)
LBB0_32:
	movq	%rax, 8(%rbx)
	jmp	LBB0_33
LBB0_9:
	movq	$0, 8(%rbx)
	movl	%r15d, %r12d
	jmp	LBB0_14
LBB0_12:
	movl	$1, (%rbx)
LBB0_13:
	movq	%rax, 8(%rbx)
LBB0_14:
	movq	_TWI_I2C_MODE_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_33:
	movq	$0, 24(%rbx)
	movl	$0, 32(%rbx)
	movb	%r13b, 36(%rbx)
	movl	%r14d, 40(%rbx)
	movl	$10, 44(%rbx)
	leaq	48(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_init_completion
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_write_FIFO_CTL
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_SSYNC
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_write_FIFO_CTL
	movq	_MERR@GOTPCREL(%rip), %rax
	movq	_MCOMP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	orl	(%rax), %esi
	movq	_XMTSERV@GOTPCREL(%rip), %r13
	orl	(%r13), %esi
	movq	_RCVSERV@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_INT_STAT
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_write_MASTER_ADDR
	xorl	%eax, %eax
	callq	_SSYNC
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_POLL_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	leaq	56(%rbx), %r12
	movq	%rcx, 56(%rbx)
	movq	%r12, %rdi
	callq	_add_timer
	movl	16(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_44
## %bb.34:
	cmpl	$128, %eax
	jne	LBB0_45
## %bb.35:
	movl	40(%rbx), %esi
	movq	%rbx, %rdi
	callq	_write_XMT_DATA8
	movq	_MERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
	movb	36(%rbx), %al
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_36
## %bb.37:
	movq	_RCVSERV@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_44:
	movl	40(%rbx), %esi
	movq	%rbx, %rdi
	callq	_write_XMT_DATA8
	movq	_MERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
	movq	_RCVSERV@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_XMTSERV@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_INT_MASK
	xorl	%eax, %eax
	callq	_SSYNC
	movl	(%rbx), %eax
	movl	%eax, %ecx
	shll	$6, %ecx
	addl	$64, %ecx
	testl	%eax, %eax
	movl	$64, %esi
	cmovgl	%ecx, %esi
	movq	%rbx, %rdi
	callq	_write_MASTER_CTL
	movq	%rbx, %rdi
	callq	_read_MASTER_CTL
	movq	_MEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_63
LBB0_45:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_write_MASTER_CTL
	cmpl	$131, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_58
## %bb.46:
	movb	36(%rbx), %al
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_47
## %bb.51:
	movl	4(%rbx), %esi
	leal	-1(%rsi), %eax
	cmpl	$254, %eax
	ja	LBB0_53
## %bb.52:
	shll	$6, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_write_MASTER_CTL
	jmp	LBB0_58
LBB0_36:
	movq	_XMTSERV@GOTPCREL(%rip), %rax
LBB0_38:
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_INT_MASK
	xorl	%eax, %eax
	callq	_SSYNC
	movl	(%rbx), %esi
	cmpl	$254, %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jg	LBB0_40
## %bb.39:
	shll	$6, %esi
	addl	$64, %esi
	movq	%rbx, %rdi
	callq	_write_MASTER_CTL
	jmp	LBB0_41
LBB0_40:
	movq	%rbx, %rdi
	movl	$16320, %esi                    ## imm = 0x3FC0
	callq	_write_MASTER_CTL
	movl	$1, 32(%rbx)
LBB0_41:
	movq	%rbx, %rdi
	callq	_read_MASTER_CTL
	movq	_MEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	$101, (%rdx)
	jl	LBB0_43
## %bb.42:
	movq	_FAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_43:
	orl	%ecx, %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_write_MASTER_CTL
	jmp	LBB0_67
LBB0_47:
	cmpl	$0, (%rbx)
	jle	LBB0_50
## %bb.48:
	movq	8(%rbx), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_XMT_DATA8
	movl	(%rbx), %esi
	cmpl	$255, %esi
	jg	LBB0_56
## %bb.49:
	shll	$6, %esi
	movq	%rbx, %rdi
	callq	_write_MASTER_CTL
	jmp	LBB0_57
LBB0_53:
	cmpl	$256, %esi                      ## imm = 0x100
	jl	LBB0_55
## %bb.54:
	movq	%rbx, %rdi
	movl	$16320, %esi                    ## imm = 0x3FC0
	callq	_write_MASTER_CTL
	movl	$1, 32(%rbx)
	jmp	LBB0_58
LBB0_50:
	movl	40(%rbx), %esi
	movq	%rbx, %rdi
	callq	_write_XMT_DATA8
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_write_MASTER_CTL
	jmp	LBB0_58
LBB0_56:
	movq	%rbx, %rdi
	movl	$16320, %esi                    ## imm = 0x3FC0
	callq	_write_MASTER_CTL
	movl	$1, 32(%rbx)
LBB0_57:
	decl	(%rbx)
LBB0_58:
	movq	_MERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r15), %esi
	movb	36(%rbx), %al
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %r15
	cmpb	(%r15), %al
	jne	LBB0_60
## %bb.59:
	movq	_RCVSERV@GOTPCREL(%rip), %r13
LBB0_60:
	orl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_write_INT_MASK
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_SSYNC
	movq	%rbx, %rdi
	callq	_read_MASTER_CTL
	movq	_MEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movb	36(%rbx), %dl
	movl	$0, %ecx
	cmpb	(%r15), %dl
	jne	LBB0_62
## %bb.61:
	movq	_MDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_62:
	orl	%ecx, %eax
LBB0_63:
	movq	_CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ@GOTPCREL(%rip), %rcx
	cmpl	$101, (%rcx)
	jl	LBB0_65
## %bb.64:
	movq	_FAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_65:
	orl	%r14d, %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_write_MASTER_CTL
LBB0_66:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_67:
	xorl	%eax, %eax
	callq	_SSYNC
	movq	%r14, %rdi
	callq	_wait_for_completion
	movq	24(%rbx), %rax
	sarq	$63, %rax
LBB0_68:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_55:
	movq	%r12, %rdi
	callq	_del_timer
	jmp	LBB0_66
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_7
	.long	L0_0_set_23
	.long	L0_0_set_28
	.long	L0_0_set_15
	.long	L0_0_set_8
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_TWI_ENA,4,2                    ## @TWI_ENA
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_BUSBUSY,4,2                    ## @BUSBUSY
	.comm	_TWI_I2C_MODE_STANDARD,8,3      ## @TWI_I2C_MODE_STANDARD
	.comm	_I2C_SMBUS_READ,1,0             ## @I2C_SMBUS_READ
	.comm	_MERR,4,2                       ## @MERR
	.comm	_MCOMP,4,2                      ## @MCOMP
	.comm	_XMTSERV,4,2                    ## @XMTSERV
	.comm	_RCVSERV,4,2                    ## @RCVSERV
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_POLL_TIMEOUT,8,3               ## @POLL_TIMEOUT
	.comm	_MEN,4,2                        ## @MEN
	.comm	_CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ,4,2 ## @CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ
	.comm	_FAST,4,2                       ## @FAST
	.comm	_MDIR,4,2                       ## @MDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfin_twi_smbus_xfer            ; -- Begin function bfin_twi_smbus_xfer
	.p2align	2
_bfin_twi_smbus_xfer:                   ; @bfin_twi_smbus_xfer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x6
	mov	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x22, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_read_CONTROL
Lloh0:
	adrp	x8, _TWI_ENA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWI_ENA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_read_MASTER_STAT
Lloh3:
	adrp	x25, _BUSBUSY@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BUSBUSY@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_yield
	mov	x0, x19
	bl	_read_MASTER_STAT
	b	LBB0_2
LBB0_4:
	str	xzr, [x19]
	sub	w9, w21, #130
	cmp	w9, #6
	b.hi	LBB0_9
; %bb.5:
	and	w8, w24, #0xff
Lloh5:
	adrp	x10, lJTI0_0@PAGE
Lloh6:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh7:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_22
; %bb.7:
	mov	w9, #2
	b	LBB0_15
LBB0_8:
Lloh9:
	adrp	x8, _ENXIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_58
LBB0_9:
	mov	w0, #-1
	b	LBB0_58
LBB0_10:
	movi.2s	v0, #2
	str	d0, [x19]
	mov	w9, #129
	b	LBB0_27
LBB0_11:
Lloh12:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w10, [x9]
	ldr	x9, [x20]
	ldr	w9, [x9]
	cmp	w10, w8
	b.ne	LBB0_23
; %bb.12:
	str	w9, [x19, #4]
	mov	w9, #129
	b	LBB0_24
LBB0_13:
Lloh14:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh15:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_25
; %bb.14:
	mov	w9, #1
LBB0_15:
	str	w9, [x19, #4]
	mov	w9, #129
	b	LBB0_27
LBB0_16:
	cbz	x20, LBB0_19
; %bb.17:
Lloh16:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_31
; %bb.18:
	mov	w9, #1
	str	w9, [x19, #4]
	b	LBB0_32
LBB0_19:
	str	xzr, [x19, #8]
	b	LBB0_33
LBB0_20:
Lloh18:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh19:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_28
; %bb.21:
	mov	w9, #129
	b	LBB0_29
LBB0_22:
	mov	w9, #2
	b	LBB0_26
LBB0_23:
	str	w9, [x19]
	mov	w9, #128
LBB0_24:
	str	w9, [x19, #16]
	ldr	x9, [x20]
	add	x9, x9, #4
	b	LBB0_30
LBB0_25:
	mov	w9, #1
LBB0_26:
	str	w9, [x19]
	mov	w9, #128
LBB0_27:
	str	w9, [x19, #16]
	str	x20, [x19, #8]
	b	LBB0_34
LBB0_28:
	ldr	x9, [x20]
	ldr	w9, [x9]
	add	w9, w9, #1
	str	w9, [x19]
	mov	w9, #128
LBB0_29:
	str	w9, [x19, #16]
	ldr	x9, [x20]
LBB0_30:
	str	x9, [x19, #8]
	b	LBB0_34
LBB0_31:
	mov	w9, #1
	str	w9, [x19]
LBB0_32:
	str	x20, [x19, #8]
LBB0_33:
Lloh20:
	adrp	x9, _TWI_I2C_MODE_STANDARD@GOTPAGE
Lloh21:
	ldr	x9, [x9, _TWI_I2C_MODE_STANDARD@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	str	w9, [x19, #16]
LBB0_34:
	str	xzr, [x19, #24]
	str	wzr, [x19, #32]
	strb	w8, [x19, #36]
	mov	w8, #10
	add	x20, x19, #48
	stp	w23, w8, [x19, #40]
	mov	x0, x20
	bl	_init_completion
	mov	x0, x19
	mov	w1, #3
	bl	_write_FIFO_CTL
	bl	_SSYNC
	mov	x0, x19
	mov	w1, #0
	bl	_write_FIFO_CTL
Lloh23:
	adrp	x25, _MERR@GOTPAGE
Lloh24:
	ldr	x25, [x25, _MERR@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh25:
	adrp	x26, _MCOMP@GOTPAGE
Lloh26:
	ldr	x26, [x26, _MCOMP@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w8, w9, w8
Lloh27:
	adrp	x23, _XMTSERV@GOTPAGE
Lloh28:
	ldr	x23, [x23, _XMTSERV@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
Lloh29:
	adrp	x24, _RCVSERV@GOTPAGE
Lloh30:
	ldr	x24, [x24, _RCVSERV@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_write_INT_STAT
	mov	x0, x19
	mov	x1, x22
	bl	_write_MASTER_ADDR
	bl	_SSYNC
Lloh31:
	adrp	x8, _jiffies@GOTPAGE
Lloh32:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh33:
	adrp	x9, _POLL_TIMEOUT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _POLL_TIMEOUT@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
Lloh36:
	ldr	x9, [x9]
	add	x8, x9, x8
	mov	x22, x19
	str	x8, [x22, #56]!
	mov	x0, x22
	bl	_add_timer
	ldur	w8, [x22, #-40]
	cmp	w8, #129
	b.eq	LBB0_38
; %bb.35:
	cmp	w8, #128
	b.ne	LBB0_40
; %bb.36:
	ldr	w1, [x19, #40]
	mov	x0, x19
	bl	_write_XMT_DATA8
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w8, w9, w8
Lloh37:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh38:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w10, [x19, #36]
	ldrb	w9, [x9]
	cmp	w10, w9
	csel	x9, x24, x23, eq
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_write_INT_MASK
	bl	_SSYNC
	ldr	w8, [x19]
	cmp	w8, #254
	b.gt	LBB0_44
; %bb.37:
	lsl	w8, w8, #6
	add	w1, w8, #64
	b	LBB0_39
LBB0_38:
	ldr	w1, [x19, #40]
	mov	x0, x19
	bl	_write_XMT_DATA8
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x23]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_write_INT_MASK
	bl	_SSYNC
	ldr	w8, [x19]
	lsl	w9, w8, #6
	add	w9, w9, #64
	mov	w10, #64
	cmp	w8, #0
	csel	w1, w9, w10, gt
LBB0_39:
	mov	x0, x19
	bl	_write_MASTER_CTL
	b	LBB0_45
LBB0_40:
	mov	x0, x19
	mov	w1, #0
	bl	_write_MASTER_CTL
	cmp	w21, #131
	b.eq	LBB0_55
; %bb.41:
	ldrb	w8, [x19, #36]
Lloh39:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh40:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_46
; %bb.42:
	ldr	w8, [x19, #4]
	sub	w9, w8, #1
	cmp	w9, #254
	b.hi	LBB0_49
; %bb.43:
	lsl	w1, w8, #6
	mov	x0, x19
	b	LBB0_52
LBB0_44:
	mov	x0, x19
	mov	w1, #16320
	bl	_write_MASTER_CTL
	mov	w8, #1
	str	w8, [x19, #32]
LBB0_45:
	mov	x0, x19
	bl	_read_MASTER_CTL
Lloh41:
	adrp	x8, _MEN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MEN@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	orr	w8, w8, w0
	b	LBB0_56
LBB0_46:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.47:
	ldr	x8, [x19, #8]
	ldr	w1, [x8], #4
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_write_XMT_DATA8
	ldr	w8, [x19]
	cmp	w8, #255
	b.gt	LBB0_53
; %bb.48:
	lsl	w1, w8, #6
	mov	x0, x19
	bl	_write_MASTER_CTL
	b	LBB0_54
LBB0_49:
	cmp	w8, #256
	b.lt	LBB0_59
; %bb.50:
	mov	x0, x19
	mov	w1, #16320
	bl	_write_MASTER_CTL
	mov	w8, #1
	str	w8, [x19, #32]
	b	LBB0_55
LBB0_51:
	ldr	w1, [x19, #40]
	mov	x0, x19
	bl	_write_XMT_DATA8
	mov	x0, x19
	mov	w1, #64
LBB0_52:
	bl	_write_MASTER_CTL
	b	LBB0_55
LBB0_53:
	mov	x0, x19
	mov	w1, #16320
	bl	_write_MASTER_CTL
	mov	w8, #1
	str	w8, [x19, #32]
LBB0_54:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_55:
	ldr	w8, [x26]
	ldr	w9, [x25]
	orr	w8, w9, w8
Lloh44:
	adrp	x21, _I2C_SMBUS_READ@GOTPAGE
Lloh45:
	ldr	x21, [x21, _I2C_SMBUS_READ@GOTPAGEOFF]
	ldrb	w9, [x19, #36]
	ldrb	w10, [x21]
	cmp	w9, w10
	csel	x9, x24, x23, eq
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_write_INT_MASK
	bl	_SSYNC
	mov	x0, x19
	bl	_read_MASTER_CTL
Lloh46:
	adrp	x8, _MEN@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MEN@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldrb	w9, [x19, #36]
	ldrb	w10, [x21]
Lloh49:
	adrp	x11, _MDIR@GOTPAGE
Lloh50:
	ldr	x11, [x11, _MDIR@GOTPAGEOFF]
Lloh51:
	ldr	w11, [x11]
	cmp	w9, w10
	csel	w9, w11, wzr, eq
	orr	w8, w8, w9
LBB0_56:
Lloh52:
	adrp	x9, _CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ@GOTPAGE
Lloh53:
	ldr	x9, [x9, _CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x10, _FAST@GOTPAGE
Lloh56:
	ldr	x10, [x10, _FAST@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	cmp	w9, #100
	csel	w9, w10, wzr, gt
	orr	w1, w8, w9
	mov	x0, x19
	bl	_write_MASTER_CTL
LBB0_57:
	bl	_SSYNC
	mov	x0, x20
	bl	_wait_for_completion
	ldr	x8, [x19, #24]
	asr	x0, x8, #63
LBB0_58:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_59:
	mov	x0, x22
	bl	_del_timer
	b	LBB0_57
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh35
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_19-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
	.byte	(LBB0_20-LBB0_6)>>2
                                        ; -- End function
	.comm	_TWI_ENA,4,2                    ; @TWI_ENA
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_BUSBUSY,4,2                    ; @BUSBUSY
	.comm	_TWI_I2C_MODE_STANDARD,8,3      ; @TWI_I2C_MODE_STANDARD
	.comm	_I2C_SMBUS_READ,1,0             ; @I2C_SMBUS_READ
	.comm	_MERR,4,2                       ; @MERR
	.comm	_MCOMP,4,2                      ; @MCOMP
	.comm	_XMTSERV,4,2                    ; @XMTSERV
	.comm	_RCVSERV,4,2                    ; @RCVSERV
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_POLL_TIMEOUT,8,3               ; @POLL_TIMEOUT
	.comm	_MEN,4,2                        ; @MEN
	.comm	_CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ,4,2 ; @CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ
	.comm	_FAST,4,2                       ; @FAST
	.comm	_MDIR,4,2                       ; @MDIR
.subsections_via_symbols
