	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_i2c_probe
_rcar_i2c_probe:                        ## @rcar_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	_RCAR_MIN_DMA_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$3, (%rax)
	setl	%dil
	leaq	L_.str(%rip), %rsi
	callq	_BUILD_BUG_ON_MSG
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$144, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 136(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	136(%r13), %rdi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movl	%eax, 128(%r13)
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_devm_ioremap_resource
	movq	%rax, 120(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	120(%r13), %rdi
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movl	%eax, (%r13)
	leaq	112(%r13), %rdi
	callq	_init_waitqueue_head
	leaq	48(%r13), %r15
	movl	8(%r14), %eax
	movl	%eax, 104(%r13)
	movq	_rcar_i2c_algo@GOTPCREL(%rip), %rax
	movq	%rax, 96(%r13)
	movq	_I2C_CLASS_DEPRECATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r13)
	movl	$3, 48(%r13)
	movq	%r14, 80(%r13)
	movl	(%r14), %eax
	movl	%eax, 72(%r13)
	movq	_rcar_i2c_bri@GOTPCREL(%rip), %rax
	movq	%rax, 64(%r13)
	movq	_rcar_i2c_quirks@GOTPCREL(%rip), %rax
	movq	%rax, 56(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_i2c_set_adapdata
	movl	52(%r13), %edi
	movl	4(%r14), %esi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-48(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_i2c_parse_fw_timings
	movq	%r13, %rdi
	addq	$44, %rdi
	movl	$1, %esi
	callq	_sg_init_table
	movq	_DMA_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ERR_PTR
	movq	%rax, 24(%r13)
	movq	%rax, 32(%r13)
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r14, %rdi
	callq	_pm_runtime_get_sync
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_rcar_i2c_clock_calculate
	testl	%eax, %eax
	js	LBB0_20
## %bb.8:
	movslq	(%r13), %rax
	movq	_I2C_RCAR_GEN3@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 16(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movq	16(%r13), %rdi
	callq	_reset_control_status
	testl	%eax, %eax
	jns	LBB0_12
## %bb.11:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, 16(%r13)
LBB0_12:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_ID_P_PM_BLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r13)
	jmp	LBB0_15
LBB0_20:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_pm_runtime_put
	jmp	LBB0_21
LBB0_14:
	movq	%r14, %rdi
	callq	_pm_runtime_put
LBB0_15:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	movl	%eax, 4(%r13)
	movq	_rcar_i2c_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r13, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_platform_set_drvdata
	movq	%r15, %rdi
	callq	_i2c_add_numbered_adapter
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_16:
	movl	%eax, %ebx
	movl	4(%r13), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_21
LBB0_18:
	movl	%eax, %ebx
LBB0_21:
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_RCAR_MIN_DMA_LEN,4,2           ## @RCAR_MIN_DMA_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid min DMA length"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"cannot get clock\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_rcar_i2c_algo,4,2              ## @rcar_i2c_algo
	.comm	_I2C_CLASS_DEPRECATED,4,2       ## @I2C_CLASS_DEPRECATED
	.comm	_rcar_i2c_bri,4,2               ## @rcar_i2c_bri
	.comm	_rcar_i2c_quirks,4,2            ## @rcar_i2c_quirks
	.comm	_DMA_NONE,4,2                   ## @DMA_NONE
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_I2C_RCAR_GEN3,8,3              ## @I2C_RCAR_GEN3
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
L_.str.2:                               ## @.str.2
	.asciz	"multi-master"

	.comm	_ID_P_PM_BLOCKED,4,2            ## @ID_P_PM_BLOCKED
	.comm	_rcar_i2c_irq,4,2               ## @rcar_i2c_irq
L_.str.3:                               ## @.str.3
	.asciz	"cannot get irq %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"probed\n"

	.no_dead_strip	_rcar_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_i2c_probe
_rcar_i2c_probe:                        ; @rcar_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
Lloh0:
	adrp	x8, _RCAR_MIN_DMA_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCAR_MIN_DMA_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	cset	w0, lt
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BUILD_BUG_ON_MSG
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #144
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #136]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #136]
	b	LBB0_7
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_4:
	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_5:
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
	str	w0, [x20, #128]
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #120]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x20, #120]
LBB0_7:
	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_8:
	mov	x0, x19
	bl	_of_device_get_match_data
	str	w0, [x20]
	add	x0, x20, #112
	bl	_init_waitqueue_head
	mov	w8, #3
	mov	x21, x20
	str	w8, [x21, #48]!
	ldr	w8, [x19, #8]
	str	w8, [x20, #104]
Lloh16:
	adrp	x8, _rcar_i2c_algo@GOTPAGE
Lloh17:
	ldr	x8, [x8, _rcar_i2c_algo@GOTPAGEOFF]
Lloh18:
	adrp	x9, _I2C_CLASS_DEPRECATED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _I2C_CLASS_DEPRECATED@GOTPAGEOFF]
	str	x8, [x20, #96]
Lloh20:
	ldr	w8, [x9]
	str	w8, [x20, #88]
	str	x19, [x20, #80]
	ldr	w8, [x19]
	str	w8, [x20, #72]
Lloh21:
	adrp	x8, _rcar_i2c_bri@GOTPAGE
Lloh22:
	ldr	x8, [x8, _rcar_i2c_bri@GOTPAGEOFF]
Lloh23:
	adrp	x9, _rcar_i2c_quirks@GOTPAGE
Lloh24:
	ldr	x9, [x9, _rcar_i2c_quirks@GOTPAGEOFF]
	stp	x9, x8, [x20, #56]
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_adapdata
	ldr	w0, [x20, #52]
	ldr	w1, [x19, #4]
	mov	w2, #4
	bl	_strlcpy
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #0
	bl	_i2c_parse_fw_timings
	add	x0, x20, #44
	mov	w1, #1
	bl	_sg_init_table
Lloh25:
	adrp	x8, _DMA_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DMA_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x20, #40]
Lloh28:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	stp	x0, x0, [x20, #24]
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_get_sync
	add	x1, sp, #8
	mov	x0, x20
	bl	_rcar_i2c_clock_calculate
	tbnz	w0, #31, LBB0_15
; %bb.9:
	ldrsw	x8, [x20]
Lloh31:
	adrp	x9, _I2C_RCAR_GEN3@GOTPAGE
Lloh32:
	ldr	x9, [x9, _I2C_RCAR_GEN3@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_reset_control_get_exclusive
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbnz	x0, LBB0_13
; %bb.11:
	ldr	x0, [x20, #16]
	bl	_reset_control_status
	tbz	w0, #31, LBB0_13
; %bb.12:
Lloh34:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	str	x0, [x20, #16]
LBB0_13:
	ldr	w0, [x19]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_of_property_read_bool
	cbz	x0, LBB0_16
; %bb.14:
Lloh39:
	adrp	x8, _ID_P_PM_BLOCKED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ID_P_PM_BLOCKED@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	b	LBB0_17
LBB0_15:
	mov	x22, x0
	mov	x0, x19
	bl	_pm_runtime_put
	b	LBB0_22
LBB0_16:
	mov	x0, x19
	bl	_pm_runtime_put
LBB0_17:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	str	w0, [x20, #4]
Lloh42:
	adrp	x8, _rcar_i2c_irq@GOTPAGE
Lloh43:
	ldr	x8, [x8, _rcar_i2c_irq@GOTPAGEOFF]
Lloh44:
	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_20
; %bb.18:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x21
	bl	_i2c_add_numbered_adapter
	tbnz	w0, #31, LBB0_21
; %bb.19:
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_4
LBB0_20:
	mov	x22, x0
	ldr	w8, [x20, #4]
	str	x8, [sp]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_22
LBB0_21:
	mov	x22, x0
LBB0_22:
	mov	x0, x19
	bl	_pm_runtime_disable
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_RCAR_MIN_DMA_LEN,4,2           ; @RCAR_MIN_DMA_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid min DMA length"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"cannot get clock\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_rcar_i2c_algo,4,2              ; @rcar_i2c_algo
	.comm	_I2C_CLASS_DEPRECATED,4,2       ; @I2C_CLASS_DEPRECATED
	.comm	_rcar_i2c_bri,4,2               ; @rcar_i2c_bri
	.comm	_rcar_i2c_quirks,4,2            ; @rcar_i2c_quirks
	.comm	_DMA_NONE,4,2                   ; @DMA_NONE
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_I2C_RCAR_GEN3,8,3              ; @I2C_RCAR_GEN3
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
l_.str.2:                               ; @.str.2
	.asciz	"multi-master"

	.comm	_ID_P_PM_BLOCKED,4,2            ; @ID_P_PM_BLOCKED
	.comm	_rcar_i2c_irq,4,2               ; @rcar_i2c_irq
l_.str.3:                               ; @.str.3
	.asciz	"cannot get irq %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"probed\n"

	.no_dead_strip	_rcar_i2c_probe
.subsections_via_symbols
