	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttusb_start_feed
_ttusb_start_feed:                      ## @ttusb_start_feed
	.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, %rbx
	movq	16(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movl	(%rbx), %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_1
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.3:
	movl	$-130, %eax
	addl	4(%rbx), %eax
	cmpl	$5, %eax
	jae	LBB0_1
LBB0_4:
	movl	8(%rbx), %ecx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_ttusb_set_channel
	movl	(%r14), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_ttusb_start_iso_xfer
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ttusb_start_feed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ttusb_start_feed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttusb_start_feed
_ttusb_start_feed:                      ; @ttusb_start_feed
	.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, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	w8, [x20]
	and	w9, w8, #0xfffffffe
	cmp	w9, #128
	b.ne	LBB0_6
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x20, #4]
	sub	w8, w8, #130
	cmp	w8, #5
	b.hs	LBB0_6
LBB0_3:
	ldp	w3, w1, [x20, #8]
	mov	x0, x19
	mov	w2, #1
	bl	_ttusb_set_channel
	ldr	w8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	cbnz	w8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ttusb_start_iso_xfer
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ttusb_start_feed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ttusb_start_feed
.subsections_via_symbols
