	.file	"extr_htc_hst.c_ath9k_htc_hw_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ath9k_htc_hw_alloc
	.type	ath9k_htc_hw_alloc, @function
ath9k_htc_hw_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, 48
	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]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	lea	rdi, 44[rax]
	call	init_completion@PLT
	lea	rdi, 40[r12]
	call	init_completion@PLT
	mov	rax, QWORD PTR 8[r12]
	xor	esi, esi
	mov	rdi, r12
	mov	rdx, QWORD PTR ENDPOINT0[rip]
	mov	QWORD PTR 32[r12], rbx
	mov	QWORD PTR 24[r12], rbp
	lea	rax, [rax+rdx*8]
	mov	edx, DWORD PTR 4[rbx]
	mov	QWORD PTR 16[r12], r13
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR [rbx]
	mov	DWORD PTR [rax], edx
	call	atomic_set@PLT
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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	ath9k_htc_hw_alloc, .-ath9k_htc_hw_alloc
	.comm	GFP_KERNEL,4,4
	.comm	ENDPOINT0,8,8
	.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_htc_hst.c_ath9k_htc_hw_alloc.c"
	.text
	.align	2
	.global	ath9k_htc_hw_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath9k_htc_hw_alloc, %function
ath9k_htc_hw_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r1
	mov	r0, #28
	ldr	r1, [r3]
	mov	r7, r2
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	add	r0, r4, #24
	bl	init_completion
	add	r0, r4, #20
	bl	init_completion
	ldr	r2, .L8+4
	ldr	r3, [r4, #4]
	ldr	ip, [r2]
	ldr	r0, [r5, #4]
	ldr	r2, [r5]
	add	r1, r3, ip, lsl #3
	str	r5, [r4, #16]
	str	r6, [r4, #12]
	str	r7, [r4, #8]
	str	r0, [r1, #4]
	mov	r1, #0
	mov	r0, r4
	str	r2, [r3, ip, lsl #3]
	bl	atomic_set
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	GFP_KERNEL
	.word	ENDPOINT0
	.size	ath9k_htc_hw_alloc, .-ath9k_htc_hw_alloc
	.comm	GFP_KERNEL,4,4
	.comm	ENDPOINT0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
