	.file	"extr_b44.c_b44_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b44_open, @function
b44_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	b44_alloc_consistent@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	r14, 24[rbp]
	mov	rdi, r14
	call	napi_enable@PLT
	mov	rdi, rbp
	call	b44_init_rings@PLT
	mov	esi, DWORD PTR B44_FULL_RESET[rip]
	mov	rdi, rbp
	call	b44_init_hw@PLT
	mov	rdi, rbp
	call	b44_check_phy@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	ecx, DWORD PTR 0[r13]
	mov	r8, r13
	mov	edx, DWORD PTR IRQF_SHARED[rip]
	mov	esi, DWORD PTR b44_interrupt[rip]
	call	request_irq@PLT
	mov	edi, eax
	mov	r12d, eax
	shr	edi, 31
	call	unlikely@PLT
	test	rax, rax
	jne	.L7
.L2:
	endbr64
	mov	rdi, rbp
	call	init_timer@PLT
	mov	rax, QWORD PTR HZ[rip]
	mov	rdi, rbp
	add	rax, QWORD PTR jiffies[rip]
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR b44_timer[rip]
	mov	QWORD PTR 0[rbp], rbp
	mov	DWORD PTR 8[rbp], eax
	call	add_timer@PLT
	mov	rdi, rbp
	call	b44_enable_ints@PLT
	mov	rdi, r13
	call	netif_start_queue@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r14
	call	napi_disable@PLT
	mov	esi, DWORD PTR B44_CHIP_RESET_PARTIAL[rip]
	mov	rdi, rbp
	call	b44_chip_reset@PLT
	mov	rdi, rbp
	call	b44_free_rings@PLT
	mov	rdi, rbp
	call	b44_free_consistent@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	b44_open, .-b44_open
	.comm	jiffies,8,8
	.comm	b44_timer,4,4
	.comm	b44_interrupt,4,4
	.comm	IRQF_SHARED,4,4
	.comm	HZ,8,8
	.comm	GFP_KERNEL,4,4
	.comm	B44_FULL_RESET,4,4
	.comm	B44_CHIP_RESET_PARTIAL,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_b44.c_b44_open.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b44_open, %function
b44_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r6, r0
	bl	netdev_priv
	ldr	r3, .L8
	mov	r4, r0
	ldr	r1, [r3]
	bl	b44_alloc_consistent
	subs	r5, r0, #0
	beq	.L6
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	add	r7, r4, #12
	mov	r0, r7
	bl	napi_enable
	mov	r0, r4
	bl	b44_init_rings
	ldr	r3, .L8+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	b44_init_hw
	mov	r0, r4
	bl	b44_check_phy
	ldr	r3, .L8+8
	ldr	r2, .L8+12
	str	r6, [sp]
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [r6]
	ldr	r0, [r6, #4]
	bl	request_irq
	mov	r5, r0
	lsr	r0, r0, #31
	bl	unlikely
	cmp	r0, #0
	bne	.L7
.L2:
	mov	r0, r4
	bl	init_timer
	ldr	r3, .L8+16
	ldr	r1, .L8+20
	ldr	r2, .L8+24
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r3, r3, r1
	str	r3, [r4, #8]
	str	r2, [r4, #4]
	mov	r0, r4
	str	r4, [r4]
	bl	add_timer
	mov	r0, r4
	bl	b44_enable_ints
	mov	r0, r6
	bl	netif_start_queue
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	mov	r0, r7
	bl	napi_disable
	ldr	r3, .L8+28
	mov	r0, r4
	ldr	r1, [r3]
	bl	b44_chip_reset
	mov	r0, r4
	bl	b44_free_rings
	mov	r0, r4
	bl	b44_free_consistent
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	.align	2
.L8:
	.word	GFP_KERNEL
	.word	B44_FULL_RESET
	.word	b44_interrupt
	.word	IRQF_SHARED
	.word	jiffies
	.word	HZ
	.word	b44_timer
	.word	B44_CHIP_RESET_PARTIAL
	.size	b44_open, .-b44_open
	.comm	jiffies,4,4
	.comm	b44_timer,4,4
	.comm	b44_interrupt,4,4
	.comm	IRQF_SHARED,4,4
	.comm	HZ,4,4
	.comm	GFP_KERNEL,4,4
	.comm	B44_FULL_RESET,4,4
	.comm	B44_CHIP_RESET_PARTIAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
