	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttusb2_msg
_ttusb2_msg:                            ## @ttusb2_msg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -312(%rbp)                ## 4-byte Spill
	movq	%r8, -320(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, -328(%rbp)                ## 8-byte Spill
	movl	%esi, -308(%rbp)                ## 4-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	leal	4(%r12), %r15d
	leaq	(,%r15,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movaps	%xmm0, -288(%rbp)
	movaps	%xmm0, -304(%rbp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movl	$170, (%rbx)
	movl	(%r13), %eax
	incl	%eax
	movl	%eax, (%r13)
	movl	-308(%rbp), %r13d               ## 4-byte Reload
	movl	%eax, 4(%rbx)
	movl	%r13d, 8(%rbx)
	movl	%r12d, 12(%rbx)
	leaq	16(%rbx), %rdi
	movq	-328(%rbp), %rsi                ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	leaq	-304(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	$64, %r8d
	xorl	%r9d, %r9d
	callq	_dvb_usb_generic_rw
	movl	-312(%rbp), %ecx                ## 4-byte Reload
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	cmpl	$85, -304(%rbp)
	jne	LBB0_6
## %bb.2:
	movl	-300(%rbp), %eax
	cmpl	4(%rbx), %eax
	jne	LBB0_6
## %bb.3:
	cmpl	%r13d, -296(%rbp)
	jne	LBB0_6
## %bb.4:
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.5:
	cmpl	%ecx, -292(%rbp)
	je	LBB0_7
LBB0_6:
	movl	-292(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	movl	%ecx, %esi
	callq	_warn
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.8:
	leaq	-288(%rbp), %rsi
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	movl	%ecx, %edx
	callq	_memcpy
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"there might have been an error during control message transfer. (rlen = %d, was %d)"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ttusb2_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttusb2_msg
_ttusb2_msg:                            ; @ttusb2_msg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #272
	mov	x19, sp
	mov	x20, x5
	mov	x21, x4
	mov	x25, x3
	mov	x26, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x28, [x0]
	add	w27, w3, #4
	lsl	x8, x27, #2
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #224]
	stp	q0, q0, [x19, #192]
	stp	q0, q0, [x19, #160]
	stp	q0, q0, [x19, #128]
	stp	q0, q0, [x19, #96]
	stp	q0, q0, [x19, #64]
	stp	q0, q0, [x19, #32]
	stp	q0, q0, [x19]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x27
	bl	_memset
	mov	w8, #170
	str	w8, [x23]
	ldr	w8, [x28]
	add	w8, w8, #1
	str	w8, [x28]
	stp	w8, w22, [x23, #4]
	str	w25, [x23, #12]
	add	x0, x23, #16
	mov	x1, x26
	mov	x2, x25
	bl	_memcpy
	add	x3, x19, #0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x27
	mov	w4, #64
	mov	w5, #0
	bl	_dvb_usb_generic_rw
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #85
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x19, #4]
	ldr	w9, [x23, #4]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, w22
	b.ne	LBB0_6
; %bb.4:
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.5:
	ldr	w8, [x19, #12]
	cmp	w8, w20
	b.eq	LBB0_9
LBB0_6:
	ldr	w2, [x19, #12]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_warn
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldur	x8, [x29, #-96]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.8:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.10:
	add	x8, x19, #0
	add	x1, x8, #16
	mov	x0, x21
	mov	x2, x20
	bl	_memcpy
LBB0_11:
	mov	w0, #0
	b	LBB0_7
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"there might have been an error during control message transfer. (rlen = %d, was %d)"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ttusb2_msg
.subsections_via_symbols
