	.file	"extr_hcicmds.c_btsnd_hcic_qos_setup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btsnd_hcic_qos_setup
	.type	btsnd_hcic_qos_setup, @function
btsnd_hcic_qos_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR HCIC_PARAM_SIZE_QOS_SETUP[rip]
	mov	DWORD PTR 4[rsp], r9d
	call	HCI_GET_CMD_BUF@PLT
	test	rax, rax
	je	.L6
	mov	r8, rax
	lea	rbp, 16[rax]
	mov	rax, QWORD PTR HCIC_PARAM_SIZE_QOS_SETUP[rip]
	add	rax, QWORD PTR HCIC_PREAMBLE_SIZE[rip]
	mov	QWORD PTR 8[r8], rax
	mov	esi, DWORD PTR HCI_QOS_SETUP[rip]
	mov	rdi, rbp
	mov	QWORD PTR [r8], 0
	mov	QWORD PTR 8[rsp], r8
	call	UINT16_TO_STREAM@PLT
	mov	rsi, QWORD PTR HCIC_PARAM_SIZE_QOS_SETUP[rip]
	mov	rdi, rbp
	call	UINT8_TO_STREAM@PLT
	mov	esi, ebx
	mov	rdi, rbp
	call	UINT16_TO_STREAM@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	UINT8_TO_STREAM@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	UINT8_TO_STREAM@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	UINT32_TO_STREAM@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	UINT32_TO_STREAM@PLT
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	UINT32_TO_STREAM@PLT
	mov	esi, DWORD PTR 80[rsp]
	mov	rdi, rbp
	call	UINT32_TO_STREAM@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR LOCAL_BR_EDR_CONTROLLER_ID[rip]
	mov	rsi, r8
	call	btu_hcif_send_cmd@PLT
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	btsnd_hcic_qos_setup, .-btsnd_hcic_qos_setup
	.comm	TRUE,4,4
	.comm	LOCAL_BR_EDR_CONTROLLER_ID,4,4
	.comm	HCI_QOS_SETUP,4,4
	.comm	HCIC_PREAMBLE_SIZE,8,8
	.comm	HCIC_PARAM_SIZE_QOS_SETUP,8,8
	.comm	FALSE,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_hcicmds.c_btsnd_hcic_qos_setup.c"
	.text
	.align	2
	.global	btsnd_hcic_qos_setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	btsnd_hcic_qos_setup, %function
btsnd_hcic_qos_setup:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r10, .L7
	mov	r9, r0
	ldr	r0, [r10]
	mov	r8, r1
	mov	r7, r2
	mov	r6, r3
	bl	HCI_GET_CMD_BUF
	subs	r5, r0, #0
	beq	.L6
	mov	r1, #0
	ldr	r3, .L7+4
	ldr	r0, [r10]
	ldr	r3, [r3]
	ldr	r2, .L7+8
	add	r3, r3, r0
	add	r4, r5, #8
	stm	r5, {r1, r3}
	mov	r0, r4
	ldr	r1, [r2]
	bl	UINT16_TO_STREAM
	ldr	r1, [r10]
	mov	r0, r4
	bl	UINT8_TO_STREAM
	mov	r1, r9
	mov	r0, r4
	bl	UINT16_TO_STREAM
	mov	r1, r8
	mov	r0, r4
	bl	UINT8_TO_STREAM
	mov	r1, r7
	mov	r0, r4
	bl	UINT8_TO_STREAM
	mov	r1, r6
	mov	r0, r4
	bl	UINT32_TO_STREAM
	ldr	r1, [sp, #32]
	mov	r0, r4
	bl	UINT32_TO_STREAM
	ldr	r1, [sp, #36]
	mov	r0, r4
	bl	UINT32_TO_STREAM
	ldr	r1, [sp, #40]
	mov	r0, r4
	bl	UINT32_TO_STREAM
	ldr	r3, .L7+12
	mov	r1, r5
	ldr	r0, [r3]
	bl	btu_hcif_send_cmd
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r3, .L7+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	HCIC_PARAM_SIZE_QOS_SETUP
	.word	HCIC_PREAMBLE_SIZE
	.word	HCI_QOS_SETUP
	.word	LOCAL_BR_EDR_CONTROLLER_ID
	.word	TRUE
	.word	FALSE
	.size	btsnd_hcic_qos_setup, .-btsnd_hcic_qos_setup
	.comm	TRUE,4,4
	.comm	LOCAL_BR_EDR_CONTROLLER_ID,4,4
	.comm	HCI_QOS_SETUP,4,4
	.comm	HCIC_PREAMBLE_SIZE,4,4
	.comm	HCIC_PARAM_SIZE_QOS_SETUP,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
