	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function retu_probe
_retu_probe:                            ## @retu_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, %r15
	movl	(%rdi), %ebx
	movq	_retu_data@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jle	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	(%r14), %r13
	movslq	(%r15), %r12
	leaq	8(%r15), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, 8(%r14)
	movq	%r14, %rdi
	addq	$20, %rdi
	callq	_mutex_init
	movq	_retu_bus@GOTPCREL(%rip), %rsi
	movq	_retu_config@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_devm_regmap_init
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	16(%r14), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	decq	%r12
	movq	_RETU_REG_ASICR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_retu_read
	movl	%eax, %ebx
	shlq	$5, %r12
	movq	8(%r14), %rdi
	movl	24(%r13,%r12), %edx
	testl	%eax, %eax
	js	LBB0_17
## %bb.9:
	movq	_RETU_REG_ASICR_VILMA@GOTPCREL(%rip), %rax
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.2(%rip), %rcx
	testl	%ebx, (%rax)
	cmoveq	%r8, %rcx
	je	LBB0_11
## %bb.10:
	movq	(%r13,%r12), %r8
LBB0_11:
	movl	%ebx, %r9d
	shrl	$4, %r9d
	andl	$7, %r9d
	andl	$15, %ebx
	movl	%ebx, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_info
	movq	16(%r13,%r12), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_retu_write
	testl	%eax, %eax
	js	LBB0_19
## %bb.12:
	leaq	(%r12,%r13), %rax
	addq	$16, %rax
	movl	16(%r14), %edi
	movl	4(%r15), %esi
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%rax), %r8
	movl	$-1, %ecx
	movq	%r14, %r9
	callq	_regmap_add_irq_chip
	testl	%eax, %eax
	js	LBB0_19
## %bb.13:
	movq	8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r13,%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r13,%r12), %r13d
	movl	(%r14), %edi
	callq	_regmap_irq_chip_get_base
	movq	$0, (%rsp)
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %esi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_mfd_add_devices
	testl	%eax, %eax
	js	LBB0_20
## %bb.14:
	cmpl	$1, (%r15)
	jne	LBB0_7
## %bb.15:
	movq	_pm_power_off@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.16:
	movq	_retu_pm_power_off@GOTPCREL(%rip), %rcx
	movq	%r14, (%rcx)
	movq	_retu_power_off@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_7
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_dev_err
	jmp	LBB0_7
LBB0_19:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_20:
	movl	%eax, %r12d
	movl	4(%r15), %edi
	movl	(%r14), %esi
	callq	_regmap_del_irq_chip
	movl	%r12d, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_retu_data,8,3                  ## @retu_data
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_retu_bus,4,2                   ## @retu_bus
	.comm	_retu_config,4,2                ## @retu_config
	.comm	_RETU_REG_ASICR,4,2             ## @RETU_REG_ASICR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not read %s revision: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s%s%s v%d.%d found\n"

	.comm	_RETU_REG_ASICR_VILMA,4,2       ## @RETU_REG_ASICR_VILMA
L_.str.2:                               ## @.str.2
	.asciz	" & "

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_pm_power_off,8,3               ## @pm_power_off
	.comm	_retu_pm_power_off,8,3          ## @retu_pm_power_off
	.comm	_retu_power_off,8,3             ## @retu_power_off
	.no_dead_strip	_retu_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function retu_probe
_retu_probe:                            ; @retu_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w21, [x0]
Lloh0:
	adrp	x20, _retu_data@GOTPAGE
Lloh1:
	ldr	x20, [x20, _retu_data@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w21, w0
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x22, [x20]
	mov	x21, x19
	ldrsw	x23, [x21], #8
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x21, [x20, #8]
	add	x0, x20, #20
	bl	_mutex_init
Lloh7:
	adrp	x1, _retu_bus@GOTPAGE
Lloh8:
	ldr	x1, [x1, _retu_bus@GOTPAGEOFF]
Lloh9:
	adrp	x3, _retu_config@GOTPAGE
Lloh10:
	ldr	x3, [x3, _retu_config@GOTPAGEOFF]
	mov	x0, x21
	mov	x2, x21
	bl	_devm_regmap_init
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w0, [x20, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	sub	x23, x23, #1
Lloh13:
	adrp	x8, _RETU_REG_ASICR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RETU_REG_ASICR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_retu_read
	mov	x21, x0
	ldr	x0, [x20, #8]
	add	x8, x22, x23, lsl #5
	ldr	w2, [x8, #24]
	tbnz	w21, #31, LBB0_17
; %bb.9:
Lloh16:
	adrp	x8, _RETU_REG_ASICR_VILMA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RETU_REG_ASICR_VILMA@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, l_.str.2@PAGE
Lloh20:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh21:
	adrp	x4, l_.str.3@PAGE
Lloh22:
	add	x4, x4, l_.str.3@PAGEOFF
	ands	w8, w8, w21
	csel	x3, x4, x9, eq
	cbz	w8, LBB0_11
; %bb.10:
	lsl	x8, x23, #5
	ldr	x4, [x22, x8]
LBB0_11:
	ubfx	w5, w21, #4, #3
	and	w6, w21, #0xf
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	add	x24, x22, x23, lsl #5
	ldr	x8, [x24, #16]!
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #65535
	bl	_retu_write
	tbnz	w0, #31, LBB0_18
; %bb.12:
	ldr	w0, [x20, #16]
	ldr	w1, [x19, #4]
Lloh25:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldr	x4, [x24]
	mov	w3, #-1
	mov	x5, x20
	bl	_regmap_add_irq_chip
	tbnz	w0, #31, LBB0_18
; %bb.13:
	ldr	x21, [x20, #8]
	add	x8, x22, x23, lsl #5
	ldp	w23, w22, [x8, #8]
	ldr	w0, [x20]
	bl	_regmap_irq_chip_get_base
	mov	x5, x0
	mov	x0, x21
	mov	w1, #-1
	mov	x2, x22
	mov	x3, x23
	mov	x4, #0
	mov	x6, #0
	bl	_mfd_add_devices
	tbnz	w0, #31, LBB0_19
; %bb.14:
	mov	w21, #0
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.15:
Lloh28:
	adrp	x8, _pm_power_off@GOTPAGE
Lloh29:
	ldr	x8, [x8, _pm_power_off@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_7
; %bb.16:
	mov	w21, #0
Lloh30:
	adrp	x9, _retu_pm_power_off@GOTPAGE
Lloh31:
	ldr	x9, [x9, _retu_pm_power_off@GOTPAGEOFF]
Lloh32:
	str	x20, [x9]
Lloh33:
	adrp	x9, _retu_power_off@GOTPAGE
Lloh34:
	ldr	x9, [x9, _retu_power_off@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	str	x9, [x8]
	b	LBB0_7
LBB0_17:
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	bl	_dev_err
	b	LBB0_7
LBB0_18:
	mov	x21, x0
	b	LBB0_7
LBB0_19:
	mov	x21, x0
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_regmap_del_irq_chip
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_retu_data,8,3                  ; @retu_data
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_retu_bus,4,2                   ; @retu_bus
	.comm	_retu_config,4,2                ; @retu_config
	.comm	_RETU_REG_ASICR,4,2             ; @RETU_REG_ASICR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not read %s revision: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s%s%s v%d.%d found\n"

	.comm	_RETU_REG_ASICR_VILMA,4,2       ; @RETU_REG_ASICR_VILMA
l_.str.2:                               ; @.str.2
	.asciz	" & "

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_pm_power_off,8,3               ; @pm_power_off
	.comm	_retu_pm_power_off,8,3          ; @retu_pm_power_off
	.comm	_retu_power_off,8,3             ; @retu_power_off
	.no_dead_strip	_retu_probe
.subsections_via_symbols
