	.file	"extr_nvmem-reboot-mode.c_nvmem_reboot_mode_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reboot-mode"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to get the nvmem cell reboot-mode\n"
	.section	.rodata.str1.1
.LC2:
	.string	"can't register reboot mode\n"
	.text
	.p2align 4
	.type	nvmem_reboot_mode_probe, @function
nvmem_reboot_mode_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 24
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 8[rax], r12
	mov	rbp, rax
	mov	eax, DWORD PTR nvmem_reboot_mode_write[rip]
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 0[rbp], eax
	call	devm_nvmem_cell_get@PLT
	mov	DWORD PTR 16[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	rsi, rbp
	mov	rdi, r12
	call	devm_reboot_mode_register@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L11
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L10:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	edi, DWORD PTR 16[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nvmem_reboot_mode_probe, .-nvmem_reboot_mode_probe
	.comm	nvmem_reboot_mode_write,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_nvmem-reboot-mode.c_nvmem_reboot_mode_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reboot-mode\000"
	.align	2
.LC1:
	.ascii	"failed to get the nvmem cell reboot-mode\012\000"
	.align	2
.LC2:
	.ascii	"can't register reboot mode\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvmem_reboot_mode_probe, %function
nvmem_reboot_mode_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, lr}
	mov	r1, #12
	ldr	r2, [r3]
	mov	r5, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L10
	ldr	r3, .L13+4
	ldr	r1, .L13+8
	ldr	r3, [r3]
	mov	r0, r5
	str	r3, [r4]
	str	r5, [r4, #4]
	bl	devm_nvmem_cell_get
	str	r0, [r4, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	mov	r1, r4
	mov	r0, r5
	bl	devm_reboot_mode_register
	subs	r4, r0, #0
	bne	.L12
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r5
	ldr	r1, .L13+12
	bl	dev_err
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L10:
	ldr	r3, .L13+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r5
	ldr	r1, .L13+20
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	GFP_KERNEL
	.word	nvmem_reboot_mode_write
	.word	.LC0
	.word	.LC1
	.word	ENOMEM
	.word	.LC2
	.size	nvmem_reboot_mode_probe, .-nvmem_reboot_mode_probe
	.comm	nvmem_reboot_mode_write,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
