	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda8083_send_diseqc_msg
_tda8083_send_diseqc_msg:               ## @tda8083_send_diseqc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %r14
	movl	(%rsi), %edx
	addl	$-3, %edx
	orl	$4, %edx
	movq	%r14, %rdi
	movl	$41, %esi
	callq	_tda8083_writereg
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	leal	35(%rbx), %esi
	movq	%r14, %rdi
	callq	_tda8083_writereg
	incq	%rbx
	movslq	(%r15), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_2
LBB0_3:
	addl	$-3, %edx
	orl	$12, %edx
	movq	%r14, %rdi
	movl	$41, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_tda8083_writereg
	movq	%r14, %rdi
	movl	$100, %esi
	callq	_tda8083_wait_diseqc_fifo
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tda8083_send_diseqc_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda8083_send_diseqc_msg
_tda8083_send_diseqc_msg:               ; @tda8083_send_diseqc_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	ldr	x19, [x0]
	ldr	w8, [x1]
	sub	w8, w8, #3
	orr	w2, w8, #0x4
	mov	x0, x19
	mov	w1, #41
	bl	_tda8083_writereg
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w2, [x8, x21, lsl #2]
	add	w1, w21, #35
	mov	x0, x19
	bl	_tda8083_writereg
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	sub	w8, w8, #3
	orr	w2, w8, #0xc
	mov	x0, x19
	mov	w1, #41
	bl	_tda8083_writereg
	mov	x0, x19
	mov	w1, #100
	bl	_tda8083_wait_diseqc_fifo
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tda8083_send_diseqc_msg
.subsections_via_symbols
