	.file	"extr_a2mp.c_a2mp_send_getampassoc_rsp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s mgr %p"
	.text
	.p2align 4
	.globl	a2mp_send_getampassoc_rsp
	.type	a2mp_send_getampassoc_rsp, @function
a2mp_send_getampassoc_rsp:
.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, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, DWORD PTR READ_LOC_AMP_ASSOC[rip]
	call	amp_mgr_lookup_by_state@PLT
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR 4[rbx]
	mov	rdx, rax
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	call	BT_DBG@PLT
	movsx	r14, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	add	r14, 12
	mov	rdi, r14
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 8[r12], eax
	test	r13, r13
	je	.L4
	mov	eax, DWORD PTR A2MP_STATUS_INVALID_CTRL_ID[rip]
	mov	DWORD PTR 4[r12], eax
.L5:
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR A2MP_GETAMPASSOC_RSP[rip]
	mov	r8, r12
	mov	rcx, r14
	mov	rdi, rbp
	call	a2mp_send@PLT
	mov	rdi, rbp
	call	amp_mgr_put@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR A2MP_STATUS_SUCCESS[rip]
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR [r12]
	mov	DWORD PTR 4[r12], eax
	call	memcpy@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	amp_mgr_put@PLT
	.cfi_endproc
.LFE0:
	.size	a2mp_send_getampassoc_rsp, .-a2mp_send_getampassoc_rsp
	.comm	READ_LOC_AMP_ASSOC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	A2MP_STATUS_SUCCESS,4,4
	.comm	A2MP_STATUS_INVALID_CTRL_ID,4,4
	.comm	A2MP_GETAMPASSOC_RSP,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_a2mp.c_a2mp_send_getampassoc_rsp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s mgr %p\000"
	.text
	.align	2
	.global	a2mp_send_getampassoc_rsp
	.syntax unified
	.arm
	.fpu softvfp
	.type	a2mp_send_getampassoc_rsp, %function
a2mp_send_getampassoc_rsp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	mov	r6, r0
	sub	sp, sp, #8
	ldr	r0, [r3]
	mov	r8, r1
	bl	amp_mgr_lookup_by_state
	subs	r4, r0, #0
	beq	.L1
	mov	r2, r4
	ldr	r1, [r6, #4]
	ldr	r0, .L9+4
	bl	BT_DBG
	ldr	r7, [r6, #8]
	ldr	r2, .L9+8
	add	r7, r7, #12
	mov	r0, r7
	ldr	r1, [r2]
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L8
	ldr	r3, [r6]
	cmp	r8, #0
	str	r3, [r5, #8]
	beq	.L4
	ldr	r3, .L9+12
	ldr	r3, [r3]
	str	r3, [r5, #4]
.L5:
	ldr	r1, .L9+16
	ldr	r2, [r4]
	str	r5, [sp]
	mov	r3, r7
	ldr	r1, [r1]
	mov	r0, r4
	bl	a2mp_send
	mov	r0, r4
	bl	amp_mgr_put
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	kfree
.L4:
	ldr	r3, .L9+20
	ldr	r2, [r6, #8]
	ldr	r3, [r3]
	ldr	r1, [r6, #12]
	ldr	r0, [r5]
	str	r3, [r5, #4]
	bl	memcpy
	b	.L5
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	amp_mgr_put
.L10:
	.align	2
.L9:
	.word	READ_LOC_AMP_ASSOC
	.word	.LC0
	.word	GFP_KERNEL
	.word	A2MP_STATUS_INVALID_CTRL_ID
	.word	A2MP_GETAMPASSOC_RSP
	.word	A2MP_STATUS_SUCCESS
	.size	a2mp_send_getampassoc_rsp, .-a2mp_send_getampassoc_rsp
	.comm	READ_LOC_AMP_ASSOC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	A2MP_STATUS_SUCCESS,4,4
	.comm	A2MP_STATUS_INVALID_CTRL_ID,4,4
	.comm	A2MP_GETAMPASSOC_RSP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
