	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77620_probe
_max77620_probe:                        ## @max77620_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	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%rbx)
	movl	$-1, (%rbx)
	movl	4(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	(%r15), %edx
	movl	%edx, 4(%rbx)
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	jae	LBB0_5
## %bb.2:
	cltq
	leaq	l_switch.table.max77620_probe(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.max77620_probe.4(%rip), %rdx
	movq	(%rdx,%rax,8), %r15
	movq	(%rcx), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r13d
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_devm_regmap_init_i2c
	movl	%eax, 20(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	20(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_17:
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_7
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	callq	_max77620_read_es_version
	testl	%eax, %eax
	js	LBB0_15
## %bb.9:
	movq	_max77620_top_irq_chip@GOTPCREL(%rip), %r9
	movq	%rbx, (%r9)
	movq	8(%rbx), %rdi
	movl	20(%rbx), %esi
	movl	4(%r14), %edx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rbx), %r8d
	movq	%rbx, %rax
	addq	$16, %rax
	movq	%rax, (%rsp)
	callq	_devm_regmap_add_irq_chip
	testl	%eax, %eax
	js	LBB0_16
## %bb.10:
	movq	%rbx, %rdi
	callq	_max77620_initialise_fps
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:
	movq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_PLATFORM_DEVID_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %edi
	callq	_regmap_irq_get_domain
	movl	%eax, (%rsp)
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_devm_mfd_add_devices
	testl	%eax, %eax
	js	LBB0_19
## %bb.12:
	movl	(%r14), %edi
	callq	_of_device_is_system_power_controller
	testl	%eax, %eax
	je	LBB0_7
## %bb.13:
	movq	_pm_power_off@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.14:
	movq	_max77620_scratch@GOTPCREL(%rip), %rcx
	movq	%rbx, (%rcx)
	movq	_max77620_pm_power_off@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_7
LBB0_15:
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_16:
	movl	%eax, %r15d
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_17
LBB0_19:
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movl	%r12d, %r15d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_max77620_children,8,3          ## @max77620_children
	.comm	_max77620_regmap_config,4,2     ## @max77620_regmap_config
	.comm	_max20024_children,8,3          ## @max20024_children
	.comm	_max20024_regmap_config,4,2     ## @max20024_regmap_config
	.comm	_max77663_children,8,3          ## @max77663_children
	.comm	_max77663_regmap_config,4,2     ## @max77663_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ChipID is invalid %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to initialise regmap: %d\n"

	.comm	_max77620_top_irq_chip,8,3      ## @max77620_top_irq_chip
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.2:                               ## @.str.2
	.asciz	"Failed to add regmap irq: %d\n"

	.comm	_PLATFORM_DEVID_NONE,4,2        ## @PLATFORM_DEVID_NONE
L_.str.3:                               ## @.str.3
	.asciz	"Failed to add MFD children: %d\n"

	.comm	_pm_power_off,8,3               ## @pm_power_off
	.comm	_max77620_scratch,8,3           ## @max77620_scratch
	.comm	_max77620_pm_power_off,8,3      ## @max77620_pm_power_off
	.no_dead_strip	_max77620_probe
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.max77620_probe
l_switch.table.max77620_probe:
	.quad	_max77663_children
	.quad	_max77620_children
	.quad	_max20024_children

	.p2align	3                               ## @switch.table.max77620_probe.4
l_switch.table.max77620_probe.4:
	.quad	_max77663_regmap_config
	.quad	_max77620_regmap_config
	.quad	_max20024_regmap_config

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max77620_probe
_max77620_probe:                        ; @max77620_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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_clientdata
	str	x20, [x19, #8]
	mov	w8, #-1
	ldr	w9, [x20, #4]
	str	w9, [x19, #24]
	ldr	w2, [x21]
	stp	w8, w2, [x19]
	sub	w8, w2, #128
	cmp	w8, #3
	b.hs	LBB0_6
; %bb.2:
	sbfiz	x8, x8, #3, #32
Lloh3:
	adrp	x9, l_switch.table.max77620_probe@PAGE
Lloh4:
	add	x9, x9, l_switch.table.max77620_probe@PAGEOFF
	ldr	x9, [x9, x8]
Lloh5:
	adrp	x10, l_switch.table.max77620_probe.4@PAGE
Lloh6:
	add	x10, x10, l_switch.table.max77620_probe.4@PAGEOFF
	ldr	x21, [x10, x8]
	ldr	x22, [x9]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x23, x0
	mov	x0, x20
	mov	x1, x21
	bl	_devm_regmap_init_i2c
	str	w0, [x19, #20]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.3:
	ldr	w0, [x19, #20]
	bl	_PTR_ERR
	mov	x21, x0
	ldr	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x2, x21
	bl	_dev_err
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	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_9:
	mov	x0, x19
	bl	_max77620_read_es_version
	tbnz	w0, #31, LBB0_16
; %bb.10:
Lloh15:
	adrp	x5, _max77620_top_irq_chip@GOTPAGE
Lloh16:
	ldr	x5, [x5, _max77620_top_irq_chip@GOTPAGEOFF]
	str	x19, [x5]
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #20]
	ldr	w2, [x20, #4]
Lloh17:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	w4, [x19]
	add	x6, x19, #16
	bl	_devm_regmap_add_irq_chip
	tbnz	w0, #31, LBB0_17
; %bb.11:
	mov	x0, x19
	bl	_max77620_initialise_fps
	tbnz	w0, #31, LBB0_16
; %bb.12:
	ldr	x21, [x19, #8]
Lloh23:
	adrp	x8, _PLATFORM_DEVID_NONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PLATFORM_DEVID_NONE@GOTPAGEOFF]
Lloh25:
	ldr	w24, [x8]
	ldr	w0, [x19, #16]
	bl	_regmap_irq_get_domain
	mov	x6, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	mov	x3, x23
	mov	x4, #0
	mov	w5, #0
	bl	_devm_mfd_add_devices
	tbnz	w0, #31, LBB0_18
; %bb.13:
	ldr	w0, [x20]
	bl	_of_device_is_system_power_controller
	mov	w21, #0
	cbz	w0, LBB0_8
; %bb.14:
Lloh26:
	adrp	x8, _pm_power_off@GOTPAGE
Lloh27:
	ldr	x8, [x8, _pm_power_off@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_8
; %bb.15:
	mov	w21, #0
Lloh28:
	adrp	x9, _max77620_scratch@GOTPAGE
Lloh29:
	ldr	x9, [x9, _max77620_scratch@GOTPAGEOFF]
Lloh30:
	str	x19, [x9]
Lloh31:
	adrp	x9, _max77620_pm_power_off@GOTPAGE
Lloh32:
	ldr	x9, [x9, _max77620_pm_power_off@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	str	x9, [x8]
	b	LBB0_8
LBB0_16:
	mov	x21, x0
	b	LBB0_8
LBB0_17:
	mov	x21, x0
	ldr	x0, [x19, #8]
Lloh34:
	adrp	x1, l_.str.2@PAGE
Lloh35:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_18:
	mov	x21, x0
	ldr	x0, [x19, #8]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_max77620_children,8,3          ; @max77620_children
	.comm	_max77620_regmap_config,4,2     ; @max77620_regmap_config
	.comm	_max20024_children,8,3          ; @max20024_children
	.comm	_max20024_regmap_config,4,2     ; @max20024_regmap_config
	.comm	_max77663_children,8,3          ; @max77663_children
	.comm	_max77663_regmap_config,4,2     ; @max77663_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ChipID is invalid %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to initialise regmap: %d\n"

	.comm	_max77620_top_irq_chip,8,3      ; @max77620_top_irq_chip
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.2:                               ; @.str.2
	.asciz	"Failed to add regmap irq: %d\n"

	.comm	_PLATFORM_DEVID_NONE,4,2        ; @PLATFORM_DEVID_NONE
l_.str.3:                               ; @.str.3
	.asciz	"Failed to add MFD children: %d\n"

	.comm	_pm_power_off,8,3               ; @pm_power_off
	.comm	_max77620_scratch,8,3           ; @max77620_scratch
	.comm	_max77620_pm_power_off,8,3      ; @max77620_pm_power_off
	.no_dead_strip	_max77620_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.max77620_probe
l_switch.table.max77620_probe:
	.quad	_max77663_children
	.quad	_max77620_children
	.quad	_max20024_children

	.p2align	3                               ; @switch.table.max77620_probe.4
l_switch.table.max77620_probe.4:
	.quad	_max77663_regmap_config
	.quad	_max77620_regmap_config
	.quad	_max20024_regmap_config

.subsections_via_symbols
