	.file	"extr_a2mp.c_a2mp_getinfo_req.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"id %d"
	.text
	.p2align 4
	.type	a2mp_getinfo_req, @function
a2mp_getinfo_req:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 4[rdx]
	mov	r14, QWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	le16_to_cpu@PLT
	cmp	eax, 3
	ja	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR [r14]
	lea	rdi, .LC0[rip]
	call	BT_DBG@PLT
	mov	edi, DWORD PTR [r14]
	call	hci_dev_get@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR HCI_AMP[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L12
	mov	eax, DWORD PTR [r14]
	mov	edx, DWORD PTR [rbx]
	mov	r8, rsp
	mov	ecx, 8
	mov	esi, DWORD PTR A2MP_GETINFO_RSP[rip]
	mov	rdi, r12
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR A2MP_STATUS_INVALID_CTRL_ID[rip]
	mov	DWORD PTR [rsp], eax
	call	a2mp_send@PLT
.L6:
	mov	rdi, r13
	call	hci_dev_put@PLT
.L7:
	mov	esi, 4
	mov	rdi, rbp
	call	skb_pull@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR READ_LOC_AMP_INFO[rip]
	mov	rsi, r12
	mov	r12, rsp
	call	set_bit@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	hci_req_init@PLT
	mov	esi, DWORD PTR HCI_OP_READ_LOCAL_AMP_INFO[rip]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r12
	call	hci_req_add@PLT
	mov	esi, DWORD PTR read_local_amp_info_complete[rip]
	mov	rdi, r12
	call	hci_req_run@PLT
	test	eax, eax
	jns	.L6
	mov	rdi, r13
	call	a2mp_send_getinfo_rsp@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR [r14]
	mov	edx, DWORD PTR [rbx]
	mov	r8, rsp
	mov	ecx, 8
	mov	esi, DWORD PTR A2MP_GETINFO_RSP[rip]
	mov	rdi, r12
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR A2MP_STATUS_INVALID_CTRL_ID[rip]
	mov	DWORD PTR [rsp], eax
	call	a2mp_send@PLT
	jmp	.L7
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	a2mp_getinfo_req, .-a2mp_getinfo_req
	.comm	read_local_amp_info_complete,4,4
	.comm	READ_LOC_AMP_INFO,4,4
	.comm	HCI_OP_READ_LOCAL_AMP_INFO,4,4
	.comm	HCI_AMP,8,8
	.comm	EINVAL,4,4
	.comm	A2MP_STATUS_INVALID_CTRL_ID,4,4
	.comm	A2MP_GETINFO_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_getinfo_req.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"id %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	a2mp_getinfo_req, %function
a2mp_getinfo_req:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L13
	sub	sp, sp, #24
	mov	r5, r0
	ldr	r0, [r2, #4]
	mov	r6, r2
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r8, [r1]
	bl	le16_to_cpu
	cmp	r0, #3
	bhi	.L2
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r1, [r8]
	ldr	r0, .L13+8
	bl	BT_DBG
	ldr	r0, [r8]
	bl	hci_dev_get
	subs	r7, r0, #0
	beq	.L4
	ldr	r3, .L13+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
	ldr	r3, [r8]
	ldr	r2, .L13+16
	ldr	r1, .L13+20
	ldr	ip, [r2]
	str	r3, [sp, #16]
	add	r3, sp, #12
	ldr	r2, [r6]
	ldr	r1, [r1]
	mov	r0, r5
	str	r3, [sp]
	mov	r3, #8
	str	ip, [sp, #12]
	bl	a2mp_send
.L6:
	mov	r0, r7
	bl	hci_dev_put
.L7:
	mov	r0, r4
	mov	r1, #4
	bl	skb_pull
	mov	r0, #0
	b	.L1
.L12:
	ldr	r3, .L13+24
	mov	r1, r5
	ldr	r0, [r3]
	bl	set_bit
	mov	r1, r7
	add	r0, sp, #12
	bl	hci_req_init
	mov	r3, #0
	ldr	r1, .L13+28
	mov	r2, r3
	ldr	r1, [r1]
	add	r0, sp, #12
	bl	hci_req_add
	ldr	r3, .L13+32
	add	r0, sp, #12
	ldr	r1, [r3]
	bl	hci_req_run
	cmp	r0, #0
	bge	.L6
	mov	r0, r7
	bl	a2mp_send_getinfo_rsp
	b	.L6
.L4:
	ldr	r3, [r8]
	ldr	r2, .L13+16
	ldr	r1, .L13+20
	ldr	ip, [r2]
	str	r3, [sp, #16]
	add	r3, sp, #12
	ldr	r2, [r6]
	ldr	r1, [r1]
	mov	r0, r5
	str	r3, [sp]
	mov	r3, #8
	str	ip, [sp, #12]
	bl	a2mp_send
	b	.L7
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.word	HCI_AMP
	.word	A2MP_STATUS_INVALID_CTRL_ID
	.word	A2MP_GETINFO_RSP
	.word	READ_LOC_AMP_INFO
	.word	HCI_OP_READ_LOCAL_AMP_INFO
	.word	read_local_amp_info_complete
	.size	a2mp_getinfo_req, .-a2mp_getinfo_req
	.comm	read_local_amp_info_complete,4,4
	.comm	READ_LOC_AMP_INFO,4,4
	.comm	HCI_OP_READ_LOCAL_AMP_INFO,4,4
	.comm	HCI_AMP,4,4
	.comm	EINVAL,4,4
	.comm	A2MP_STATUS_INVALID_CTRL_ID,4,4
	.comm	A2MP_GETINFO_RSP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
