	.file	"extr_main.c_b43_one_core_attach.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b43_one_core_attach, @function
b43_one_core_attach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	edi, 32
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	r12d, DWORD PTR ENOMEM[rip]
	call	kzalloc@PLT
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rbp, rax
	mov	eax, DWORD PTR b43_modparam_pio[rip]
	mov	esi, DWORD PTR B43_STAT_UNINIT[rip]
	mov	QWORD PTR 16[rbp], r13
	mov	rdi, rbp
	mov	DWORD PTR 24[rbp], eax
	mov	QWORD PTR 8[rbp], rbx
	call	b43_set_status@PLT
	mov	eax, DWORD PTR modparam_bad_frames_preempt[rip]
	mov	rdi, rbp
	mov	DWORD PTR 4[rbp], eax
	call	INIT_LIST_HEAD@PLT
	mov	rdi, rbp
	call	b43_wireless_core_attach@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L7
	lea	rsi, 4[rbx]
	mov	rdi, rbp
	call	list_add@PLT
	add	DWORD PTR [rbx], 1
	mov	rdi, r13
	mov	rsi, rbp
	call	b43_bus_set_wldev@PLT
	mov	rdi, rbp
	call	b43_debugfs_add_device@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	b43_one_core_attach, .-b43_one_core_attach
	.comm	modparam_bad_frames_preempt,4,4
	.comm	b43_modparam_pio,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	B43_STAT_UNINIT,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_b43_one_core_attach.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_one_core_attach, %function
b43_one_core_attach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L8
	ldr	r3, .L8+4
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r6, r1
	mov	r0, #20
	ldr	r1, [r2]
	ldr	r5, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	rsbeq	r5, r5, #0
	beq	.L1
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	r2, [r2]
	ldr	r1, [r3]
	str	r2, [r4, #16]
	str	r7, [r4, #12]
	str	r6, [r4, #8]
	bl	b43_set_status
	ldr	r3, .L8+16
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r4, #4]
	bl	INIT_LIST_HEAD
	mov	r0, r4
	bl	b43_wireless_core_attach
	subs	r5, r0, #0
	bne	.L7
	add	r1, r6, #4
	mov	r0, r4
	bl	list_add
	ldr	r3, [r6]
	mov	r0, r7
	add	r3, r3, #1
	mov	r1, r4
	str	r3, [r6]
	bl	b43_bus_set_wldev
	mov	r0, r4
	bl	b43_debugfs_add_device
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	GFP_KERNEL
	.word	ENOMEM
	.word	b43_modparam_pio
	.word	B43_STAT_UNINIT
	.word	modparam_bad_frames_preempt
	.size	b43_one_core_attach, .-b43_one_core_attach
	.comm	modparam_bad_frames_preempt,4,4
	.comm	b43_modparam_pio,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	B43_STAT_UNINIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
