	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl6040_probe
_twl6040_probe:                         ## @twl6040_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_5
## %bb.1:
	cmpl	$0, 8(%r12)
	je	LBB0_6
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r14
	movq	_twl6040_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	32(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_11:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_clientdata
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 80(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	80(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_9
## %bb.13:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_dbg
	movq	$0, 80(%r14)
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 72(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	72(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_9
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_dbg
	movq	$0, 72(%r14)
LBB0_17:
	movq	8(%r14), %rdx
	leaq	L_.str.6(%rip), %rax
	movq	%rax, (%rdx)
	leaq	L_.str.7(%rip), %rax
	movq	%rax, 8(%rdx)
	movq	_TWL6040_NUM_SUPPLIES@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_devm_regulator_bulk_get
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_21
LBB0_19:
	movl	(%r13), %edi
	movq	8(%r14), %rsi
	callq	_regulator_bulk_enable
	testl	%eax, %eax
	je	LBB0_22
## %bb.20:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
LBB0_21:
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_22:
	movq	%r12, 40(%r14)
	movl	8(%r12), %eax
	movl	%eax, 20(%r14)
	leaq	68(%r14), %rdi
	callq	_mutex_init
	leaq	64(%r14), %rdi
	callq	_init_completion
	movq	32(%r14), %r13
	movq	_twl6040_patch@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_regmap_register_patch
	movq	_TWL6040_REG_ASICREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_twl6040_reg_read
	movl	%eax, (%r14)
	testl	%eax, %eax
	js	LBB0_25
## %bb.23:
	movq	%r14, %rdi
	callq	_twl6040_get_revid
	movq	_TWL6040_REV_ES1_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_26
## %bb.24:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movl	%eax, %edi
	jmp	LBB0_27
LBB0_25:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%r14), %ebx
	jmp	LBB0_38
LBB0_26:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_27:
	movq	_TWL6040_NUM_SUPPLIES@GOTPCREL(%rip), %r13
	movl	%edi, 4(%r14)
	callq	_gpio_is_valid
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:
	movl	4(%r14), %esi
	movq	_GPIOF_OUT_INIT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.12(%rip), %rcx
	movq	%r12, %rdi
	callq	_devm_gpio_request_one
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.29:
	movq	_TWL6040_REG_INTID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_twl6040_reg_read
LBB0_30:
	movq	32(%r14), %rdi
	movl	20(%r14), %esi
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %r9
	addq	$16, %r9
	movq	_twl6040_irq_chip@GOTPCREL(%rip), %r8
	xorl	%ecx, %ecx
	callq	_regmap_add_irq_chip
	testl	%eax, %eax
	js	LBB0_33
## %bb.31:
	movl	16(%r14), %edi
	movq	_TWL6040_IRQ_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_irq_get_virq
	movq	%rax, 56(%r14)
	movl	16(%r14), %edi
	movq	_TWL6040_IRQ_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_irq_get_virq
	movq	%rax, 48(%r14)
	movq	40(%r14), %rdi
	movq	56(%r14), %rsi
	movq	_twl6040_readyint_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	%r14, (%rsp)
	leaq	L_.str.13(%rip), %r9
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	movq	40(%r14), %rdi
	testl	%eax, %eax
	je	LBB0_34
## %bb.32:
	movl	%eax, %r13d
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_36
LBB0_33:
	movl	%eax, %ebx
	jmp	LBB0_39
LBB0_34:
	movq	48(%r14), %rsi
	movq	_twl6040_thint_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	movq	%r14, (%rsp)
	leaq	L_.str.15(%rip), %r9
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_40
## %bb.35:
	movl	%eax, %r13d
	movq	40(%r14), %rdi
	leaq	L_.str.16(%rip), %rsi
LBB0_36:
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_37:
	movl	16(%r14), %esi
	movl	20(%r14), %edi
	callq	_regmap_del_irq_chip
	movl	%r13d, %ebx
LBB0_38:
	movq	_TWL6040_NUM_SUPPLIES@GOTPCREL(%rip), %r13
LBB0_39:
	movl	(%r13), %edi
	movq	8(%r14), %rsi
	callq	_regulator_bulk_disable
	jmp	LBB0_9
LBB0_40:
	movl	16(%r14), %edi
	movq	_TWL6040_IRQ_PLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_irq_get_virq
	movq	24(%r14), %rbx
	leaq	L_.str.17(%rip), %rcx
	movq	%rcx, (%rbx)
	movq	_twl6040_codec_rsrc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	%eax, (%rdi)
	movl	%eax, 4(%rdi)
	movq	%rdi, 16(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	callq	_twl6040_has_vibra
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movl	16(%r14), %edi
	movq	_TWL6040_IRQ_VIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_irq_get_virq
	movq	24(%r14), %rbx
	leaq	L_.str.18(%rip), %rcx
	movq	%rcx, 24(%rbx)
	movq	_twl6040_vibra_rsrc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	%eax, (%rdi)
	movl	%eax, 4(%rdi)
	movq	%rdi, 40(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 32(%rbx)
	movl	$2, %r15d
	jmp	LBB0_43
LBB0_42:
	movl	$1, %r15d
LBB0_43:
	movq	24(%r14), %rax
	movl	%r15d, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	L_.str.19(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
	leal	1(%r15), %ecx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	L_.str.20(%rip), %rdx
	movq	%rdx, (%rax,%rcx,8)
	addl	$2, %r15d
	movq	32(%r14), %rdi
	movl	$1, %esi
	callq	_regcache_cache_only
	movq	32(%r14), %rdi
	callq	_regcache_mark_dirty
	movq	24(%r14), %rdx
	movq	$0, (%rsp)
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	$-1, %esi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mfd_add_devices
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_37
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"of node is missing\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Invalid IRQ configuration\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_twl6040_regmap_config,4,2      ## @twl6040_regmap_config
L_.str.2:                               ## @.str.2
	.asciz	"clk32k"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.3:                               ## @.str.3
	.asciz	"clk32k is not handled\n"

L_.str.4:                               ## @.str.4
	.asciz	"mclk"

L_.str.5:                               ## @.str.5
	.asciz	"mclk is not handled\n"

L_.str.6:                               ## @.str.6
	.asciz	"vio"

L_.str.7:                               ## @.str.7
	.asciz	"v2v1"

	.comm	_TWL6040_NUM_SUPPLIES,4,2       ## @TWL6040_NUM_SUPPLIES
L_.str.8:                               ## @.str.8
	.asciz	"Failed to get supplies: %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to enable supplies: %d\n"

	.comm	_twl6040_patch,8,3              ## @twl6040_patch
	.comm	_TWL6040_REG_ASICREV,4,2        ## @TWL6040_REG_ASICREV
L_.str.10:                              ## @.str.10
	.asciz	"Failed to read revision register: %d\n"

	.comm	_TWL6040_REV_ES1_0,8,3          ## @TWL6040_REV_ES1_0
L_.str.11:                              ## @.str.11
	.asciz	"ti,audpwron-gpio"

	.comm	_GPIOF_OUT_INIT_LOW,4,2         ## @GPIOF_OUT_INIT_LOW
L_.str.12:                              ## @.str.12
	.asciz	"audpwron"

	.comm	_TWL6040_REG_INTID,4,2          ## @TWL6040_REG_INTID
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_twl6040_irq_chip,4,2           ## @twl6040_irq_chip
	.comm	_TWL6040_IRQ_READY,4,2          ## @TWL6040_IRQ_READY
	.comm	_TWL6040_IRQ_TH,4,2             ## @TWL6040_IRQ_TH
	.comm	_twl6040_readyint_handler,4,2   ## @twl6040_readyint_handler
L_.str.13:                              ## @.str.13
	.asciz	"twl6040_irq_ready"

L_.str.14:                              ## @.str.14
	.asciz	"READY IRQ request failed: %d\n"

	.comm	_twl6040_thint_handler,4,2      ## @twl6040_thint_handler
L_.str.15:                              ## @.str.15
	.asciz	"twl6040_irq_th"

L_.str.16:                              ## @.str.16
	.asciz	"Thermal IRQ request failed: %d\n"

	.comm	_TWL6040_IRQ_PLUG,4,2           ## @TWL6040_IRQ_PLUG
L_.str.17:                              ## @.str.17
	.asciz	"twl6040-codec"

	.comm	_twl6040_codec_rsrc,8,3         ## @twl6040_codec_rsrc
	.comm	_TWL6040_IRQ_VIB,4,2            ## @TWL6040_IRQ_VIB
L_.str.18:                              ## @.str.18
	.asciz	"twl6040-vibra"

	.comm	_twl6040_vibra_rsrc,8,3         ## @twl6040_vibra_rsrc
L_.str.19:                              ## @.str.19
	.asciz	"twl6040-gpo"

L_.str.20:                              ## @.str.20
	.asciz	"twl6040-pdmclk"

	.no_dead_strip	_twl6040_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl6040_probe
_twl6040_probe:                         ; @twl6040_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	x20, x0
	ldr	x21, [x0]
	cbz	x21, LBB0_5
; %bb.1:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x19, x0
Lloh3:
	adrp	x1, _twl6040_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _twl6040_regmap_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x0, [x19, #32]
	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
	b	_PTR_ERR
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	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_10:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_clientdata
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #80]
	bl	_IS_ERR
Lloh15:
	adrp	x23, _EPROBE_DEFER@GOTPAGE
Lloh16:
	ldr	x23, [x23, _EPROBE_DEFER@GOTPAGEOFF]
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x0, [x19, #80]
	bl	_PTR_ERR
	mov	x22, x0
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_9
; %bb.13:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	xzr, [x19, #80]
LBB0_14:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.15:
	ldr	x0, [x19, #72]
	bl	_PTR_ERR
	mov	x22, x0
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_9
; %bb.16:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	xzr, [x19, #72]
LBB0_17:
Lloh23:
	adrp	x8, l_.str.6@PAGE
Lloh24:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh25:
	adrp	x9, l_.str.7@PAGE
Lloh26:
	add	x9, x9, l_.str.7@PAGEOFF
	ldr	x2, [x19, #8]
	stp	x8, x9, [x2]
Lloh27:
	adrp	x24, _TWL6040_NUM_SUPPLIES@GOTPAGE
Lloh28:
	ldr	x24, [x24, _TWL6040_NUM_SUPPLIES@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_devm_regulator_bulk_get
	cbz	w0, LBB0_19
; %bb.18:
	mov	x22, x0
	str	x22, [sp]
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_9
LBB0_19:
	ldr	w0, [x24]
	ldr	x1, [x19, #8]
	bl	_regulator_bulk_enable
	cbz	w0, LBB0_21
; %bb.20:
	mov	x22, x0
	str	x22, [sp]
Lloh31:
	adrp	x1, l_.str.9@PAGE
Lloh32:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_9
LBB0_21:
	str	x20, [x19, #40]
	ldr	w8, [x20, #8]
	str	w8, [x19, #20]
	add	x0, x19, #68
	bl	_mutex_init
	add	x0, x19, #64
	bl	_init_completion
	ldr	x22, [x19, #32]
Lloh33:
	adrp	x8, _twl6040_patch@GOTPAGE
Lloh34:
	ldr	x8, [x8, _twl6040_patch@GOTPAGEOFF]
Lloh35:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_regmap_register_patch
Lloh36:
	adrp	x8, _TWL6040_REG_ASICREV@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TWL6040_REG_ASICREV@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_twl6040_reg_read
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	tbnz	w0, #31, LBB0_24
; %bb.22:
	mov	x0, x19
	bl	_twl6040_get_revid
Lloh39:
	adrp	x8, _TWL6040_REV_ES1_0@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TWL6040_REV_ES1_0@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_25
; %bb.23:
Lloh42:
	adrp	x1, l_.str.11@PAGE
Lloh43:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_get_named_gpio
	b	LBB0_26
LBB0_24:
	str	x0, [sp]
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w22, [x19]
	b	LBB0_37
LBB0_25:
Lloh46:
	adrp	x8, _EINVAL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	str	w0, [x19, #4]
	bl	_gpio_is_valid
	cbz	x0, LBB0_29
; %bb.27:
	ldr	w1, [x19, #4]
Lloh49:
	adrp	x8, _GPIOF_OUT_INIT_LOW@GOTPAGE
Lloh50:
	ldr	x8, [x8, _GPIOF_OUT_INIT_LOW@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
Lloh52:
	adrp	x3, l_.str.12@PAGE
Lloh53:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_devm_gpio_request_one
	mov	x22, x0
	cbnz	w0, LBB0_37
; %bb.28:
Lloh54:
	adrp	x8, _TWL6040_REG_INTID@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TWL6040_REG_INTID@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_twl6040_reg_read
LBB0_29:
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #20]
Lloh57:
	adrp	x23, _IRQF_ONESHOT@GOTPAGE
Lloh58:
	ldr	x23, [x23, _IRQF_ONESHOT@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x5, x19, #16
Lloh59:
	adrp	x4, _twl6040_irq_chip@GOTPAGE
Lloh60:
	ldr	x4, [x4, _twl6040_irq_chip@GOTPAGEOFF]
	mov	w3, #0
	bl	_regmap_add_irq_chip
	tbnz	w0, #31, LBB0_32
; %bb.30:
	ldr	w0, [x19, #16]
Lloh61:
	adrp	x8, _TWL6040_IRQ_READY@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TWL6040_IRQ_READY@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	bl	_regmap_irq_get_virq
	str	x0, [x19, #56]
	ldr	w0, [x19, #16]
Lloh64:
	adrp	x8, _TWL6040_IRQ_TH@GOTPAGE
Lloh65:
	ldr	x8, [x8, _TWL6040_IRQ_TH@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	bl	_regmap_irq_get_virq
	str	x0, [x19, #48]
	ldr	x0, [x19, #40]
	ldr	x1, [x19, #56]
Lloh67:
	adrp	x8, _twl6040_readyint_handler@GOTPAGE
Lloh68:
	ldr	x8, [x8, _twl6040_readyint_handler@GOTPAGEOFF]
Lloh69:
	ldr	w3, [x8]
	ldr	w4, [x23]
Lloh70:
	adrp	x5, l_.str.13@PAGE
Lloh71:
	add	x5, x5, l_.str.13@PAGEOFF
	mov	x2, #0
	mov	x6, x19
	bl	_devm_request_threaded_irq
	mov	x22, x0
	ldr	x0, [x19, #40]
	cbz	w22, LBB0_33
; %bb.31:
	str	x22, [sp]
Lloh72:
	adrp	x1, l_.str.14@PAGE
Lloh73:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_35
LBB0_32:
	mov	x22, x0
	b	LBB0_37
LBB0_33:
	ldr	x1, [x19, #48]
Lloh74:
	adrp	x8, _twl6040_thint_handler@GOTPAGE
Lloh75:
	ldr	x8, [x8, _twl6040_thint_handler@GOTPAGEOFF]
Lloh76:
	ldr	w3, [x8]
	ldr	w4, [x23]
Lloh77:
	adrp	x5, l_.str.15@PAGE
Lloh78:
	add	x5, x5, l_.str.15@PAGEOFF
	mov	x2, #0
	mov	x6, x19
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_38
; %bb.34:
	mov	x22, x0
	ldr	x0, [x19, #40]
	str	x22, [sp]
Lloh79:
	adrp	x1, l_.str.16@PAGE
Lloh80:
	add	x1, x1, l_.str.16@PAGEOFF
LBB0_35:
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_36:
	ldp	w1, w0, [x19, #16]
	bl	_regmap_del_irq_chip
LBB0_37:
	ldr	w0, [x24]
	ldr	x1, [x19, #8]
	bl	_regulator_bulk_disable
	b	LBB0_9
LBB0_38:
	ldr	w0, [x19, #16]
Lloh81:
	adrp	x8, _TWL6040_IRQ_PLUG@GOTPAGE
Lloh82:
	ldr	x8, [x8, _TWL6040_IRQ_PLUG@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	bl	_regmap_irq_get_virq
	ldr	x22, [x19, #24]
Lloh84:
	adrp	x8, l_.str.17@PAGE
Lloh85:
	add	x8, x8, l_.str.17@PAGEOFF
	str	x8, [x22]
Lloh86:
	adrp	x8, _twl6040_codec_rsrc@GOTPAGE
Lloh87:
	ldr	x8, [x8, _twl6040_codec_rsrc@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	stp	w0, w0, [x8]
	str	x8, [x22, #16]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	x0, [x22, #8]
	mov	x0, x21
	bl	_twl6040_has_vibra
	cbz	x0, LBB0_40
; %bb.39:
	ldr	w0, [x19, #16]
Lloh89:
	adrp	x8, _TWL6040_IRQ_VIB@GOTPAGE
Lloh90:
	ldr	x8, [x8, _TWL6040_IRQ_VIB@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	bl	_regmap_irq_get_virq
	ldr	x21, [x19, #24]
Lloh92:
	adrp	x8, l_.str.18@PAGE
Lloh93:
	add	x8, x8, l_.str.18@PAGEOFF
	str	x8, [x21, #24]
Lloh94:
	adrp	x8, _twl6040_vibra_rsrc@GOTPAGE
Lloh95:
	ldr	x8, [x8, _twl6040_vibra_rsrc@GOTPAGEOFF]
Lloh96:
	ldr	x8, [x8]
	stp	w0, w0, [x8]
	str	x8, [x21, #40]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	x0, [x21, #32]
	mov	w8, #2
	b	LBB0_41
LBB0_40:
	mov	w8, #1
LBB0_41:
	mov	w9, #24
Lloh97:
	adrp	x10, l_.str.19@PAGE
Lloh98:
	add	x10, x10, l_.str.19@PAGEOFF
	umull	x11, w8, w9
	ldp	x12, x0, [x19, #24]
	str	x10, [x12, x11]
	add	w10, w8, #1
	umull	x9, w10, w9
Lloh99:
	adrp	x10, l_.str.20@PAGE
Lloh100:
	add	x10, x10, l_.str.20@PAGEOFF
	str	x10, [x12, x9]
	add	w21, w8, #2
	mov	w1, #1
	bl	_regcache_cache_only
	ldr	x0, [x19, #32]
	bl	_regcache_mark_dirty
	ldr	x2, [x19, #24]
	mov	x0, x20
	mov	w1, #-1
	mov	x3, x21
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_mfd_add_devices
	mov	x22, x0
	cbnz	w0, LBB0_36
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"of node is missing\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Invalid IRQ configuration\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_twl6040_regmap_config,4,2      ; @twl6040_regmap_config
l_.str.2:                               ; @.str.2
	.asciz	"clk32k"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.3:                               ; @.str.3
	.asciz	"clk32k is not handled\n"

l_.str.4:                               ; @.str.4
	.asciz	"mclk"

l_.str.5:                               ; @.str.5
	.asciz	"mclk is not handled\n"

l_.str.6:                               ; @.str.6
	.asciz	"vio"

l_.str.7:                               ; @.str.7
	.asciz	"v2v1"

	.comm	_TWL6040_NUM_SUPPLIES,4,2       ; @TWL6040_NUM_SUPPLIES
l_.str.8:                               ; @.str.8
	.asciz	"Failed to get supplies: %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to enable supplies: %d\n"

	.comm	_twl6040_patch,8,3              ; @twl6040_patch
	.comm	_TWL6040_REG_ASICREV,4,2        ; @TWL6040_REG_ASICREV
l_.str.10:                              ; @.str.10
	.asciz	"Failed to read revision register: %d\n"

	.comm	_TWL6040_REV_ES1_0,8,3          ; @TWL6040_REV_ES1_0
l_.str.11:                              ; @.str.11
	.asciz	"ti,audpwron-gpio"

	.comm	_GPIOF_OUT_INIT_LOW,4,2         ; @GPIOF_OUT_INIT_LOW
l_.str.12:                              ; @.str.12
	.asciz	"audpwron"

	.comm	_TWL6040_REG_INTID,4,2          ; @TWL6040_REG_INTID
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_twl6040_irq_chip,4,2           ; @twl6040_irq_chip
	.comm	_TWL6040_IRQ_READY,4,2          ; @TWL6040_IRQ_READY
	.comm	_TWL6040_IRQ_TH,4,2             ; @TWL6040_IRQ_TH
	.comm	_twl6040_readyint_handler,4,2   ; @twl6040_readyint_handler
l_.str.13:                              ; @.str.13
	.asciz	"twl6040_irq_ready"

l_.str.14:                              ; @.str.14
	.asciz	"READY IRQ request failed: %d\n"

	.comm	_twl6040_thint_handler,4,2      ; @twl6040_thint_handler
l_.str.15:                              ; @.str.15
	.asciz	"twl6040_irq_th"

l_.str.16:                              ; @.str.16
	.asciz	"Thermal IRQ request failed: %d\n"

	.comm	_TWL6040_IRQ_PLUG,4,2           ; @TWL6040_IRQ_PLUG
l_.str.17:                              ; @.str.17
	.asciz	"twl6040-codec"

	.comm	_twl6040_codec_rsrc,8,3         ; @twl6040_codec_rsrc
	.comm	_TWL6040_IRQ_VIB,4,2            ; @TWL6040_IRQ_VIB
l_.str.18:                              ; @.str.18
	.asciz	"twl6040-vibra"

	.comm	_twl6040_vibra_rsrc,8,3         ; @twl6040_vibra_rsrc
l_.str.19:                              ; @.str.19
	.asciz	"twl6040-gpo"

l_.str.20:                              ; @.str.20
	.asciz	"twl6040-pdmclk"

	.no_dead_strip	_twl6040_probe
.subsections_via_symbols
