	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function riic_i2c_probe
_riic_i2c_probe:                        ## @riic_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, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %r15
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 44(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	44(%r15), %edi
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_18:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 40(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.19:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	40(%r15), %edi
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_riic_irqs@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_14
## %bb.8:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IORESOURCE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	8(%rax,%r13), %edx
	movq	%r12, %rdi
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	(%rax,%r13), %r8d
	movl	4(%rax,%r13), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$12, %r13
	cmpq	%rax, %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_9
LBB0_14:
	movq	%r12, %r14
	movq	%r15, %rbx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	addq	$8, %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movl	36(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_riic_algo@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	%r12, 16(%rbx)
	movl	(%r12), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_init_completion
	leaq	-56(%rbp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_i2c_parse_fw_timings
	movq	%r12, %rdi
	callq	_pm_runtime_enable
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_riic_init_hw
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	%r15, %rdi
	callq	_i2c_add_adapter
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_16
LBB0_17:
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	jmp	LBB0_18
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_12:
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movl	(%rax,%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_16:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_platform_set_drvdata
	movl	-56(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%r12d, %r12d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing controller clock"

	.comm	_riic_irqs,8,3                  ## @riic_irqs
	.comm	_IORESOURCE_IRQ,4,2             ## @IORESOURCE_IRQ
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"failed to request irq %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Renesas RIIC adapter"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_riic_algo,4,2                  ## @riic_algo
L_.str.3:                               ## @.str.3
	.asciz	"registered with %dHz bus speed\n"

	.no_dead_strip	_riic_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function riic_i2c_probe
_riic_i2c_probe:                        ; @riic_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	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	w0, [x20, #44]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x20, #44]
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #40]
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_9:
Lloh10:
	adrp	x21, _riic_irqs@GOTPAGE
Lloh11:
	ldr	x21, [x21, _riic_irqs@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.10:
	mov	x23, #0
	mov	x24, #0
Lloh12:
	adrp	x25, _IORESOURCE_IRQ@GOTPAGE
Lloh13:
	ldr	x25, [x25, _IORESOURCE_IRQ@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_platform_get_resource
	cbz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x0]
	ldr	x8, [x21]
	add	x8, x8, x23
	ldp	w4, w2, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbnz	w0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x24, x24, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x23, x23, #12
	cmp	x24, w0, sxtw
	b.lt	LBB0_11
LBB0_14:
	add	x21, x20, #8
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_adapdata
	ldr	w0, [x20, #36]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
Lloh16:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh19:
	adrp	x8, _riic_algo@GOTPAGE
Lloh20:
	ldr	x8, [x8, _riic_algo@GOTPAGEOFF]
	stp	x19, x8, [x20, #16]
	ldr	w8, [x19]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_init_completion
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_parse_fw_timings
	mov	x0, x19
	bl	_pm_runtime_enable
	add	x1, sp, #8
	mov	x0, x20
	bl	_riic_init_hw
	mov	x22, x0
	cbnz	w0, LBB0_16
; %bb.15:
	mov	x0, x21
	bl	_i2c_add_adapter
	mov	x22, x0
	cbz	w0, LBB0_19
LBB0_16:
	mov	x0, x19
	bl	_pm_runtime_disable
	b	LBB0_5
LBB0_17:
Lloh21:
	adrp	x8, _ENODEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_18:
	mov	x22, x0
	ldr	x8, [x21]
	ldr	w8, [x8, x23]
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	w2, [sp, #8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing controller clock"

	.comm	_riic_irqs,8,3                  ; @riic_irqs
	.comm	_IORESOURCE_IRQ,4,2             ; @IORESOURCE_IRQ
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"failed to request irq %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Renesas RIIC adapter"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_riic_algo,4,2                  ; @riic_algo
l_.str.3:                               ; @.str.3
	.asciz	"registered with %dHz bus speed\n"

	.no_dead_strip	_riic_i2c_probe
.subsections_via_symbols
