	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function avc_tuner_get_ts
LCPI0_0:
	.long	0                               ## 0x0
	.long	210                             ## 0xd2
	.long	255                             ## 0xff
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_avc_tuner_get_ts
	.p2align	4, 0x90
_avc_tuner_get_ts:                      ## @avc_tuner_get_ts
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	leaq	20(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_AVC_CTYPE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_AVC_SUBUNIT_TYPE_TUNER@GOTPCREL(%rip), %rax
	movl	(%rbx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_AVC_OPCODE_DSIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	8(%rbx), %rax
	movq	_FIREDTV_DVB_T@GOTPCREL(%rip), %r12
	xorl	%ecx, %ecx
	cmpq	(%r12), %rax
	setne	%cl
	leal	(%rcx,%rcx,4), %eax
	addl	$12, %eax
	movq	8(%r15), %rcx
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,210,255,32]
	movups	%xmm0, (%rcx)
	movq	$0, 16(%rcx)
	movl	%eax, 24(%rcx)
	movq	%r15, %rdi
	movl	$7, %esi
	movl	$24, %edx
	callq	_clear_operands
	movq	8(%rbx), %rax
	xorl	%ecx, %ecx
	cmpq	(%r12), %rax
	setne	%cl
	leal	24(,%rcx,4), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_avc_write
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movl	$250, %edi
	callq	_msleep
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVC_CTYPE_CONTROL,4,2          ## @AVC_CTYPE_CONTROL
	.comm	_AVC_SUBUNIT_TYPE_TUNER,4,2     ## @AVC_SUBUNIT_TYPE_TUNER
	.comm	_AVC_OPCODE_DSIT,4,2            ## @AVC_OPCODE_DSIT
	.comm	_FIREDTV_DVB_T,8,3              ## @FIREDTV_DVB_T
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function avc_tuner_get_ts
lCPI0_0:
	.long	0                               ; 0x0
	.long	210                             ; 0xd2
	.long	255                             ; 0xff
	.long	32                              ; 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_avc_tuner_get_ts
	.p2align	2
_avc_tuner_get_ts:                      ; @avc_tuner_get_ts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
	add	x21, x0, #20
	mov	x0, x21
	bl	_mutex_lock
Lloh0:
	adrp	x8, _AVC_CTYPE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVC_CTYPE_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVC_SUBUNIT_TYPE_TUNER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x20]
Lloh6:
	adrp	x9, _AVC_OPCODE_DSIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AVC_OPCODE_DSIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x22, _FIREDTV_DVB_T@GOTPAGE
Lloh10:
	ldr	x22, [x22, _FIREDTV_DVB_T@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	mov	w8, #17
	mov	w9, #12
	csel	w8, w9, w8, eq
	ldr	x9, [x20, #8]
Lloh11:
	adrp	x10, lCPI0_0@PAGE
Lloh12:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	str	q0, [x9]
	str	xzr, [x9, #16]
	str	w8, [x9, #24]
	mov	w23, #24
	mov	x0, x20
	mov	w1, #7
	mov	w2, #24
	bl	_clear_operands
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	mov	w8, #28
	csel	w8, w23, w8, eq
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_avc_write
	mov	x19, x0
	mov	x0, x21
	bl	_mutex_unlock
	cbnz	w19, LBB0_2
; %bb.1:
	mov	w0, #250
	bl	_msleep
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVC_CTYPE_CONTROL,4,2          ; @AVC_CTYPE_CONTROL
	.comm	_AVC_SUBUNIT_TYPE_TUNER,4,2     ; @AVC_SUBUNIT_TYPE_TUNER
	.comm	_AVC_OPCODE_DSIT,4,2            ; @AVC_OPCODE_DSIT
	.comm	_FIREDTV_DVB_T,8,3              ; @FIREDTV_DVB_T
.subsections_via_symbols
