	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da9062_i2c_probe
_da9062_i2c_probe:                      ## @da9062_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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	_da9062_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_node
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %rbx
LBB0_4:
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 16(%r12)
	cmpl	$0, (%r14)
	je	LBB0_9
## %bb.5:
	movq	(%r12), %rax
	cmpq	$129, %rax
	je	LBB0_14
## %bb.6:
	cmpq	$128, %rax
	jne	LBB0_17
## %bb.7:
	movq	_da9062_regmap_config@GOTPCREL(%rip), %rbx
	movq	_da9062_irq_chip@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_da9062_devs@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r13d, %r13d
LBB0_12:
	subl	(%rax), %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_da9061_regmap_config@GOTPCREL(%rip), %rbx
	movq	_da9061_irq_chip@GOTPCREL(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_da9061_devs@GOTPCREL(%rip), %rax
LBB0_15:
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r13d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_devm_regmap_init_i2c
	movl	%eax, 24(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movl	24(%r12), %edi
	callq	_PTR_ERR
	movl	%eax, %r13d
	movq	16(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_13
LBB0_17:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_18:
	movl	%r13d, %ebx
	movq	%r12, %rdi
	callq	_da9062_clear_fault_log
	testl	%eax, %eax
	jns	LBB0_20
## %bb.19:
	movq	16(%r12), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_warn
LBB0_20:
	movq	%r12, %rdi
	callq	_da9062_get_device_type
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.21:
	movl	24(%r12), %edi
	movl	(%r14), %esi
	movq	_IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %r9
	addq	$8, %r9
	movl	$-1, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_regmap_add_irq_chip
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	%eax, %r13d
	movq	16(%r12), %rdi
	movl	(%r14), %edx
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_13
LBB0_23:
	movl	8(%r12), %edi
	callq	_regmap_irq_chip_get_base
	movq	16(%r12), %rdi
	movq	_PLATFORM_DEVID_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	$0, (%rsp)
	xorl	%r13d, %r13d
	movq	%r15, %rdx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	_mfd_add_devices
	testl	%eax, %eax
	je	LBB0_13
## %bb.24:
	movl	%eax, %ebx
	movq	16(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%r14), %edi
	movl	8(%r12), %esi
	callq	_regmap_del_irq_chip
	movl	%ebx, %r13d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_da9062_dt_ids,4,2              ## @da9062_dt_ids
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No IRQ configured\n"

	.comm	_da9061_devs,8,3                ## @da9061_devs
	.comm	_da9061_irq_chip,4,2            ## @da9061_irq_chip
	.comm	_da9061_regmap_config,4,2       ## @da9061_regmap_config
	.comm	_da9062_devs,8,3                ## @da9062_devs
	.comm	_da9062_irq_chip,4,2            ## @da9062_irq_chip
	.comm	_da9062_regmap_config,4,2       ## @da9062_regmap_config
L_.str.1:                               ## @.str.1
	.asciz	"Unrecognised chip type\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"Failed to allocate register map: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot clear fault log\n"

	.comm	_IRQF_TRIGGER_LOW,4,2           ## @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.4:                               ## @.str.4
	.asciz	"Failed to request IRQ %d: %d\n"

	.comm	_PLATFORM_DEVID_NONE,4,2        ## @PLATFORM_DEVID_NONE
L_.str.5:                               ## @.str.5
	.asciz	"Cannot register child devices\n"

	.no_dead_strip	_da9062_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da9062_i2c_probe
_da9062_i2c_probe:                      ; @da9062_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	x22, x1
	mov	x19, x0
	add	x21, x0, #8
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x1, [x21]
	cbz	x1, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _da9062_dt_ids@GOTPAGE
Lloh4:
	ldr	x8, [x8, _da9062_dt_ids@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_of_match_node
	cbz	x0, LBB0_10
; %bb.3:
	mov	x22, x0
LBB0_4:
	ldr	x8, [x22]
	str	x8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x21, [x20, #16]
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.5:
	ldr	x8, [x20]
	cmp	x8, #129
	b.eq	LBB0_11
; %bb.6:
	cmp	x8, #128
	b.ne	LBB0_14
; %bb.7:
Lloh6:
	adrp	x24, _da9062_regmap_config@GOTPAGE
Lloh7:
	ldr	x24, [x24, _da9062_regmap_config@GOTPAGEOFF]
Lloh8:
	adrp	x22, _da9062_irq_chip@GOTPAGE
Lloh9:
	ldr	x22, [x22, _da9062_irq_chip@GOTPAGEOFF]
Lloh10:
	adrp	x8, _da9062_devs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _da9062_devs@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_10:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh18:
	adrp	x24, _da9061_regmap_config@GOTPAGE
Lloh19:
	ldr	x24, [x24, _da9061_regmap_config@GOTPAGEOFF]
Lloh20:
	adrp	x22, _da9061_irq_chip@GOTPAGE
Lloh21:
	ldr	x22, [x22, _da9061_irq_chip@GOTPAGEOFF]
Lloh22:
	adrp	x8, _da9061_devs@GOTPAGE
Lloh23:
	ldr	x8, [x8, _da9061_devs@GOTPAGEOFF]
LBB0_12:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x23, x0
	mov	x0, x19
	mov	x1, x24
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.13:
	ldr	w0, [x20, #24]
	bl	_PTR_ERR
	mov	x24, x0
	ldr	x0, [x20, #16]
	str	x24, [sp]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_16
LBB0_14:
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh28:
	adrp	x8, _ENODEV@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_16:
	mov	x0, x24
	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_17:
	mov	x0, x20
	bl	_da9062_clear_fault_log
	tbz	w0, #31, LBB0_19
; %bb.18:
	ldr	x0, [x20, #16]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_warn
LBB0_19:
	mov	x0, x20
	bl	_da9062_get_device_type
	mov	x24, x0
	cbnz	w0, LBB0_16
; %bb.20:
	ldr	w0, [x20, #24]
	ldr	w1, [x19]
Lloh32:
	adrp	x8, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh38:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w2, w8, w9
	add	x5, x20, #8
	mov	w3, #-1
	mov	x4, x22
	bl	_regmap_add_irq_chip
	cbz	w0, LBB0_22
; %bb.21:
	mov	x24, x0
	ldr	x0, [x20, #16]
	ldr	w8, [x19]
	stp	x8, x24, [sp]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_16
LBB0_22:
	ldr	w0, [x20, #8]
	bl	_regmap_irq_chip_get_base
	mov	x5, x0
	ldr	x0, [x20, #16]
Lloh43:
	adrp	x8, _PLATFORM_DEVID_NONE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PLATFORM_DEVID_NONE@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x23
	mov	x4, #0
	mov	x6, #0
	bl	_mfd_add_devices
	mov	x24, x0
	cbz	w0, LBB0_16
; %bb.23:
	ldr	x0, [x20, #16]
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	ldr	w0, [x19]
	ldr	w1, [x20, #8]
	bl	_regmap_del_irq_chip
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_da9062_dt_ids,4,2              ; @da9062_dt_ids
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No IRQ configured\n"

	.comm	_da9061_devs,8,3                ; @da9061_devs
	.comm	_da9061_irq_chip,4,2            ; @da9061_irq_chip
	.comm	_da9061_regmap_config,4,2       ; @da9061_regmap_config
	.comm	_da9062_devs,8,3                ; @da9062_devs
	.comm	_da9062_irq_chip,4,2            ; @da9062_irq_chip
	.comm	_da9062_regmap_config,4,2       ; @da9062_regmap_config
l_.str.1:                               ; @.str.1
	.asciz	"Unrecognised chip type\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"Failed to allocate register map: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot clear fault log\n"

	.comm	_IRQF_TRIGGER_LOW,4,2           ; @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.4:                               ; @.str.4
	.asciz	"Failed to request IRQ %d: %d\n"

	.comm	_PLATFORM_DEVID_NONE,4,2        ; @PLATFORM_DEVID_NONE
l_.str.5:                               ; @.str.5
	.asciz	"Cannot register child devices\n"

	.no_dead_strip	_da9062_i2c_probe
.subsections_via_symbols
