	.file	"extr_main.c_ipwireless_attach.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipwireless_attach, @function
ipwireless_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, 16
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	kzalloc@PLT
	test	rax, rax
	je	.L9
	mov	QWORD PTR 8[rax], r12
	mov	rbp, rax
	mov	QWORD PTR [r12], rax
	xor	eax, eax
	call	ipwireless_hardware_create@PLT
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], eax
	test	eax, eax
	je	.L11
	call	config_ipwireless@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
	mov	rdi, r12
	call	ipwireless_detach@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	call	kfree@PLT
.L9:
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L1:
	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	ipwireless_attach, .-ipwireless_attach
	.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_main.c_ipwireless_attach.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipwireless_attach, %function
ipwireless_attach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	mov	r5, r0
	mov	r0, #8
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L9
	str	r5, [r4, #4]
	str	r4, [r5]
	bl	ipwireless_hardware_create
	cmp	r0, #0
	str	r0, [r4]
	mov	r0, r4
	beq	.L11
	bl	config_ipwireless
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r5
	bl	ipwireless_detach
	b	.L1
.L11:
	bl	kfree
.L9:
	ldr	r3, .L12+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	ipwireless_attach, .-ipwireless_attach
	.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
