	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24110_diseqc_send_burst
_cx24110_diseqc_send_burst:             ## @cx24110_diseqc_send_burst
	.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), %r15
	movq	_SEC_MINI_A@GOTPCREL(%rip), %rax
	movl	$64, %r14d
	cmpl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_SEC_MINI_B@GOTPCREL(%rip), %rax
	movl	$72, %r14d
	cmpl	%esi, (%rax)
	jne	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	movl	$119, %esi
	callq	_cx24110_readreg
	testb	$4, %al
	jne	LBB0_5
## %bb.4:
	orl	$4, %eax
	movq	%r15, %rdi
	movl	$119, %esi
	movl	%eax, %edx
	callq	_cx24110_writereg
LBB0_5:
	movq	%r15, %rdi
	movl	$118, %esi
	callq	_cx24110_readreg
	andl	$144, %eax
	orl	%eax, %r14d
	movq	%r15, %rdi
	movl	$118, %esi
	movl	%r14d, %edx
	callq	_cx24110_writereg
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r14
	addq	%rbx, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	%r14, %rsi
	callq	_time_after
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	$118, %esi
	callq	_cx24110_readreg
	testb	$64, %al
	je	LBB0_6
	jmp	LBB0_8
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_MINI_A,4,2                 ## @SEC_MINI_A
	.comm	_SEC_MINI_B,4,2                 ## @SEC_MINI_B
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_cx24110_diseqc_send_burst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx24110_diseqc_send_burst
_cx24110_diseqc_send_burst:             ; @cx24110_diseqc_send_burst
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _SEC_MINI_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEC_MINI_A@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #64
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _SEC_MINI_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEC_MINI_B@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_10
; %bb.3:
	mov	w20, #72
LBB0_4:
	mov	x0, x19
	mov	w1, #119
	bl	_cx24110_readreg
	tbnz	w0, #2, LBB0_6
; %bb.5:
	orr	w2, w0, #0x4
	mov	x0, x19
	mov	w1, #119
	bl	_cx24110_writereg
LBB0_6:
	mov	x0, x19
	mov	w1, #118
	bl	_cx24110_readreg
	mov	w8, #144
	and	w8, w0, w8
	orr	w2, w20, w8
	mov	x0, x19
	mov	w1, #118
	bl	_cx24110_writereg
Lloh6:
	adrp	x21, _jiffies@GOTPAGE
Lloh7:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x20, [x21]
	mov	w0, #100
	bl	_msecs_to_jiffies
	add	x20, x0, x20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	mov	x1, x20
	bl	_time_after
	cbnz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	w1, #118
	bl	_cx24110_readreg
	tbz	w0, #6, LBB0_7
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_MINI_A,4,2                 ; @SEC_MINI_A
	.comm	_SEC_MINI_B,4,2                 ; @SEC_MINI_B
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_cx24110_diseqc_send_burst
.subsections_via_symbols
