	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb6fire_control_set_channels
_usb6fire_control_set_channels:         ## @usb6fire_control_set_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	shrl	%ecx
	movl	$-1, %r8d
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	notl	%eax
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	shrl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r8d
	notl	%r8d
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$2, %edx
	movl	%eax, %ecx
	callq	*(%rbx)
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$3, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	*(%rbx)
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_usb6fire_control_set_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb6fire_control_set_channels
_usb6fire_control_set_channels:         ; @usb6fire_control_set_channels
	.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
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	x8, [x19]
	cmp	w1, #0
	cinc	w9, w1, lt
	asr	w9, w9, #1
	mov	w10, #-1
	lsl	w9, w10, w9
	mvn	w3, w9
	cmp	w2, #0
	cinc	w9, w2, lt
	asr	w9, w9, #1
	lsl	w9, w10, w9
	mvn	w4, w9
	mov	x0, x19
	mov	w1, #2
	mov	w2, #2
	blr	x8
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #2
	mov	w2, #3
	mov	w3, #0
	mov	w4, #0
	blr	x8
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_usb6fire_control_set_channels
.subsections_via_symbols
