	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_i2c_probe
_omap_i2c_probe:                        ## @omap_i2c_probe
	.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	%rdi, %r13
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	(%r13), %r12
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$152, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 136(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.33:
	movq	136(%r14), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_32
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_32
LBB0_5:
	movq	_omap_i2c_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_ptr
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$100000, -44(%rbp)              ## imm = 0x186A0
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_property_read_u32
	movslq	-44(%rbp), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_9
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	4(%r15), %eax
	movl	%eax, 4(%r14)
	movl	(%r15), %eax
	movl	%eax, (%r14)
	movq	8(%r15), %rax
	movq	%rax, 112(%r14)
LBB0_9:
	movq	%r13, 40(%r14)
	movl	%ebx, 8(%r14)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	leaq	144(%r14), %rdi
	callq	_init_completion
	movl	(%r14), %eax
	movq	_OMAP_I2C_FLAG_BUS_SHIFT__SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	andl	$3, %eax
	movl	%eax, 12(%r14)
	movq	40(%r14), %rdi
	callq	_pm_runtime_enable
	movq	40(%r14), %rdi
	movq	_OMAP_I2C_PM_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pm_runtime_set_autosuspend_delay
	movq	40(%r14), %rdi
	callq	_pm_runtime_use_autosuspend
	movq	40(%r14), %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movq	136(%r14), %rdi
	addq	$4, %rdi
	callq	_readw_relaxed
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_OMAP_I2C_SCHEME
	movl	%eax, 16(%r14)
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.12:
	movq	_reg_map_ip_v1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 128(%r14)
	movq	_OMAP_I2C_REV_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_omap_i2c_read_reg
	movl	%eax, 20(%r14)
	movl	%eax, %edi
	callq	_OMAP_I2C_REV_SCHEME_0_MAJOR
	movl	%eax, %r15d
	movl	20(%r14), %edi
	callq	_OMAP_I2C_REV_SCHEME_0_MAJOR
	movl	%eax, %r12d
	movl	20(%r14), %ebx
	jmp	LBB0_14
LBB0_10:
	movl	%eax, %ebx
	jmp	LBB0_32
LBB0_13:
	movq	_reg_map_ip_v2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 128(%r14)
	shll	$16, %r15d
	movq	_OMAP_I2C_IP_V2_REVNB_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_omap_i2c_read_reg
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movl	%ebx, %edi
	callq	_OMAP_I2C_REV_SCHEME_1_MINOR
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_OMAP_I2C_REV_SCHEME_1_MAJOR
	movl	%eax, %r12d
	movl	%ebx, 20(%r14)
LBB0_14:
	movl	$0, 120(%r14)
	movslq	%ebx, %rcx
	movq	_OMAP_I2C_REV_ON_2430@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	%rcx, (%rdx)
	jg	LBB0_17
## %bb.15:
	movq	_OMAP_I2C_REV_ON_4430_PLUS@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jle	LBB0_17
## %bb.16:
	movq	_I2C_OMAP_ERRATA_I207@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r14)
LBB0_17:
	movq	_OMAP_I2C_REV_ON_3430_3530@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jl	LBB0_19
## %bb.18:
	movq	_I2C_OMAP_ERRATA_I462@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 120(%r14)
LBB0_19:
	movq	_OMAP_I2C_FLAG_NO_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_24
## %bb.20:
	movq	_OMAP_I2C_BUFSTAT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_omap_i2c_read_reg
	shrl	$14, %eax
	andb	$3, %al
	movl	$8, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	shrl	%edx
	movl	%edx, 24(%r14)
	movslq	20(%r14), %rax
	movq	_OMAP_I2C_REV_ON_3630@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jle	LBB0_22
## %bb.21:
	movl	$1, 28(%r14)
LBB0_22:
	cmpq	$0, 112(%r14)
	je	LBB0_24
## %bb.23:
	imull	$125, 4(%r14), %ecx
	imull	$1000000, %edx, %eax            ## imm = 0xF4240
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, 32(%r14)
LBB0_24:
	movq	%r14, %rdi
	callq	_omap_i2c_init
	movslq	20(%r14), %rax
	movq	_OMAP_I2C_OMAP1_REV_2@GOTPCREL(%rip), %rcx
	movl	8(%r14), %esi
	cmpq	%rax, (%rcx)
	jle	LBB0_26
## %bb.25:
	movq	_omap_i2c_omap1_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_NO_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	12(%r13), %r8d
	movq	%r13, %rdi
	movq	%r14, %r9
	callq	_devm_request_irq
	jmp	LBB0_27
LBB0_26:
	movq	_omap_i2c_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_omap_i2c_isr_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_NO_SUSPEND@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	orl	(%rax), %r8d
	movl	12(%r13), %r9d
	movq	%r14, (%rsp)
	movq	%r13, %rdi
	callq	_devm_request_threaded_irq
LBB0_27:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_30
## %bb.28:
	movq	40(%r14), %rdi
	movl	8(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_29
LBB0_30:
	movq	%r14, %rbx
	addq	$48, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_adapdata
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%r14)
	movq	_I2C_CLASS_DEPRECATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r14)
	movl	96(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_omap_i2c_algo@GOTPCREL(%rip), %rax
	movq	%rax, 88(%r14)
	movq	_omap_i2c_quirks@GOTPCREL(%rip), %rax
	movq	%rax, 80(%r14)
	movq	%r13, 72(%r14)
	movq	(%r13), %rax
	movq	%rax, 64(%r14)
	movq	_omap_i2c_bus_recovery_info@GOTPCREL(%rip), %rax
	movq	%rax, 56(%r14)
	movl	8(%r13), %eax
	movl	%eax, 48(%r14)
	movq	%rbx, %rdi
	callq	_i2c_add_numbered_adapter
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_31
LBB0_29:
	movq	_OMAP_I2C_CON_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_omap_i2c_write_reg
	movq	40(%r14), %rdi
	callq	_pm_runtime_dont_use_autosuspend
	movq	40(%r14), %rdi
	callq	_pm_runtime_put_sync
	movq	%r13, %rdi
	callq	_pm_runtime_disable
LBB0_32:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	40(%r14), %rdi
	movl	48(%r14), %edx
	movl	4(%r14), %r9d
	leaq	L_.str.4(%rip), %rsi
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	callq	_dev_info
	movq	40(%r14), %rdi
	callq	_pm_runtime_mark_last_busy
	movq	40(%r14), %rdi
	callq	_pm_runtime_put_autosuspend
	xorl	%ebx, %ebx
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no irq resource?\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_omap_i2c_of_match,4,2          ## @omap_i2c_of_match
L_.str.1:                               ## @.str.1
	.asciz	"clock-frequency"

	.comm	_OMAP_I2C_FLAG_BUS_SHIFT__SHIFT,4,2 ## @OMAP_I2C_FLAG_BUS_SHIFT__SHIFT
	.comm	_OMAP_I2C_PM_TIMEOUT,4,2        ## @OMAP_I2C_PM_TIMEOUT
	.comm	_reg_map_ip_v1,8,3              ## @reg_map_ip_v1
	.comm	_OMAP_I2C_REV_REG,4,2           ## @OMAP_I2C_REV_REG
	.comm	_reg_map_ip_v2,8,3              ## @reg_map_ip_v2
	.comm	_OMAP_I2C_IP_V2_REVNB_LO,4,2    ## @OMAP_I2C_IP_V2_REVNB_LO
	.comm	_OMAP_I2C_REV_ON_2430,8,3       ## @OMAP_I2C_REV_ON_2430
	.comm	_OMAP_I2C_REV_ON_4430_PLUS,8,3  ## @OMAP_I2C_REV_ON_4430_PLUS
	.comm	_I2C_OMAP_ERRATA_I207,4,2       ## @I2C_OMAP_ERRATA_I207
	.comm	_OMAP_I2C_REV_ON_3430_3530,8,3  ## @OMAP_I2C_REV_ON_3430_3530
	.comm	_I2C_OMAP_ERRATA_I462,4,2       ## @I2C_OMAP_ERRATA_I462
	.comm	_OMAP_I2C_FLAG_NO_FIFO,4,2      ## @OMAP_I2C_FLAG_NO_FIFO
	.comm	_OMAP_I2C_BUFSTAT_REG,4,2       ## @OMAP_I2C_BUFSTAT_REG
	.comm	_OMAP_I2C_REV_ON_3630,8,3       ## @OMAP_I2C_REV_ON_3630
	.comm	_OMAP_I2C_OMAP1_REV_2,8,3       ## @OMAP_I2C_OMAP1_REV_2
	.comm	_omap_i2c_omap1_isr,4,2         ## @omap_i2c_omap1_isr
	.comm	_IRQF_NO_SUSPEND,4,2            ## @IRQF_NO_SUSPEND
	.comm	_omap_i2c_isr,4,2               ## @omap_i2c_isr
	.comm	_omap_i2c_isr_thread,4,2        ## @omap_i2c_isr_thread
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.2:                               ## @.str.2
	.asciz	"failure requesting irq %i\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_I2C_CLASS_DEPRECATED,4,2       ## @I2C_CLASS_DEPRECATED
L_.str.3:                               ## @.str.3
	.asciz	"OMAP I2C adapter"

	.comm	_omap_i2c_algo,4,2              ## @omap_i2c_algo
	.comm	_omap_i2c_quirks,4,2            ## @omap_i2c_quirks
	.comm	_omap_i2c_bus_recovery_info,4,2 ## @omap_i2c_bus_recovery_info
L_.str.4:                               ## @.str.4
	.asciz	"bus %d rev%d.%d at %d kHz\n"

	.comm	_OMAP_I2C_CON_REG,4,2           ## @OMAP_I2C_CON_REG
	.no_dead_strip	_omap_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_i2c_probe
_omap_i2c_probe:                        ; @omap_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	bl	_dev_get_platdata
	mov	x22, x0
	ldr	x21, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x23, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #152
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #136]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x0, [x20, #136]
	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
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_31
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_31
LBB0_6:
Lloh11:
	adrp	x8, _omap_i2c_of_match@GOTPAGE
Lloh12:
	ldr	x8, [x8, _omap_i2c_of_match@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_of_match_ptr
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #34464
	movk	w8, #1, lsl #16
	str	w8, [sp, #12]
	ldr	x8, [x0]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_of_property_read_u32
	ldrsw	x8, [sp, #12]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	w8, [x20, #4]
	b	LBB0_10
LBB0_8:
	cbz	x22, LBB0_10
; %bb.9:
	ldr	d0, [x22]
	str	d0, [x20]
	ldr	x8, [x22, #8]
	str	x8, [x20, #112]
LBB0_10:
	str	x19, [x20, #40]
	str	w23, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	add	x0, x20, #144
	bl	_init_completion
Lloh16:
	adrp	x8, _OMAP_I2C_FLAG_BUS_SHIFT__SHIFT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OMAP_I2C_FLAG_BUS_SHIFT__SHIFT@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh18:
	ldr	w8, [x8]
	asr	w8, w9, w8
	and	w8, w8, #0x3
	str	w8, [x20, #12]
	ldr	x0, [x20, #40]
	bl	_pm_runtime_enable
	ldr	x0, [x20, #40]
Lloh19:
	adrp	x8, _OMAP_I2C_PM_TIMEOUT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OMAP_I2C_PM_TIMEOUT@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_pm_runtime_set_autosuspend_delay
	ldr	x0, [x20, #40]
	bl	_pm_runtime_use_autosuspend
	ldr	x0, [x20, #40]
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_13
; %bb.11:
	ldr	x8, [x20, #136]
	add	x0, x8, #4
	bl	_readw_relaxed
	mov	x21, x0
	bl	_OMAP_I2C_SCHEME
	str	w0, [x20, #16]
	cmp	w0, #129
	b.ne	LBB0_14
; %bb.12:
Lloh22:
	adrp	x8, _reg_map_ip_v1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _reg_map_ip_v1@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x20, #128]
Lloh25:
	adrp	x8, _OMAP_I2C_REV_REG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OMAP_I2C_REV_REG@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_i2c_read_reg
	str	w0, [x20, #20]
	bl	_OMAP_I2C_REV_SCHEME_0_MAJOR
	mov	x21, x0
	ldr	w0, [x20, #20]
	bl	_OMAP_I2C_REV_SCHEME_0_MAJOR
	mov	x22, x0
	ldr	w23, [x20, #20]
	b	LBB0_15
LBB0_13:
	mov	x23, x0
	b	LBB0_31
LBB0_14:
Lloh28:
	adrp	x8, _reg_map_ip_v2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _reg_map_ip_v2@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	x8, [x20, #128]
Lloh31:
	adrp	x8, _OMAP_I2C_IP_V2_REVNB_LO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OMAP_I2C_IP_V2_REVNB_LO@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_i2c_read_reg
	orr	w23, w0, w21, lsl #16
	mov	x0, x23
	bl	_OMAP_I2C_REV_SCHEME_1_MINOR
	mov	x21, x0
	mov	x0, x23
	bl	_OMAP_I2C_REV_SCHEME_1_MAJOR
	mov	x22, x0
	str	w23, [x20, #20]
LBB0_15:
	mov	w8, #0
	str	wzr, [x20, #120]
	sxtw	x9, w23
Lloh34:
	adrp	x10, _OMAP_I2C_REV_ON_2430@GOTPAGE
Lloh35:
	ldr	x10, [x10, _OMAP_I2C_REV_ON_2430@GOTPAGEOFF]
Lloh36:
	ldr	x10, [x10]
	cmp	x10, x9
	b.gt	LBB0_18
; %bb.16:
Lloh37:
	adrp	x10, _OMAP_I2C_REV_ON_4430_PLUS@GOTPAGE
Lloh38:
	ldr	x10, [x10, _OMAP_I2C_REV_ON_4430_PLUS@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	cmp	x10, x9
	b.le	LBB0_18
; %bb.17:
Lloh40:
	adrp	x8, _I2C_OMAP_ERRATA_I207@GOTPAGE
Lloh41:
	ldr	x8, [x8, _I2C_OMAP_ERRATA_I207@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x20, #120]
LBB0_18:
Lloh43:
	adrp	x10, _OMAP_I2C_REV_ON_3430_3530@GOTPAGE
Lloh44:
	ldr	x10, [x10, _OMAP_I2C_REV_ON_3430_3530@GOTPAGEOFF]
Lloh45:
	ldr	x10, [x10]
	cmp	x10, x9
	b.lt	LBB0_20
; %bb.19:
Lloh46:
	adrp	x9, _I2C_OMAP_ERRATA_I462@GOTPAGE
Lloh47:
	ldr	x9, [x9, _I2C_OMAP_ERRATA_I462@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #120]
LBB0_20:
	ldr	w8, [x20]
Lloh49:
	adrp	x9, _OMAP_I2C_FLAG_NO_FIFO@GOTPAGE
Lloh50:
	ldr	x9, [x9, _OMAP_I2C_FLAG_NO_FIFO@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_25
; %bb.21:
Lloh52:
	adrp	x8, _OMAP_I2C_BUFSTAT_REG@GOTPAGE
Lloh53:
	ldr	x8, [x8, _OMAP_I2C_BUFSTAT_REG@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_omap_i2c_read_reg
	ubfx	w8, w0, #14, #2
	mov	w9, #8
	lsl	w8, w9, w8
	lsr	w8, w8, #1
	str	w8, [x20, #24]
	ldrsw	x9, [x20, #20]
Lloh55:
	adrp	x10, _OMAP_I2C_REV_ON_3630@GOTPAGE
Lloh56:
	ldr	x10, [x10, _OMAP_I2C_REV_ON_3630@GOTPAGEOFF]
Lloh57:
	ldr	x10, [x10]
	cmp	x10, x9
	b.le	LBB0_23
; %bb.22:
	mov	w9, #1
	str	w9, [x20, #28]
LBB0_23:
	ldr	x9, [x20, #112]
	cbz	x9, LBB0_25
; %bb.24:
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	w8, w8, w9
	ldr	w9, [x20, #4]
	mov	w10, #125
	mul	w9, w9, w10
	sdiv	w8, w8, w9
	str	w8, [x20, #32]
LBB0_25:
	mov	x0, x20
	bl	_omap_i2c_init
	ldrsw	x8, [x20, #20]
Lloh58:
	adrp	x9, _OMAP_I2C_OMAP1_REV_2@GOTPAGE
Lloh59:
	ldr	x9, [x9, _OMAP_I2C_OMAP1_REV_2@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	ldr	w1, [x20, #8]
	cmp	x9, x8
	b.le	LBB0_28
; %bb.26:
Lloh61:
	adrp	x8, _omap_i2c_omap1_isr@GOTPAGE
Lloh62:
	ldr	x8, [x8, _omap_i2c_omap1_isr@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
Lloh64:
	adrp	x8, _IRQF_NO_SUSPEND@GOTPAGE
Lloh65:
	ldr	x8, [x8, _IRQF_NO_SUSPEND@GOTPAGEOFF]
Lloh66:
	ldr	w3, [x8]
	ldr	w4, [x19, #12]
	mov	x0, x19
	mov	x5, x20
	bl	_devm_request_irq
	mov	x23, x0
	cbz	w0, LBB0_29
LBB0_27:
	ldr	x0, [x20, #40]
	ldr	w8, [x20, #8]
	str	x8, [sp]
Lloh67:
	adrp	x1, l_.str.2@PAGE
Lloh68:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_30
LBB0_28:
Lloh69:
	adrp	x8, _omap_i2c_isr@GOTPAGE
Lloh70:
	ldr	x8, [x8, _omap_i2c_isr@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
Lloh72:
	adrp	x8, _omap_i2c_isr_thread@GOTPAGE
Lloh73:
	ldr	x8, [x8, _omap_i2c_isr_thread@GOTPAGEOFF]
Lloh74:
	ldr	w3, [x8]
Lloh75:
	adrp	x8, _IRQF_NO_SUSPEND@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IRQF_NO_SUSPEND@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh79:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w4, w9, w8
	ldr	w5, [x19, #12]
	mov	x0, x19
	mov	x6, x20
	bl	_devm_request_threaded_irq
	mov	x23, x0
	cbnz	w0, LBB0_27
LBB0_29:
	add	x23, x20, #48
	mov	x0, x23
	mov	x1, x20
	bl	_i2c_set_adapdata
Lloh81:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _I2C_CLASS_DEPRECATED@GOTPAGE
Lloh85:
	ldr	x9, [x9, _I2C_CLASS_DEPRECATED@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #100]
	ldr	w0, [x20, #96]
Lloh87:
	adrp	x1, l_.str.3@PAGE
Lloh88:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
Lloh89:
	adrp	x8, _omap_i2c_algo@GOTPAGE
Lloh90:
	ldr	x8, [x8, _omap_i2c_algo@GOTPAGEOFF]
	str	x8, [x20, #88]
Lloh91:
	adrp	x8, _omap_i2c_quirks@GOTPAGE
Lloh92:
	ldr	x8, [x8, _omap_i2c_quirks@GOTPAGEOFF]
	stp	x19, x8, [x20, #72]
	ldr	x8, [x19]
Lloh93:
	adrp	x9, _omap_i2c_bus_recovery_info@GOTPAGE
Lloh94:
	ldr	x9, [x9, _omap_i2c_bus_recovery_info@GOTPAGEOFF]
	stp	x9, x8, [x20, #56]
	ldr	w8, [x19, #8]
	str	w8, [x20, #48]
	mov	x0, x23
	bl	_i2c_add_numbered_adapter
	mov	x23, x0
	cbz	w0, LBB0_32
LBB0_30:
Lloh95:
	adrp	x8, _OMAP_I2C_CON_REG@GOTPAGE
Lloh96:
	ldr	x8, [x8, _OMAP_I2C_CON_REG@GOTPAGEOFF]
Lloh97:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_omap_i2c_write_reg
	ldr	x0, [x20, #40]
	bl	_pm_runtime_dont_use_autosuspend
	ldr	x0, [x20, #40]
	bl	_pm_runtime_put_sync
	mov	x0, x19
	bl	_pm_runtime_disable
LBB0_31:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
LBB0_32:
	ldr	x0, [x20, #40]
	ldr	w2, [x20, #48]
	ldr	w5, [x20, #4]
Lloh98:
	adrp	x1, l_.str.4@PAGE
Lloh99:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x3, x22
	mov	x4, x21
	bl	_dev_info
	ldr	x0, [x20, #40]
	bl	_pm_runtime_mark_last_busy
	ldr	x0, [x20, #40]
	bl	_pm_runtime_put_autosuspend
	b	LBB0_31
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no irq resource?\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_omap_i2c_of_match,4,2          ; @omap_i2c_of_match
l_.str.1:                               ; @.str.1
	.asciz	"clock-frequency"

	.comm	_OMAP_I2C_FLAG_BUS_SHIFT__SHIFT,4,2 ; @OMAP_I2C_FLAG_BUS_SHIFT__SHIFT
	.comm	_OMAP_I2C_PM_TIMEOUT,4,2        ; @OMAP_I2C_PM_TIMEOUT
	.comm	_reg_map_ip_v1,8,3              ; @reg_map_ip_v1
	.comm	_OMAP_I2C_REV_REG,4,2           ; @OMAP_I2C_REV_REG
	.comm	_reg_map_ip_v2,8,3              ; @reg_map_ip_v2
	.comm	_OMAP_I2C_IP_V2_REVNB_LO,4,2    ; @OMAP_I2C_IP_V2_REVNB_LO
	.comm	_OMAP_I2C_REV_ON_2430,8,3       ; @OMAP_I2C_REV_ON_2430
	.comm	_OMAP_I2C_REV_ON_4430_PLUS,8,3  ; @OMAP_I2C_REV_ON_4430_PLUS
	.comm	_I2C_OMAP_ERRATA_I207,4,2       ; @I2C_OMAP_ERRATA_I207
	.comm	_OMAP_I2C_REV_ON_3430_3530,8,3  ; @OMAP_I2C_REV_ON_3430_3530
	.comm	_I2C_OMAP_ERRATA_I462,4,2       ; @I2C_OMAP_ERRATA_I462
	.comm	_OMAP_I2C_FLAG_NO_FIFO,4,2      ; @OMAP_I2C_FLAG_NO_FIFO
	.comm	_OMAP_I2C_BUFSTAT_REG,4,2       ; @OMAP_I2C_BUFSTAT_REG
	.comm	_OMAP_I2C_REV_ON_3630,8,3       ; @OMAP_I2C_REV_ON_3630
	.comm	_OMAP_I2C_OMAP1_REV_2,8,3       ; @OMAP_I2C_OMAP1_REV_2
	.comm	_omap_i2c_omap1_isr,4,2         ; @omap_i2c_omap1_isr
	.comm	_IRQF_NO_SUSPEND,4,2            ; @IRQF_NO_SUSPEND
	.comm	_omap_i2c_isr,4,2               ; @omap_i2c_isr
	.comm	_omap_i2c_isr_thread,4,2        ; @omap_i2c_isr_thread
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.2:                               ; @.str.2
	.asciz	"failure requesting irq %i\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_I2C_CLASS_DEPRECATED,4,2       ; @I2C_CLASS_DEPRECATED
l_.str.3:                               ; @.str.3
	.asciz	"OMAP I2C adapter"

	.comm	_omap_i2c_algo,4,2              ; @omap_i2c_algo
	.comm	_omap_i2c_quirks,4,2            ; @omap_i2c_quirks
	.comm	_omap_i2c_bus_recovery_info,4,2 ; @omap_i2c_bus_recovery_info
l_.str.4:                               ; @.str.4
	.asciz	"bus %d rev%d.%d at %d kHz\n"

	.comm	_OMAP_I2C_CON_REG,4,2           ; @OMAP_I2C_CON_REG
	.no_dead_strip	_omap_i2c_probe
.subsections_via_symbols
