	.file	"extr_stpmic1_regulator.c_stpmic1_regulator_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to register %s regulator\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"st,mask-reset"
.LC2:
	.string	"set mask reset failed\n"
.LC3:
	.string	"Request IRQ failed\n"
	.text
	.p2align 4
	.type	stpmic1_regulator_register, @function
stpmic1_regulator_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rdi, rbp
	mov	rdx, rsp
	lea	rsi, 12[rbx]
	mov	r13, rax
	mov	eax, DWORD PTR 4[r12]
	mov	QWORD PTR 24[rsp], rbp
	mov	DWORD PTR 4[rsp], 0
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR [rsp], eax
	mov	eax, DWORD PTR 0[r13]
	mov	QWORD PTR 8[rsp], rbx
	mov	DWORD PTR 16[rsp], eax
	call	devm_regulator_register@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L21
	mov	edi, DWORD PTR [rsp]
	xor	edx, edx
	lea	rsi, .LC1[rip]
	call	of_get_property@PLT
	test	rax, rax
	je	.L4
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	jne	.L22
.L4:
	mov	edi, DWORD PTR [rsp]
	xor	esi, esi
	xor	r13d, r13d
	call	of_irq_get@PLT
	mov	esi, eax
	test	eax, eax
	jg	.L23
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	r9d, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR stpmic1_curlim_irq_handler[rip]
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 112
	mov	r8d, DWORD PTR IRQF_ONESHOT[rip]
	mov	rdi, rbp
	or	r8d, DWORD PTR IRQF_SHARED[rip]
	call	devm_request_threaded_irq@PLT
	mov	r13d, eax
	pop	rax
	.cfi_def_cfa_offset 104
	pop	rdx
	.cfi_def_cfa_offset 96
	test	r13d, r13d
	je	.L1
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edx, DWORD PTR 12[rbx]
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, r12
	call	PTR_ERR@PLT
	mov	r13d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edx, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR 0[r13]
	mov	ecx, edx
	call	regmap_update_bits@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L4
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	stpmic1_regulator_register, .-stpmic1_regulator_register
	.comm	stpmic1_curlim_irq_handler,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IRQF_ONESHOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_stpmic1_regulator.c_stpmic1_regulator_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to register %s regulator\012\000"
	.align	2
.LC1:
	.ascii	"st,mask-reset\000"
	.align	2
.LC2:
	.ascii	"set mask reset failed\012\000"
	.align	2
.LC3:
	.ascii	"Request IRQ failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stpmic1_regulator_register, %function
stpmic1_regulator_register:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r3
	ldr	r3, .L24
	sub	sp, sp, #40
	mov	r5, r0
	ldr	r0, [r0]
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	dev_get_drvdata
	mov	r7, r0
	ldr	r2, [r4]
	ldr	r0, [r4, #4]
	ldr	r3, [r7]
	add	r1, r6, #8
	str	r0, [sp, #28]
	str	r2, [sp, #16]
	mov	r0, r5
	add	r2, sp, #16
	str	r3, [sp, #24]
	str	r5, [sp, #32]
	str	r6, [sp, #20]
	bl	devm_regulator_register
	mov	r8, r0
	bl	IS_ERR
	subs	r4, r0, #0
	bne	.L20
	mov	r2, r4
	ldr	r1, .L24+4
	ldr	r0, [sp, #16]
	bl	of_get_property
	cmp	r0, #0
	beq	.L4
	ldr	r1, [r6]
	cmp	r1, #0
	bne	.L21
.L4:
	mov	r1, #0
	ldr	r0, [sp, #16]
	bl	of_irq_get
	subs	r1, r0, #0
	bgt	.L22
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r3, .L24+8
	ldr	r2, .L24+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, .L24+16
	orr	r3, r3, r2
	ldr	r2, [r5, #4]
	str	r8, [sp, #8]
	str	r3, [sp]
	ldr	r3, [r0]
	str	r2, [sp, #4]
	mov	r0, r5
	mov	r2, #0
	bl	devm_request_threaded_irq
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r5
	ldr	r1, .L24+20
	bl	dev_err
	b	.L1
.L20:
	ldr	r2, [r6, #8]
	ldr	r1, .L24+24
	mov	r0, r5
	bl	dev_err
	mov	r0, r8
	bl	PTR_ERR
	mov	r4, r0
	b	.L1
.L21:
	ldr	r3, [r6, #4]
	ldr	r0, [r7]
	mov	r2, r3
	bl	regmap_update_bits
	subs	r3, r0, #0
	beq	.L4
	mov	r0, r5
	ldr	r1, .L24+28
	mov	r4, r3
	bl	dev_err
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC4
	.word	.LC1
	.word	IRQF_ONESHOT
	.word	IRQF_SHARED
	.word	stpmic1_curlim_irq_handler
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.size	stpmic1_regulator_register, .-stpmic1_regulator_register
	.comm	stpmic1_curlim_irq_handler,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IRQF_ONESHOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
