	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk3x_i2c_probe
_rk3x_i2c_probe:                        ## @rk3x_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_rk3x_i2c_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_node
	movq	(%rax), %rax
	movq	%rax, 72(%rbx)
	leaq	104(%rbx), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_i2c_parse_fw_timings
	movl	68(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_rk3x_i2c_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movl	$3, 24(%rbx)
	movq	%r15, 40(%rbx)
	movq	%rbx, 48(%rbx)
	movq	%r14, 32(%rbx)
	movq	%r14, 80(%rbx)
	leaq	100(%rbx), %rdi
	callq	_spin_lock_init
	leaq	96(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 88(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	88(%rbx), %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_5:
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_alias_get_id
	movl	%eax, %r12d
	movq	72(%rbx), %rax
	cmpq	$0, (%rax)
	js	LBB0_13
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_syscon_regmap_lookup_by_phandle
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r15, %rdi
	jmp	LBB0_3
LBB0_10:
	testl	%r12d, %r12d
	js	LBB0_20
## %bb.11:
	leal	27(%r12), %edi
	callq	_BIT
	movl	%eax, %r13d
	addl	$11, %r12d
	movl	%r12d, %edi
	callq	_BIT
	orl	%eax, %r13d
	movq	72(%rbx), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r15d
	movq	80(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_35
LBB0_13:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:
	movq	_rk3x_i2c_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_18
## %bb.15:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	72(%rbx), %rax
	movq	8(%rax), %rax
	movq	_rk3x_i2c_v0_calc_timings@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.16:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	jmp	LBB0_22
LBB0_17:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_19
LBB0_18:
	movl	%eax, %r15d
	leaq	L_.str.7(%rip), %rsi
LBB0_19:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_21:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, (%rbx)
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdi
LBB0_22:
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	movq	(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r15d, %ecx
	addl	(%rax), %ecx
	je	LBB0_6
## %bb.24:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_34
LBB0_25:
	movq	8(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r15d, %ecx
	addl	(%rax), %ecx
	je	LBB0_6
## %bb.27:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_34
LBB0_28:
	movq	(%rbx), %rdi
	callq	_clk_prepare
	testl	%eax, %eax
	js	LBB0_33
## %bb.29:
	movq	8(%rbx), %rdi
	callq	_clk_prepare
	testl	%eax, %eax
	js	LBB0_36
## %bb.30:
	movq	_rk3x_i2c_clk_notifier_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%rbx), %r12
	movl	%eax, 16(%rbx)
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_clk_notifier_register
	testl	%eax, %eax
	je	LBB0_38
## %bb.31:
	movl	%eax, %r15d
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_32:
	movq	8(%rbx), %rdi
	callq	_clk_unprepare
	jmp	LBB0_37
LBB0_33:
	movl	%eax, %r15d
	leaq	L_.str.11(%rip), %rsi
LBB0_34:
	movq	%r14, %rdi
LBB0_35:
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_36:
	movl	%eax, %r15d
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_37:
	movq	(%rbx), %rdi
	callq	_clk_unprepare
	jmp	LBB0_6
LBB0_38:
	movq	%rbx, %r14
	addq	$24, %r14
	movq	(%rbx), %rdi
	callq	_clk_get_rate
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_rk3x_i2c_adapt_div
	movq	%r14, %rdi
	callq	_i2c_add_adapter
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.39:
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_clk_notifier_unregister
	movl	%r14d, %r15d
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rk3x_i2c_match,4,2             ## @rk3x_i2c_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rk3x-i2c"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_rk3x_i2c_algorithm,4,2         ## @rk3x_i2c_algorithm
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"i2c"

L_.str.2:                               ## @.str.2
	.asciz	"rockchip,grf"

L_.str.3:                               ## @.str.3
	.asciz	"rk3x-i2c needs 'rockchip,grf' property\n"

L_.str.4:                               ## @.str.4
	.asciz	"rk3x-i2c needs i2cX alias"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.5:                               ## @.str.5
	.asciz	"Could not write to GRF: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"cannot find rk3x IRQ\n"

	.comm	_rk3x_i2c_irq,4,2               ## @rk3x_i2c_irq
L_.str.7:                               ## @.str.7
	.asciz	"cannot request IRQ\n"

	.comm	_rk3x_i2c_v0_calc_timings,8,3   ## @rk3x_i2c_v0_calc_timings
L_.str.8:                               ## @.str.8
	.asciz	"pclk"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.9:                               ## @.str.9
	.asciz	"Can't get bus clk: %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"Can't get periph clk: %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"Can't prepare bus clk: %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"Can't prepare periph clock: %d\n"

	.comm	_rk3x_i2c_clk_notifier_cb,4,2   ## @rk3x_i2c_clk_notifier_cb
L_.str.13:                              ## @.str.13
	.asciz	"Unable to register clock notifier\n"

	.no_dead_strip	_rk3x_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk3x_i2c_probe
_rk3x_i2c_probe:                        ; @rk3x_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
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _rk3x_i2c_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rk3x_i2c_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_of_match_node
	ldr	x8, [x0]
	str	x8, [x20, #72]
	add	x1, x20, #104
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_parse_fw_timings
	ldr	w0, [x20, #68]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	mov	w8, #3
	mov	x21, x20
	str	w8, [x21, #24]!
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #64]
Lloh11:
	adrp	x8, _rk3x_i2c_algorithm@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rk3x_i2c_algorithm@GOTPAGEOFF]
	stp	x20, x8, [x20, #48]
	stp	x19, x22, [x20, #32]
	str	x19, [x20, #80]
	add	x0, x20, #100
	bl	_spin_lock_init
	add	x0, x20, #96
	bl	_init_waitqueue_head
Lloh13:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh15:
	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, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x0, [x20, #88]
LBB0_3:
	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:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x22
	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_7:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_of_alias_get_id
	ldr	x8, [x20, #72]
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_13
; %bb.8:
	mov	x23, x0
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_syscon_regmap_lookup_by_phandle
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	b	LBB0_3
LBB0_10:
	tbnz	w23, #31, LBB0_19
; %bb.11:
	add	w0, w23, #27
	bl	_BIT
	mov	x24, x0
	add	w0, w23, #11
	bl	_BIT
	orr	w2, w0, w24
	ldr	x8, [x20, #72]
	ldr	x1, [x8]
	mov	x0, x22
	bl	_regmap_write
	cbz	w0, LBB0_13
; %bb.12:
	mov	x22, x0
	ldr	x0, [x20, #80]
	str	x22, [sp]
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	b	LBB0_6
LBB0_13:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_17
; %bb.14:
Lloh26:
	adrp	x8, _rk3x_i2c_irq@GOTPAGE
Lloh27:
	ldr	x8, [x8, _rk3x_i2c_irq@GOTPAGEOFF]
Lloh28:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_18
; %bb.15:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x8, [x20, #72]
	ldr	x8, [x8, #8]
Lloh29:
	adrp	x9, _rk3x_i2c_v0_calc_timings@GOTPAGE
Lloh30:
	ldr	x9, [x9, _rk3x_i2c_v0_calc_timings@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.16:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	stp	x0, x0, [x20]
	b	LBB0_21
LBB0_17:
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_27
LBB0_18:
	mov	x22, x0
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_27
LBB0_19:
Lloh36:
	adrp	x1, l_.str.4@PAGE
Lloh37:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh38:
	adrp	x8, _EINVAL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_20:
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20]
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #8]
	ldr	x0, [x20]
LBB0_21:
	bl	_IS_ERR
	cbz	x0, LBB0_24
; %bb.22:
	ldr	x0, [x20]
	bl	_PTR_ERR
	mov	x22, x0
Lloh44:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.23:
	mov	x8, x22
	str	x8, [sp]
Lloh47:
	adrp	x1, l_.str.9@PAGE
Lloh48:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_27
LBB0_24:
	ldr	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_28
; %bb.25:
	ldr	x0, [x20, #8]
	bl	_PTR_ERR
	mov	x22, x0
Lloh49:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.26:
	mov	x8, x22
	str	x8, [sp]
Lloh52:
	adrp	x1, l_.str.10@PAGE
Lloh53:
	add	x1, x1, l_.str.10@PAGEOFF
LBB0_27:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_6
LBB0_28:
	ldr	x0, [x20]
	bl	_clk_prepare
	tbnz	w0, #31, LBB0_33
; %bb.29:
	ldr	x0, [x20, #8]
	bl	_clk_prepare
	tbnz	w0, #31, LBB0_34
; %bb.30:
Lloh54:
	adrp	x8, _rk3x_i2c_clk_notifier_cb@GOTPAGE
Lloh55:
	ldr	x8, [x8, _rk3x_i2c_clk_notifier_cb@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	mov	x23, x20
	str	w8, [x23, #16]!
	ldr	x0, [x20]
	mov	x1, x23
	bl	_clk_notifier_register
	cbz	w0, LBB0_36
; %bb.31:
	mov	x22, x0
Lloh57:
	adrp	x1, l_.str.13@PAGE
Lloh58:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_32:
	ldr	x0, [x20, #8]
	bl	_clk_unprepare
	b	LBB0_35
LBB0_33:
	mov	x22, x0
	str	x22, [sp]
Lloh59:
	adrp	x1, l_.str.11@PAGE
Lloh60:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_6
LBB0_34:
	mov	x22, x0
	str	x22, [sp]
Lloh61:
	adrp	x1, l_.str.12@PAGE
Lloh62:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_35:
	ldr	x0, [x20]
	bl	_clk_unprepare
	b	LBB0_6
LBB0_36:
	ldr	x0, [x20]
	bl	_clk_get_rate
	mov	x1, x0
	mov	x0, x20
	bl	_rk3x_i2c_adapt_div
	mov	x0, x21
	bl	_i2c_add_adapter
	tbnz	w0, #31, LBB0_38
; %bb.37:
	mov	w22, #0
	b	LBB0_6
LBB0_38:
	mov	x22, x0
	ldr	x0, [x20]
	mov	x1, x23
	bl	_clk_notifier_unregister
	b	LBB0_32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rk3x_i2c_match,4,2             ; @rk3x_i2c_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rk3x-i2c"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_rk3x_i2c_algorithm,4,2         ; @rk3x_i2c_algorithm
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"i2c"

l_.str.2:                               ; @.str.2
	.asciz	"rockchip,grf"

l_.str.3:                               ; @.str.3
	.asciz	"rk3x-i2c needs 'rockchip,grf' property\n"

l_.str.4:                               ; @.str.4
	.asciz	"rk3x-i2c needs i2cX alias"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.5:                               ; @.str.5
	.asciz	"Could not write to GRF: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"cannot find rk3x IRQ\n"

	.comm	_rk3x_i2c_irq,4,2               ; @rk3x_i2c_irq
l_.str.7:                               ; @.str.7
	.asciz	"cannot request IRQ\n"

	.comm	_rk3x_i2c_v0_calc_timings,8,3   ; @rk3x_i2c_v0_calc_timings
l_.str.8:                               ; @.str.8
	.asciz	"pclk"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.9:                               ; @.str.9
	.asciz	"Can't get bus clk: %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"Can't get periph clk: %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"Can't prepare bus clk: %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"Can't prepare periph clock: %d\n"

	.comm	_rk3x_i2c_clk_notifier_cb,4,2   ; @rk3x_i2c_clk_notifier_cb
l_.str.13:                              ; @.str.13
	.asciz	"Unable to register clock notifier\n"

	.no_dead_strip	_rk3x_i2c_probe
.subsections_via_symbols
