	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps65910_i2c_probe
_tps65910_i2c_probe:                    ## @tps65910_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, %r15
	movq	(%rsi), %rax
	movq	%rax, -48(%rbp)
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	xorl	%r13d, %r13d
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	%rax, %r12
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rax, %rbx
	movq	%r13, 40(%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 16(%rbx)
	movq	%r15, 32(%rbx)
	movq	-48(%rbp), %rax
	movq	%rax, (%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_i2c_master_send
	movq	_tps65910_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	24(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
LBB0_16:
	callq	_dev_err
	jmp	LBB0_17
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_tps65910_parse_dt
	movq	%rax, %r13
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	12(%r14), %esi
	movl	%esi, (%r12)
	movl	8(%r14), %eax
	movl	%eax, 4(%r12)
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_tps65910_irq_init
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tps65910_ck32k_init
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tps65910_sleepinit
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.12:
	movq	_pm_power_off@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.13:
	movq	_tps65910_i2c_client@GOTPCREL(%rip), %rcx
	movq	%r15, (%rcx)
	movq	_tps65910_power_off@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_14:
	movq	16(%rbx), %r14
	movq	_tps65910s@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r13d
	movl	8(%rbx), %edi
	callq	_regmap_irq_get_domain
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$-1, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_devm_mfd_add_devices
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_17
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_tps65910_regmap_config,4,2     ## @tps65910_regmap_config
L_.str.1:                               ## @.str.1
	.asciz	"regmap initialization failed: %d\n"

	.comm	_pm_power_off,8,3               ## @pm_power_off
	.comm	_tps65910_i2c_client,8,3        ## @tps65910_i2c_client
	.comm	_tps65910_power_off,8,3         ## @tps65910_power_off
	.comm	_tps65910s,4,2                  ## @tps65910s
L_.str.2:                               ## @.str.2
	.asciz	"mfd_add_devices failed: %d\n"

	.no_dead_strip	_tps65910_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps65910_i2c_probe
_tps65910_i2c_probe:                    ; @tps65910_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	x8, [x1]
	str	x8, [sp, #8]
	bl	_dev_get_platdata
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x23, #0
LBB0_2:
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, x0
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x21, x0
	str	x23, [x0, #40]
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	str	x19, [x21, #16]
	str	x19, [x21, #32]
	ldr	x8, [sp, #8]
	str	x8, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_master_send
Lloh4:
	adrp	x1, _tps65910_regmap_config@GOTPAGE
Lloh5:
	ldr	x1, [x1, _tps65910_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x21, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.5:
	ldr	w0, [x21, #24]
	bl	_PTR_ERR
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
	b	LBB0_12
LBB0_7:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.9:
	add	x1, sp, #8
	mov	x0, x19
	bl	_tps65910_parse_dt
	mov	x23, x0
	mov	x20, x0
	cbnz	x0, LBB0_2
LBB0_10:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	mov	x0, x20
	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_13:
	ldp	w8, w1, [x20, #8]
	stp	w1, w8, [x22]
	mov	x0, x21
	mov	x2, x22
	bl	_tps65910_irq_init
	mov	x0, x21
	mov	x1, x20
	bl	_tps65910_ck32k_init
	mov	x0, x21
	mov	x1, x20
	bl	_tps65910_sleepinit
	ldr	x8, [x20]
	cbz	x8, LBB0_16
; %bb.14:
Lloh12:
	adrp	x8, _pm_power_off@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pm_power_off@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_16
; %bb.15:
Lloh14:
	adrp	x9, _tps65910_i2c_client@GOTPAGE
Lloh15:
	ldr	x9, [x9, _tps65910_i2c_client@GOTPAGEOFF]
Lloh16:
	str	x19, [x9]
Lloh17:
	adrp	x9, _tps65910_power_off@GOTPAGE
Lloh18:
	ldr	x9, [x9, _tps65910_power_off@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_16:
	ldr	x20, [x21, #16]
Lloh20:
	adrp	x8, _tps65910s@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tps65910s@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x23, x0
	ldr	w0, [x21, #8]
	bl	_regmap_irq_get_domain
	mov	x6, x0
	mov	x0, x20
	mov	w1, #-1
	mov	x2, x22
	mov	x3, x23
	mov	x4, #0
	mov	w5, #0
	bl	_devm_mfd_add_devices
	mov	x20, x0
	tbz	w0, #31, LBB0_12
; %bb.17:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_tps65910_regmap_config,4,2     ; @tps65910_regmap_config
l_.str.1:                               ; @.str.1
	.asciz	"regmap initialization failed: %d\n"

	.comm	_pm_power_off,8,3               ; @pm_power_off
	.comm	_tps65910_i2c_client,8,3        ; @tps65910_i2c_client
	.comm	_tps65910_power_off,8,3         ; @tps65910_power_off
	.comm	_tps65910s,4,2                  ; @tps65910s
l_.str.2:                               ; @.str.2
	.asciz	"mfd_add_devices failed: %d\n"

	.no_dead_strip	_tps65910_i2c_probe
.subsections_via_symbols
