	.file	"extr_connect_wii.c_wiimote_send.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wiimote_send, @function
wiimote_send:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, esi
	mov	rsi, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, ecx
	mov	ecx, 15
	mov	edx, ebx
	sub	rsp, 144
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	lea	rdi, 8[rsp]
	mov	r12, rsp
	rep stosq
	mov	eax, DWORD PTR WM_SET_REPORT[rip]
	lea	rdi, 8[rsp]
	or	eax, DWORD PTR WM_BT_OUTPUT[rip]
	mov	DWORD PTR 4[rsp], r8d
	mov	DWORD PTR [rsp], eax
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 4[rbp]
	lea	edx, 2[rbx]
	mov	rsi, r12
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 144
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wiimote_send, .-wiimote_send
	.comm	WM_SET_REPORT,4,4
	.comm	WM_BT_OUTPUT,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_connect_wii.c_wiimote_send.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiimote_send, %function
wiimote_send:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r3
	mov	r7, r2
	mov	r4, r0
	mov	r6, r1
	sub	sp, sp, #140
	ldr	r3, .L6
	mov	r2, #120
	mov	r1, #0
	add	r0, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #132]
	mov	r3,#0
	bl	memset
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r1, r7
	orr	r3, r3, r2
	add	r0, sp, #12
	mov	r2, r5
	stmib	sp, {r3, r6}
	bl	memcpy
	ldr	r3, [r4, #8]
	add	r2, r5, #2
	ldr	r3, [r3]
	ldr	r0, [r4, #4]
	add	r1, sp, #4
	blx	r3
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #132]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, #1
	add	sp, sp, #140
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	WM_SET_REPORT
	.word	WM_BT_OUTPUT
	.size	wiimote_send, .-wiimote_send
	.comm	WM_SET_REPORT,4,4
	.comm	WM_BT_OUTPUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
