	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cit_restart_stream
_cit_restart_stream:                    ## @cit_restart_stream
	.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, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.1:
	movl	$5, %ecx
	btl	%eax, %ecx
	jb	LBB0_4
## %bb.2:
	movl	$24, %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$276, %edx                      ## imm = 0x114
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.3:
	callq	_cit_write_reg
LBB0_4:
	movq	%rbx, %rdi
	movl	$192, %esi
	movl	$268, %edx                      ## imm = 0x10C
	callq	_cit_write_reg
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_usb_clear_halt
	jmp	LBB0_6
LBB0_5:
	callq	_cit_write_reg
	movq	%rbx, %rdi
	movl	$192, %esi
	movl	$268, %edx                      ## imm = 0x10C
	callq	_cit_write_reg
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_usb_clear_halt
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$275, %edx                      ## imm = 0x113
	callq	_cit_write_reg
LBB0_6:
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cit_restart_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cit_restart_stream
_cit_restart_stream:                    ; @cit_restart_stream
	.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	x19, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #5
	tst	w8, w9
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #276
	tst	w8, #0x18
	b.eq	LBB0_5
; %bb.3:
	bl	_cit_write_reg
LBB0_4:
	mov	x0, x19
	mov	w1, #192
	mov	w2, #268
	bl	_cit_write_reg
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_usb_clear_halt
	b	LBB0_6
LBB0_5:
	bl	_cit_write_reg
	mov	x0, x19
	mov	w1, #192
	mov	w2, #268
	bl	_cit_write_reg
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_usb_clear_halt
	mov	x0, x19
	mov	w1, #1
	mov	w2, #275
	bl	_cit_write_reg
LBB0_6:
	str	xzr, [x19, #8]
	mov	w0, #0
	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	_cit_restart_stream
.subsections_via_symbols
