	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function owl_i2c_master_xfer
_owl_i2c_master_xfer:                   ## @owl_i2c_master_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_i2c_get_adapdata
	movq	%rax, %r15
	movq	%rax, %r14
	leaq	24(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	callq	_owl_i2c_reset
	movq	%r15, %rdi
	callq	_owl_i2c_set_freq
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_owl_i2c_reset_fifo
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.1:
	movq	%r12, %rdi
	callq	_owl_i2c_check_bus_busy
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_irqsave
	movq	_OWL_I2C_REG_STAT@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	16(%rbx), %rdi
	callq	_readl
	movq	_OWL_I2C_STAT_LAB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	notl	%ecx
	andl	%ecx, %eax
	movq	(%r14), %rsi
	addq	16(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_23
LBB0_4:
	addq	$28, %r15
	movq	%r15, %rdi
	callq	_reinit_completion
	movq	_OWL_I2C_REG_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	movq	_OWL_I2C_CTL_IRQE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_owl_i2c_update_reg
	movq	_OWL_I2C_CMD_SECL@GOTPCREL(%rip), %rax
	movq	_OWL_I2C_CMD_MSS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movq	_OWL_I2C_CMD_SE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_OWL_I2C_CMD_NS@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_OWL_I2C_CMD_DE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_OWL_I2C_CMD_SBE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_9
## %bb.5:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	(%r13), %edi
	incl	%edi
	callq	_OWL_I2C_CMD_AS
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_OWL_I2C_CMD_SAS
	orl	%r14d, %eax
	movq	_OWL_I2C_CMD_RBE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_i2c_8bit_addr_from_msg
	movq	_OWL_I2C_REG_TXDAT@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	16(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	cmpl	$0, (%r13)
	jle	LBB0_8
## %bb.6:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%r14,4), %edi
	movq	(%r12), %rsi
	addq	16(%rbx), %rsi
	callq	_writel
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jl	LBB0_7
LBB0_8:
	addq	$24, %r13
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_9:
	movl	$1, %edi
	callq	_OWL_I2C_CMD_AS
LBB0_10:
	orl	%eax, %r14d
	movq	%r13, 32(%rbx)
	movl	$0, (%rbx)
	movl	(%r13), %edi
	movq	_OWL_I2C_REG_DATCNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	callq	_writel
	movq	%r13, %rdi
	callq	_i2c_8bit_addr_from_msg
	movq	_OWL_I2C_REG_TXDAT@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	16(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	16(%r13), %eax
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_12:
	cmpl	$0, (%r13)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jle	LBB0_13
## %bb.14:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_OWL_I2C_REG_FIFOSTAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_readl
	movq	_OWL_I2C_FIFOSTAT_TFF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%r14,4), %edi
	movq	(%r12), %rsi
	addq	16(%rbx), %rsi
	callq	_writel
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jl	LBB0_15
LBB0_17:
	movl	16(%r13), %eax
	jmp	LBB0_18
LBB0_13:
	xorl	%r14d, %r14d
LBB0_18:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%r14d, (%rbx)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_19:
	movq	_I2C_M_IGNORE_NAK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movq	_OWL_I2C_REG_FIFOCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	movq	_OWL_I2C_FIFOCTL_NIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_owl_i2c_update_reg
	movq	_OWL_I2C_REG_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	%rbx, %r12
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	4(%r13), %esi
	movq	%r15, %rdi
	callq	_wait_for_completion_timeout
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	testq	%r14, %r14
	je	LBB0_20
## %bb.21:
	movq	8(%r12), %rax
	testq	%rax, %rax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	cmovsl	%eax, %r14d
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_OWL_I2C_REG_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r12), %rdi
	movq	_OWL_I2C_CTL_GBCC_STOP@GOTPCREL(%rip), %rax
	movq	_OWL_I2C_CTL_RB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	$1, %edx
	callq	_owl_i2c_update_reg
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_22:
	movq	%r12, %rbx
LBB0_23:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
LBB0_24:
	movq	_OWL_I2C_REG_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	movq	_OWL_I2C_CTL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_owl_i2c_update_reg
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OWL_I2C_REG_STAT,8,3           ## @OWL_I2C_REG_STAT
	.comm	_OWL_I2C_STAT_LAB,4,2           ## @OWL_I2C_STAT_LAB
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_OWL_I2C_REG_CTL,8,3            ## @OWL_I2C_REG_CTL
	.comm	_OWL_I2C_CTL_IRQE,4,2           ## @OWL_I2C_CTL_IRQE
	.comm	_OWL_I2C_CMD_SECL,4,2           ## @OWL_I2C_CMD_SECL
	.comm	_OWL_I2C_CMD_MSS,4,2            ## @OWL_I2C_CMD_MSS
	.comm	_OWL_I2C_CMD_SE,4,2             ## @OWL_I2C_CMD_SE
	.comm	_OWL_I2C_CMD_NS,4,2             ## @OWL_I2C_CMD_NS
	.comm	_OWL_I2C_CMD_DE,4,2             ## @OWL_I2C_CMD_DE
	.comm	_OWL_I2C_CMD_SBE,4,2            ## @OWL_I2C_CMD_SBE
	.comm	_OWL_I2C_CMD_RBE,4,2            ## @OWL_I2C_CMD_RBE
	.comm	_OWL_I2C_REG_TXDAT,8,3          ## @OWL_I2C_REG_TXDAT
	.comm	_OWL_I2C_REG_DATCNT,8,3         ## @OWL_I2C_REG_DATCNT
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_OWL_I2C_REG_FIFOSTAT,8,3       ## @OWL_I2C_REG_FIFOSTAT
	.comm	_OWL_I2C_FIFOSTAT_TFF,4,2       ## @OWL_I2C_FIFOSTAT_TFF
	.comm	_I2C_M_IGNORE_NAK,4,2           ## @I2C_M_IGNORE_NAK
	.comm	_OWL_I2C_REG_FIFOCTL,8,3        ## @OWL_I2C_REG_FIFOCTL
	.comm	_OWL_I2C_FIFOCTL_NIB,4,2        ## @OWL_I2C_FIFOCTL_NIB
	.comm	_OWL_I2C_REG_CMD,8,3            ## @OWL_I2C_REG_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transaction timed out\n"

	.comm	_OWL_I2C_CTL_GBCC_STOP,4,2      ## @OWL_I2C_CTL_GBCC_STOP
	.comm	_OWL_I2C_CTL_RB,4,2             ## @OWL_I2C_CTL_RB
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_OWL_I2C_CTL_EN,4,2             ## @OWL_I2C_CTL_EN
	.no_dead_strip	_owl_i2c_master_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function owl_i2c_master_xfer
_owl_i2c_master_xfer:                   ; @owl_i2c_master_xfer
	.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	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_i2c_get_adapdata
	mov	x19, x0
	add	x20, x0, #24
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_owl_i2c_reset
	mov	x0, x19
	bl	_owl_i2c_set_freq
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_owl_i2c_reset_fifo
	mov	x24, x0
Lloh0:
	adrp	x26, _OWL_I2C_REG_CTL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _OWL_I2C_REG_CTL@GOTPAGEOFF]
	cbnz	w0, LBB0_22
; %bb.1:
	mov	x0, x22
	bl	_owl_i2c_check_bus_busy
	mov	x24, x0
	cbnz	w0, LBB0_22
; %bb.2:
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x24, _OWL_I2C_REG_STAT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _OWL_I2C_REG_STAT@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
Lloh4:
	adrp	x8, _OWL_I2C_STAT_LAB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OWL_I2C_STAT_LAB@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:
	bic	w0, w0, w8
	ldr	x8, [x19, #16]
	ldr	x9, [x24]
	add	x1, x9, x8
	bl	_writel
Lloh7:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_21
LBB0_5:
	add	x24, x19, #28
	mov	x0, x24
	bl	_reinit_completion
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
	add	x0, x9, x8
Lloh9:
	adrp	x8, _OWL_I2C_CTL_IRQE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OWL_I2C_CTL_IRQE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_owl_i2c_update_reg
Lloh12:
	adrp	x8, _OWL_I2C_CMD_SECL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OWL_I2C_CMD_SECL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _OWL_I2C_CMD_MSS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OWL_I2C_CMD_MSS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _OWL_I2C_CMD_SE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _OWL_I2C_CMD_SE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh20:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _OWL_I2C_CMD_NS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _OWL_I2C_CMD_NS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _OWL_I2C_CMD_DE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _OWL_I2C_CMD_DE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _OWL_I2C_CMD_SBE@GOTPAGE
Lloh28:
	ldr	x10, [x10, _OWL_I2C_CMD_SBE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh29:
	ldr	w9, [x10]
	orr	w28, w8, w9
Lloh30:
	adrp	x27, _OWL_I2C_REG_TXDAT@GOTPAGE
Lloh31:
	ldr	x27, [x27, _OWL_I2C_REG_TXDAT@GOTPAGEOFF]
	cmp	w21, #2
	b.lt	LBB0_10
; %bb.6:
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x23]
	add	w0, w8, #1
	bl	_OWL_I2C_CMD_AS
	mov	x25, x0
	mov	w0, #1
	bl	_OWL_I2C_CMD_SAS
	orr	w8, w0, w25
Lloh32:
	adrp	x9, _OWL_I2C_CMD_RBE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _OWL_I2C_CMD_RBE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w25, w8, w9
	mov	x0, x23
	bl	_i2c_8bit_addr_from_msg
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	w0, [x8, x24, lsl #2]
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.lt	LBB0_8
LBB0_9:
	add	x23, x23, #24
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_11
LBB0_10:
	mov	w0, #1
	bl	_OWL_I2C_CMD_AS
	mov	x25, x0
LBB0_11:
	orr	w25, w28, w25
	str	x23, [x19, #32]
	str	wzr, [x19]
	ldr	w0, [x23]
	ldr	x8, [x19, #16]
Lloh35:
	adrp	x9, _OWL_I2C_REG_DATCNT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _OWL_I2C_REG_DATCNT@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x23
	bl	_i2c_8bit_addr_from_msg
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x23, #16]
Lloh38:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh39:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.12:
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.13:
	str	w25, [sp, #4]                   ; 4-byte Folded Spill
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	x28, #0
Lloh41:
	adrp	x24, _OWL_I2C_REG_FIFOSTAT@GOTPAGE
Lloh42:
	ldr	x24, [x24, _OWL_I2C_REG_FIFOSTAT@GOTPAGEOFF]
Lloh43:
	adrp	x25, _OWL_I2C_FIFOSTAT_TFF@GOTPAGE
Lloh44:
	ldr	x25, [x25, _OWL_I2C_FIFOSTAT_TFF@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x25]
	tst	w8, w0
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x23, #8]
	ldr	w0, [x8, x28, lsl #2]
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	add	x1, x9, x8
	bl	_writel
	add	x28, x28, #1
	ldrsw	x8, [x23]
	cmp	x28, x8
	b.lt	LBB0_14
LBB0_16:
	ldr	w8, [x23, #16]
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w25, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_18
LBB0_17:
	mov	w28, #0
LBB0_18:
	str	w28, [x19]
LBB0_19:
Lloh45:
	adrp	x9, _I2C_M_IGNORE_NAK@GOTPAGE
Lloh46:
	ldr	x9, [x9, _I2C_M_IGNORE_NAK@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
Lloh48:
	adrp	x8, _OWL_I2C_REG_FIFOCTL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _OWL_I2C_REG_FIFOCTL@GOTPAGEOFF]
	ldr	x9, [x19, #16]
Lloh50:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh51:
	adrp	x8, _OWL_I2C_FIFOCTL_NIB@GOTPAGE
Lloh52:
	ldr	x8, [x8, _OWL_I2C_FIFOCTL_NIB@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_owl_i2c_update_reg
	ldr	x8, [x19, #16]
Lloh54:
	adrp	x9, _OWL_I2C_REG_CMD@GOTPAGE
Lloh55:
	ldr	x9, [x9, _OWL_I2C_REG_CMD@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x25
	bl	_writel
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w1, [x22, #4]
	mov	x0, x24
	bl	_wait_for_completion_timeout
	mov	x23, x0
	mov	x0, x20
	bl	_spin_lock_irqsave
	cbz	x23, LBB0_23
; %bb.20:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	csel	w24, w8, w21, lt
LBB0_21:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_22:
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
	add	x0, x9, x8
Lloh57:
	adrp	x8, _OWL_I2C_CTL_EN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _OWL_I2C_CTL_EN@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_owl_i2c_update_reg
	mov	x0, x24
	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_23:
Lloh60:
	adrp	x1, l_.str@PAGE
Lloh61:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
Lloh62:
	adrp	x10, _OWL_I2C_CTL_GBCC_STOP@GOTPAGE
Lloh63:
	ldr	x10, [x10, _OWL_I2C_CTL_GBCC_STOP@GOTPAGEOFF]
	add	x0, x9, x8
Lloh64:
	ldr	w8, [x10]
Lloh65:
	adrp	x9, _OWL_I2C_CTL_RB@GOTPAGE
Lloh66:
	ldr	x9, [x9, _OWL_I2C_CTL_RB@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #1
	bl	_owl_i2c_update_reg
Lloh68:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_OWL_I2C_REG_STAT,8,3           ; @OWL_I2C_REG_STAT
	.comm	_OWL_I2C_STAT_LAB,4,2           ; @OWL_I2C_STAT_LAB
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_OWL_I2C_REG_CTL,8,3            ; @OWL_I2C_REG_CTL
	.comm	_OWL_I2C_CTL_IRQE,4,2           ; @OWL_I2C_CTL_IRQE
	.comm	_OWL_I2C_CMD_SECL,4,2           ; @OWL_I2C_CMD_SECL
	.comm	_OWL_I2C_CMD_MSS,4,2            ; @OWL_I2C_CMD_MSS
	.comm	_OWL_I2C_CMD_SE,4,2             ; @OWL_I2C_CMD_SE
	.comm	_OWL_I2C_CMD_NS,4,2             ; @OWL_I2C_CMD_NS
	.comm	_OWL_I2C_CMD_DE,4,2             ; @OWL_I2C_CMD_DE
	.comm	_OWL_I2C_CMD_SBE,4,2            ; @OWL_I2C_CMD_SBE
	.comm	_OWL_I2C_CMD_RBE,4,2            ; @OWL_I2C_CMD_RBE
	.comm	_OWL_I2C_REG_TXDAT,8,3          ; @OWL_I2C_REG_TXDAT
	.comm	_OWL_I2C_REG_DATCNT,8,3         ; @OWL_I2C_REG_DATCNT
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_OWL_I2C_REG_FIFOSTAT,8,3       ; @OWL_I2C_REG_FIFOSTAT
	.comm	_OWL_I2C_FIFOSTAT_TFF,4,2       ; @OWL_I2C_FIFOSTAT_TFF
	.comm	_I2C_M_IGNORE_NAK,4,2           ; @I2C_M_IGNORE_NAK
	.comm	_OWL_I2C_REG_FIFOCTL,8,3        ; @OWL_I2C_REG_FIFOCTL
	.comm	_OWL_I2C_FIFOCTL_NIB,4,2        ; @OWL_I2C_FIFOCTL_NIB
	.comm	_OWL_I2C_REG_CMD,8,3            ; @OWL_I2C_REG_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transaction timed out\n"

	.comm	_OWL_I2C_CTL_GBCC_STOP,4,2      ; @OWL_I2C_CTL_GBCC_STOP
	.comm	_OWL_I2C_CTL_RB,4,2             ; @OWL_I2C_CTL_RB
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_OWL_I2C_CTL_EN,4,2             ; @OWL_I2C_CTL_EN
	.no_dead_strip	_owl_i2c_master_xfer
.subsections_via_symbols
