	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sixaxis_send_output_report
_sixaxis_send_output_report:            ## @sixaxis_send_output_report
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	48(%rdi), %rbx
	leaq	_sixaxis_send_output_report.default_report(%rip), %rsi
	movq	%rbx, %rdi
	movl	$24, %edx
	callq	_memcpy
	movq	(%r14), %rax
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	orl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rax), %edx
	shll	$2, %edx
	orl	%ecx, %edx
	movl	%edx, (%rbx)
	movl	8(%rax), %ecx
	shll	$3, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%rbx)
	movl	12(%rax), %eax
	shll	$4, %eax
	orl	%ecx, %eax
	movl	%eax, %ecx
	orl	$32, %ecx
	testb	$30, %al
	cmovnel	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movq	(%rcx), %rdx
	movq	(%rax), %rsi
	orq	%rdx, %rsi
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rsi
	movq	%rdx, 56(%rsi)
	movq	(%rax), %rdx
	movq	%rdx, 48(%rsi)
LBB0_2:
	movq	8(%rcx), %rdx
	movq	8(%rax), %rsi
	orq	%rdx, %rsi
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rsi
	movq	%rdx, 40(%rsi)
	movq	8(%rax), %rdx
	movq	%rdx, 32(%rsi)
LBB0_4:
	movq	16(%rcx), %rdx
	movq	16(%rax), %rsi
	orq	%rdx, %rsi
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rsi
	movq	%rdx, 24(%rsi)
	movq	16(%rax), %rdx
	movq	%rdx, 16(%rsi)
LBB0_6:
	movq	24(%rcx), %rcx
	movq	24(%rax), %rdx
	orq	%rcx, %rdx
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdx
	movq	%rcx, 8(%rdx)
	movq	24(%rax), %rax
	movq	%rax, (%rdx)
LBB0_8:
	movq	_SHANWAN_GAMEPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	12(%r14), %edi
	testl	%eax, 8(%r14)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rsi
	movl	$24, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hid_hw_output_report           ## TAILCALL
LBB0_10:
	movl	4(%rbx), %esi
	movq	_HID_OUTPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdx
	movl	$24, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hid_hw_raw_request             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @sixaxis_send_output_report.default_report
_sixaxis_send_output_report.default_report:
	.long	1                               ## 0x1

	.comm	_SHANWAN_GAMEPAD,4,2            ## @SHANWAN_GAMEPAD
	.comm	_HID_OUTPUT_REPORT,4,2          ## @HID_OUTPUT_REPORT
	.comm	_HID_REQ_SET_REPORT,4,2         ## @HID_REQ_SET_REPORT
	.no_dead_strip	_sixaxis_send_output_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sixaxis_send_output_report
_sixaxis_send_output_report:            ; @sixaxis_send_output_report
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0, #48]
Lloh0:
	adrp	x1, _sixaxis_send_output_report.default_report@PAGE
Lloh1:
	add	x1, x1, _sixaxis_send_output_report.default_report@PAGEOFF
	mov	x0, x19
	mov	w2, #24
	bl	_memcpy
	ldr	x8, [x20]
	ldr	w9, [x8]
	ldr	w10, [x19]
	orr	w9, w10, w9, lsl #1
	str	w9, [x19]
	ldr	w10, [x8, #4]
	orr	w9, w9, w10, lsl #2
	str	w9, [x19]
	ldr	w10, [x8, #8]
	orr	w9, w9, w10, lsl #3
	str	w9, [x19]
	ldr	w8, [x8, #12]
	orr	w8, w9, w8, lsl #4
	orr	w9, w8, #0x20
	tst	w8, #0x1e
	csel	w8, w9, w8, eq
	str	w8, [x19]
	ldp	x8, x9, [x20, #16]
	ldr	x11, [x8]
	ldr	x10, [x9]
	orr	x11, x11, x10
	cbz	x11, LBB0_2
; %bb.1:
	ldr	x11, [x19, #8]
	str	x10, [x11, #56]
	ldr	x10, [x8]
	str	x10, [x11, #48]
LBB0_2:
	ldr	x11, [x8, #8]
	ldr	x10, [x9, #8]
	orr	x11, x11, x10
	cbz	x11, LBB0_4
; %bb.3:
	ldr	x11, [x19, #8]
	str	x10, [x11, #40]
	ldr	x10, [x8, #8]
	str	x10, [x11, #32]
LBB0_4:
	ldr	x11, [x8, #16]
	ldr	x10, [x9, #16]
	orr	x11, x11, x10
	cbz	x11, LBB0_6
; %bb.5:
	ldr	x11, [x19, #8]
	str	x10, [x11, #24]
	ldr	x10, [x8, #16]
	str	x10, [x11, #16]
LBB0_6:
	ldr	x10, [x8, #24]
	ldr	x9, [x9, #24]
	orr	x10, x10, x9
	cbz	x10, LBB0_8
; %bb.7:
	ldr	x10, [x19, #8]
	str	x9, [x10, #8]
	ldr	x8, [x8, #24]
	str	x8, [x10]
LBB0_8:
Lloh2:
	adrp	x8, _SHANWAN_GAMEPAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SHANWAN_GAMEPAD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldp	w9, w0, [x20, #8]
	tst	w8, w9
	b.eq	LBB0_10
; %bb.9:
	mov	x1, x19
	mov	w2, #24
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hid_hw_output_report
LBB0_10:
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x8, _HID_OUTPUT_REPORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HID_OUTPUT_REPORT@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x8, _HID_REQ_SET_REPORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HID_REQ_SET_REPORT@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x2, x19
	mov	w3, #24
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hid_hw_raw_request
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @sixaxis_send_output_report.default_report
_sixaxis_send_output_report.default_report:
	.long	1                               ; 0x1

	.comm	_SHANWAN_GAMEPAD,4,2            ; @SHANWAN_GAMEPAD
	.comm	_HID_OUTPUT_REPORT,4,2          ; @HID_OUTPUT_REPORT
	.comm	_HID_REQ_SET_REPORT,4,2         ; @HID_REQ_SET_REPORT
	.no_dead_strip	_sixaxis_send_output_report
.subsections_via_symbols
