	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function digitv_ctrl_msg
_digitv_ctrl_msg:                       ## @digitv_ctrl_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %ebx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%r9, %r9
	sete	%al
	cmpl	$0, 16(%rbp)
	sete	%r14b
	orb	%al, %r14b
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_memset
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_memset
	movl	%r15d, -80(%rbp)
	movl	16(%rbp), %r15d
	movl	%r13d, -76(%rbp)
	movl	%r15d, %eax
	testb	%r14b, %r14b
	cmovnel	%ebx, %eax
	movl	%eax, -72(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	-68(%rbp), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	leaq	-80(%rbp), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$7, %edx
	callq	_dvb_usb_generic_write
	jmp	LBB0_3
LBB0_2:
	leaq	-80(%rbp), %rsi
	leaq	-112(%rbp), %rcx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$7, %edx
	movl	$7, %r8d
	movl	$10, %r9d
	callq	_dvb_usb_generic_rw
	leaq	-100(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_memcpy
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_digitv_ctrl_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function digitv_ctrl_msg
_digitv_ctrl_msg:                       ; @digitv_ctrl_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	cmp	x5, #0
	ccmp	w6, #0, #4, ne
	cset	w28, eq
	add	x27, sp, #28
	add	x0, sp, #28
	mov	w1, #0
	mov	w2, #7
	bl	_memset
	mov	x26, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #7
	bl	_memset
	stp	w25, w24, [sp, #28]
	cmp	w28, #0
	csel	w8, w22, w19, ne
	str	w8, [sp, #36]
	cbz	w28, LBB0_2
; %bb.1:
	add	x0, x27, #12
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	add	x1, sp, #28
	mov	x0, x21
	mov	w2, #7
	bl	_dvb_usb_generic_write
	b	LBB0_3
LBB0_2:
	add	x1, sp, #28
	mov	x3, sp
	mov	x0, x21
	mov	w2, #7
	mov	w4, #7
	mov	w5, #10
	bl	_dvb_usb_generic_rw
	add	x1, x26, #12
	mov	x0, x20
	mov	x2, x19
	bl	_memcpy
LBB0_3:
	ldr	x8, [sp, #56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_digitv_ctrl_msg
.subsections_via_symbols
