	.file	"extr_main.c_b43_wireless_core_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Cannot request SDIO IRQ\n"
.LC1:
	.string	"Cannot request IRQ-%d\n"
.LC2:
	.string	"Wireless interface started\n"
	.text
	.p2align 4
	.type	b43_wireless_core_start, @function
b43_wireless_core_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	b43_status@PLT
	xor	edi, edi
	cmp	QWORD PTR B43_STAT_INITIALIZED[rip], rax
	setne	dil
	call	B43_WARN_ON@PLT
	mov	rdi, rbx
	call	drain_txstatus_queue@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	b43_bus_host_is_sdio@PLT
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR b43_sdio_interrupt_handler[rip]
	mov	rdi, rbx
	call	b43_sdio_request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
.L3:
.L4:
	endbr64
	mov	rax, QWORD PTR [rbx]
	xor	r12d, r12d
	mov	edi, DWORD PTR [rax]
	call	ieee80211_wake_queues@PLT
	mov	esi, DWORD PTR B43_STAT_STARTED[rip]
	mov	rdi, rbx
	call	b43_set_status@PLT
	mov	rdi, rbx
	call	b43_mac_enable@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR B43_MMIO_GEN_IRQ_MASK[rip]
	mov	rdi, rbx
	call	b43_write32@PLT
	mov	rdi, rbx
	call	b43_periodic_tasks_setup@PLT
	mov	rdi, rbx
	call	b43_leds_init@PLT
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	b43dbg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbx]
	mov	r8d, DWORD PTR KBUILD_MODNAME[rip]
	mov	r9, rbx
	mov	ecx, DWORD PTR IRQF_SHARED[rip]
	mov	edx, DWORD PTR b43_interrupt_thread_handler[rip]
	mov	esi, DWORD PTR b43_interrupt_handler[rip]
	mov	edi, DWORD PTR [rax]
	call	request_threaded_irq@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	mov	edx, DWORD PTR [rax]
	xor	eax, eax
	call	b43err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	b43err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	b43_wireless_core_start, .-b43_wireless_core_start
	.comm	b43_sdio_interrupt_handler,4,4
	.comm	b43_interrupt_thread_handler,4,4
	.comm	b43_interrupt_handler,4,4
	.comm	KBUILD_MODNAME,4,4
	.comm	IRQF_SHARED,4,4
	.comm	B43_STAT_STARTED,4,4
	.comm	B43_STAT_INITIALIZED,8,8
	.comm	B43_MMIO_GEN_IRQ_MASK,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_wireless_core_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot request SDIO IRQ\012\000"
	.align	2
.LC1:
	.ascii	"Cannot request IRQ-%d\012\000"
	.align	2
.LC2:
	.ascii	"Wireless interface started\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_wireless_core_start, %function
b43_wireless_core_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	mov	r4, r0
	bl	b43_status
	ldr	r3, .L14
	ldr	r3, [r3]
	subs	r0, r3, r0
	movne	r0, #1
	bl	B43_WARN_ON
	mov	r0, r4
	bl	drain_txstatus_queue
	ldr	r0, [r4, #8]
	bl	b43_bus_host_is_sdio
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L14+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	b43_sdio_request_irq
	subs	r5, r0, #0
	bne	.L13
.L3:
.L4:
	mov	r5, #0
	ldr	r3, [r4]
	ldr	r0, [r3]
	bl	ieee80211_wake_queues
	ldr	r3, .L14+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	b43_set_status
	mov	r0, r4
	bl	b43_mac_enable
	ldr	r3, .L14+12
	ldr	r2, [r4, #4]
	ldr	r1, [r3]
	mov	r0, r4
	bl	b43_write32
	mov	r0, r4
	bl	b43_periodic_tasks_setup
	mov	r0, r4
	bl	b43_leds_init
	ldr	r0, [r4]
	ldr	r1, .L14+16
	bl	b43dbg
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r3, .L14+20
	ldr	r2, [r4, #8]
	ldr	ip, [r3]
	ldr	r0, [r2]
	ldr	r3, .L14+24
	ldr	r2, .L14+28
	ldr	r1, .L14+32
	str	r4, [sp, #4]
	str	ip, [sp]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	request_threaded_irq
	subs	r5, r0, #0
	beq	.L3
	ldr	r3, [r4, #8]
	ldr	r0, [r4]
	ldr	r2, [r3]
	ldr	r1, .L14+36
	bl	b43err
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	ldr	r0, [r4]
	ldr	r1, .L14+40
	bl	b43err
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	.align	2
.L14:
	.word	B43_STAT_INITIALIZED
	.word	b43_sdio_interrupt_handler
	.word	B43_STAT_STARTED
	.word	B43_MMIO_GEN_IRQ_MASK
	.word	.LC2
	.word	KBUILD_MODNAME
	.word	IRQF_SHARED
	.word	b43_interrupt_thread_handler
	.word	b43_interrupt_handler
	.word	.LC1
	.word	.LC0
	.size	b43_wireless_core_start, .-b43_wireless_core_start
	.comm	b43_sdio_interrupt_handler,4,4
	.comm	b43_interrupt_thread_handler,4,4
	.comm	b43_interrupt_handler,4,4
	.comm	KBUILD_MODNAME,4,4
	.comm	IRQF_SHARED,4,4
	.comm	B43_STAT_STARTED,4,4
	.comm	B43_STAT_INITIALIZED,4,4
	.comm	B43_MMIO_GEN_IRQ_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
