	.file	"extr_swnode.c_fwnode_create_software_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fwnode_create_software_node
	.type	fwnode_create_software_node, @function
fwnode_create_software_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	test	rsi, rsi
	je	.L2
	mov	rdi, rsi
	call	IS_ERR@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L16
	call	is_software_node@PLT
	mov	edi, DWORD PTR EINVAL[rip]
	test	eax, eax
	je	.L14
	mov	rdi, rbp
	call	to_swnode@PLT
	mov	rbp, rax
.L2:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 8
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L17
	mov	rsi, r13
	mov	rdi, rax
	call	software_node_register_properties@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L18
	xor	eax, eax
	test	rbp, rbp
	je	.L7
	mov	rax, QWORD PTR 0[rbp]
.L7:
	mov	QWORD PTR [r12], rax
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, 1
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	swnode_register@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	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	ERR_CAST@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
.L14:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	neg	edi
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, r12
	call	kfree@PLT
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	edi, r13d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	fwnode_create_software_node, .-fwnode_create_software_node
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_swnode.c_fwnode_create_software_node.c"
	.text
	.align	2
	.global	fwnode_create_software_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwnode_create_software_node, %function
fwnode_create_software_node:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	mov	r5, r0
	beq	.L2
	mov	r0, r4
	bl	IS_ERR
	cmp	r0, #0
	mov	r0, r4
	bne	.L14
	bl	is_software_node
	cmp	r0, #0
	beq	.L15
	mov	r0, r4
	bl	to_swnode
	mov	r4, r0
.L2:
	ldr	r3, .L18
	mov	r0, #4
	ldr	r1, [r3]
	bl	kzalloc
	subs	r6, r0, #0
	beq	.L16
	mov	r1, r5
	bl	software_node_register_properties
	subs	r5, r0, #0
	bne	.L17
	cmp	r4, #0
	moveq	r3, r4
	ldrne	r3, [r4]
	mov	r1, r4
	mov	r0, r6
	str	r3, [r6]
	mov	r2, #1
	pop	{r4, r5, r6, lr}
	b	swnode_register
.L14:
	pop	{r4, r5, r6, lr}
	b	ERR_CAST
.L16:
	ldr	r3, .L18+4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L15:
	ldr	r3, .L18+8
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L17:
	mov	r0, r6
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L19:
	.align	2
.L18:
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	EINVAL
	.size	fwnode_create_software_node, .-fwnode_create_software_node
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
