	.file	"extr_btmrvl_main.c_btmrvl_init_adapter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unable to allocate buffer for hw_regs."
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"hw_regs_buf=%p hw_regs=%p"
	.text
	.p2align 4
	.type	btmrvl_init_adapter, @function
btmrvl_init_adapter:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	lea	rdi, 24[rax]
	call	skb_queue_head_init@PLT
	mov	edx, DWORD PTR PS_AWAKE[rip]
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR BTSDIO_DMA_ALIGN[rip]
	mov	edi, DWORD PTR SDIO_BLOCK_SIZE[rip]
	mov	DWORD PTR 20[rax], edx
	call	ALIGN_SZ@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rbp, QWORD PTR [rbx]
	mov	edi, eax
	call	kzalloc@PLT
	mov	DWORD PTR 16[rbp], eax
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR 16[rax]
	test	edi, edi
	jne	.L2
	mov	QWORD PTR 8[rax], 0
	lea	rdi, .LC0[rip]
	call	BT_ERR@PLT
.L3:
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 4[rax]
	call	init_waitqueue_head@PLT
	mov	rdi, QWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	init_waitqueue_head@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR BTSDIO_DMA_ALIGN[rip]
	call	ALIGN_ADDR@PLT
	lea	rdi, .LC1[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 8[rax], rdx
	mov	esi, DWORD PTR 16[rax]
	call	BT_DBG@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	btmrvl_init_adapter, .-btmrvl_init_adapter
	.comm	SDIO_BLOCK_SIZE,4,4
	.comm	PS_AWAKE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	BTSDIO_DMA_ALIGN,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_btmrvl_main.c_btmrvl_init_adapter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unable to allocate buffer for hw_regs.\000"
	.align	2
.LC1:
	.ascii	"hw_regs_buf=%p hw_regs=%p\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	btmrvl_init_adapter, %function
btmrvl_init_adapter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r5, .L6
	add	r0, r0, #20
	bl	skb_queue_head_init
	ldr	r3, .L6+4
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r3, .L6+8
	str	r1, [r2, #16]
	ldr	r0, [r3]
	ldr	r1, [r5]
	bl	ALIGN_SZ
	ldr	r3, .L6+12
	ldr	r6, [r4]
	ldr	r1, [r3]
	bl	kzalloc
	ldr	r3, [r4]
	str	r0, [r6, #12]
	ldr	r0, [r3, #12]
	cmp	r0, #0
	bne	.L2
	str	r0, [r3, #8]
	ldr	r0, .L6+16
	bl	BT_ERR
.L3:
	ldr	r0, [r4]
	add	r0, r0, #4
	bl	init_waitqueue_head
	ldr	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	init_waitqueue_head
.L2:
	ldr	r1, [r5]
	bl	ALIGN_ADDR
	ldr	r3, [r4]
	mov	r2, r0
	str	r0, [r3, #8]
	ldr	r1, [r3, #12]
	ldr	r0, .L6+20
	bl	BT_DBG
	b	.L3
.L7:
	.align	2
.L6:
	.word	BTSDIO_DMA_ALIGN
	.word	PS_AWAKE
	.word	SDIO_BLOCK_SIZE
	.word	GFP_KERNEL
	.word	.LC0
	.word	.LC1
	.size	btmrvl_init_adapter, .-btmrvl_init_adapter
	.comm	SDIO_BLOCK_SIZE,4,4
	.comm	PS_AWAKE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	BTSDIO_DMA_ALIGN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
