	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidpad_ps3_send_control
_hidpad_ps3_send_control:               ## @hidpad_ps3_send_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	leal	3(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	andl	$252, %eax
	subl	%eax, %ecx
	incb	%cl
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
	movl	%eax, _hidpad_ps3_send_control.report_buffer+44(%rip)
	leaq	_hidpad_ps3_send_control.report_buffer(%rip), %rsi
	movq	8(%rdi), %rax
	movl	4(%rax), %ecx
	sarl	$8, %ecx
	movl	%ecx, _hidpad_ps3_send_control.report_buffer+16(%rip)
	movl	(%rax), %eax
	sarl	$8, %eax
	movl	%eax, _hidpad_ps3_send_control.report_buffer+24(%rip)
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movl	16(%rdi), %edi
	movl	$200, %edx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @hidpad_ps3_send_control.report_buffer
_hidpad_ps3_send_control.report_buffer:
	.long	82                              ## 0x52
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	39                              ## 0x27
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	50                              ## 0x32
	.long	255                             ## 0xff
	.long	39                              ## 0x27
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	50                              ## 0x32
	.long	255                             ## 0xff
	.long	39                              ## 0x27
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	50                              ## 0x32
	.long	255                             ## 0xff
	.long	39                              ## 0x27
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	50                              ## 0x32
	.space	72

	.comm	_DS3_RUMBLE_REPORT_ID,4,2       ## @DS3_RUMBLE_REPORT_ID
	.comm	_HID_REPORT_OUTPUT,4,2          ## @HID_REPORT_OUTPUT
	.no_dead_strip	_hidpad_ps3_send_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidpad_ps3_send_control
_hidpad_ps3_send_control:               ; @hidpad_ps3_send_control
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	negs	w9, w8
	and	w9, w9, #0x3
	and	w8, w8, #0x3
	csneg	w8, w8, w9, mi
	add	w8, w8, #1
	mov	w9, #1
	lsl	w8, w9, w8
Lloh0:
	adrp	x1, _hidpad_ps3_send_control.report_buffer@PAGE
Lloh1:
	add	x1, x1, _hidpad_ps3_send_control.report_buffer@PAGEOFF
	str	w8, [x1, #44]
	ldr	x8, [x0, #8]
	ldr	w9, [x8, #4]
	asr	w9, w9, #8
	str	w9, [x1, #16]
	ldr	w8, [x8]
	asr	w8, w8, #8
	str	w8, [x1, #24]
	ldr	x8, [x0, #24]
	ldr	x3, [x8]
	ldr	w0, [x0, #16]
	mov	w2, #200
	br	x3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @hidpad_ps3_send_control.report_buffer
_hidpad_ps3_send_control.report_buffer:
	.long	82                              ; 0x52
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	39                              ; 0x27
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.long	50                              ; 0x32
	.long	255                             ; 0xff
	.long	39                              ; 0x27
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.long	50                              ; 0x32
	.long	255                             ; 0xff
	.long	39                              ; 0x27
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.long	50                              ; 0x32
	.long	255                             ; 0xff
	.long	39                              ; 0x27
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.long	50                              ; 0x32
	.space	72

	.comm	_DS3_RUMBLE_REPORT_ID,4,2       ; @DS3_RUMBLE_REPORT_ID
	.comm	_HID_REPORT_OUTPUT,4,2          ; @HID_REPORT_OUTPUT
	.no_dead_strip	_hidpad_ps3_send_control
.subsections_via_symbols
