	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpad360w_process_packet
_xpad360w_process_packet:               ## @xpad360w_process_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	testb	$8, (%rdx)
	je	LBB0_3
## %bb.1:
	movzbl	1(%rbx), %eax
	shrl	$7, %eax
	cmpl	%eax, (%r15)
	je	LBB0_3
## %bb.2:
	movl	%eax, (%r15)
	leaq	8(%r15), %rdi
	callq	_schedule_work
LBB0_3:
	cmpb	$1, 1(%rbx)
	jne	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	4(%r15), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addq	$4, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	callq	_xpad360_process_packet
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xpad360w_process_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpad360w_process_packet
_xpad360w_process_packet:               ; @xpad360w_process_packet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldrb	w8, [x2]
	tbz	w8, #3, LBB0_3
; %bb.1:
	ldrb	w8, [x21, #1]
	lsr	w8, w8, #7
	ldr	w9, [x20]
	cmp	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	str	w8, [x0], #8
	bl	_schedule_work
LBB0_3:
	ldrb	w8, [x21, #1]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.4:
	bl	_rcu_read_lock
	ldr	w0, [x20, #4]
	bl	_rcu_dereference
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
	add	x3, x21, #4
	mov	x0, x20
	mov	x2, x19
	bl	_xpad360_process_packet
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rcu_read_unlock
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xpad360w_process_packet
.subsections_via_symbols
