	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps6105x_probe
_tps6105x_probe:                        ## @tps6105x_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_devm_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	_tps6105x_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.19:
	movl	16(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_clientdata
	movq	%r12, 8(%r14)
	movq	%r15, (%r14)
	movq	%r14, %rdi
	callq	_tps6105x_startup
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_18
LBB0_8:
	movq	_tps6105x_gpio_cell@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_tps6105x_add_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.9:
	movl	(%r15), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_13
## %bb.10:
	movq	_tps6105x_leds_cell@GOTPCREL(%rip), %rsi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	_tps6105x_regulator_cell@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_14:
	movq	_tps6105x_flash_cell@GOTPCREL(%rip), %rsi
LBB0_15:
	movq	%r14, %rdi
	callq	_tps6105x_add_device
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mfd_remove_devices
	jmp	LBB0_18
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing platform data\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tps6105x_regmap_config,4,2     ## @tps6105x_regmap_config
L_.str.1:                               ## @.str.1
	.asciz	"chip initialization failed\n"

	.comm	_tps6105x_gpio_cell,4,2         ## @tps6105x_gpio_cell
L_.str.2:                               ## @.str.2
	.asciz	"present, not used for anything, only GPIO\n"

	.comm	_tps6105x_leds_cell,4,2         ## @tps6105x_leds_cell
	.comm	_tps6105x_flash_cell,4,2        ## @tps6105x_flash_cell
	.comm	_tps6105x_regulator_cell,4,2    ## @tps6105x_regulator_cell
L_.str.3:                               ## @.str.3
	.asciz	"invalid mode: %d\n"

	.no_dead_strip	_tps6105x_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps6105x_probe
_tps6105x_probe:                        ; @tps6105x_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_dev_get_platdata
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #24
	bl	_devm_kmalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x1, _tps6105x_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _tps6105x_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w0, [x20, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	stp	x21, x19, [x20]
	mov	x0, x20
	bl	_tps6105x_startup
	cbz	w0, LBB0_10
; %bb.9:
	mov	x22, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_10:
Lloh13:
	adrp	x1, _tps6105x_gpio_cell@GOTPAGE
Lloh14:
	ldr	x1, [x1, _tps6105x_gpio_cell@GOTPAGEOFF]
	mov	x0, x20
	bl	_tps6105x_add_device
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.11:
	ldr	w2, [x21]
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.12:
Lloh15:
	adrp	x1, _tps6105x_leds_cell@GOTPAGE
Lloh16:
	ldr	x1, [x1, _tps6105x_leds_cell@GOTPAGEOFF]
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
Lloh19:
	adrp	x1, _tps6105x_regulator_cell@GOTPAGE
Lloh20:
	ldr	x1, [x1, _tps6105x_regulator_cell@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	mov	w22, #0
	b	LBB0_7
LBB0_15:
Lloh23:
	adrp	x1, _tps6105x_flash_cell@GOTPAGE
Lloh24:
	ldr	x1, [x1, _tps6105x_flash_cell@GOTPAGEOFF]
LBB0_16:
	mov	x0, x20
	bl	_tps6105x_add_device
	mov	x22, x0
	cbz	w0, LBB0_7
; %bb.17:
	mov	x0, x19
	bl	_mfd_remove_devices
	b	LBB0_7
LBB0_18:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_18-LBB0_13)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing platform data\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tps6105x_regmap_config,4,2     ; @tps6105x_regmap_config
l_.str.1:                               ; @.str.1
	.asciz	"chip initialization failed\n"

	.comm	_tps6105x_gpio_cell,4,2         ; @tps6105x_gpio_cell
l_.str.2:                               ; @.str.2
	.asciz	"present, not used for anything, only GPIO\n"

	.comm	_tps6105x_leds_cell,4,2         ; @tps6105x_leds_cell
	.comm	_tps6105x_flash_cell,4,2        ; @tps6105x_flash_cell
	.comm	_tps6105x_regulator_cell,4,2    ; @tps6105x_regulator_cell
l_.str.3:                               ; @.str.3
	.asciz	"invalid mode: %d\n"

	.no_dead_strip	_tps6105x_probe
.subsections_via_symbols
