	.file	"extr_fw-management.c_fw_mgmt_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gb_fw_mgmt"
	.text
	.p2align 4
	.globl	fw_mgmt_init
	.type	fw_mgmt_init, @function
fw_mgmt_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR THIS_MODULE[rip]
	lea	rsi, .LC0[rip]
	call	class_create@PLT
	mov	edi, eax
	mov	DWORD PTR fw_mgmt_class[rip], eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	edx, DWORD PTR NUM_MINORS[rip]
	lea	rcx, .LC0[rip]
	xor	esi, esi
	lea	rdi, fw_mgmt_dev_num[rip]
	call	alloc_chrdev_region@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR fw_mgmt_class[rip]
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR fw_mgmt_class[rip]
	call	class_destroy@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fw_mgmt_init, .-fw_mgmt_init
	.comm	fw_mgmt_dev_num,4,4
	.comm	fw_mgmt_class,4,4
	.comm	THIS_MODULE,4,4
	.comm	NUM_MINORS,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_fw-management.c_fw_mgmt_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gb_fw_mgmt\000"
	.text
	.align	2
	.global	fw_mgmt_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	fw_mgmt_init, %function
fw_mgmt_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r1, .L11+4
	ldr	r0, [r3]
	bl	class_create
	ldr	r5, .L11+8
	str	r0, [r5]
	bl	IS_ERR
	subs	r1, r0, #0
	bne	.L9
	ldr	r3, .L11+12
	ldr	r0, .L11+16
	ldr	r2, [r3]
	ldr	r3, .L11+4
	bl	alloc_chrdev_region
	subs	r4, r0, #0
	bne	.L10
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, [r5]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L10:
	ldr	r0, [r5]
	bl	class_destroy
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	THIS_MODULE
	.word	.LC0
	.word	fw_mgmt_class
	.word	NUM_MINORS
	.word	fw_mgmt_dev_num
	.size	fw_mgmt_init, .-fw_mgmt_init
	.comm	fw_mgmt_dev_num,4,4
	.comm	fw_mgmt_class,4,4
	.comm	THIS_MODULE,4,4
	.comm	NUM_MINORS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
