	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24123_diseqc_send_burst
_cx24123_diseqc_send_burst:             ## @cx24123_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	%rbx, %rdi
	movl	$41, %esi
	callq	_cx24123_readreg
	movl	%eax, %r14d
	testb	$16, %r14b
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edx
	andl	$-81, %edx
	movq	%rbx, %rdi
	movl	$41, %esi
	callq	_cx24123_writereg
LBB0_2:
	movq	%rbx, %rdi
	callq	_cx24123_wait_for_diseqc
	movq	%rbx, %rdi
	movl	$42, %esi
	callq	_cx24123_readreg
	orl	$4, %eax
	movq	%rbx, %rdi
	movl	$42, %esi
	movl	%eax, %edx
	callq	_cx24123_writereg
	movl	$30, %edi
	callq	_msleep
	movq	%rbx, %rdi
	movl	$41, %esi
	callq	_cx24123_readreg
	movq	_SEC_MINI_A@GOTPCREL(%rip), %rdx
	movl	$64, %ecx
	cmpl	%r15d, (%rdx)
	je	LBB0_5
## %bb.3:
	movq	_SEC_MINI_B@GOTPCREL(%rip), %rdx
	movl	$72, %ecx
	cmpl	%r15d, (%rdx)
	jne	LBB0_4
LBB0_5:
	andl	$144, %eax
	orl	%ecx, %eax
	movq	%rbx, %rdi
	movl	$41, %esi
	movl	%eax, %edx
	callq	_cx24123_writereg
	movq	%rbx, %rdi
	callq	_cx24123_wait_for_diseqc
	movq	%rbx, %rdi
	movl	$42, %esi
	callq	_cx24123_readreg
	andl	$251, %eax
	movq	%rbx, %rdi
	movl	$42, %esi
	movl	%eax, %edx
	callq	_cx24123_writereg
	xorl	%r15d, %r15d
	testb	$16, %r14b
	je	LBB0_7
## %bb.6:
	andl	$-65, %r14d
	movq	%rbx, %rdi
	movl	$41, %esi
	movl	%r14d, %edx
	callq	_cx24123_writereg
	jmp	LBB0_7
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_SEC_MINI_A,4,2                 ## @SEC_MINI_A
	.comm	_SEC_MINI_B,4,2                 ## @SEC_MINI_B
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cx24123_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 cx24123_diseqc_send_burst
_cx24123_diseqc_send_burst:             ; @cx24123_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
	mov	x21, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	mov	w1, #41
	bl	_cx24123_readreg
	mov	x20, x0
	tbz	w0, #4, LBB0_2
; %bb.1:
	mov	w8, #-81
	and	w2, w20, w8
	mov	x0, x19
	mov	w1, #41
	bl	_cx24123_writereg
LBB0_2:
	mov	x0, x19
	bl	_cx24123_wait_for_diseqc
	mov	x0, x19
	mov	w1, #42
	bl	_cx24123_readreg
	orr	w2, w0, #0x4
	mov	x0, x19
	mov	w1, #42
	bl	_cx24123_writereg
	mov	w0, #30
	bl	_msleep
	mov	x0, x19
	mov	w1, #41
	bl	_cx24123_readreg
Lloh2:
	adrp	x8, _SEC_MINI_A@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEC_MINI_A@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #64
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _SEC_MINI_B@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEC_MINI_B@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_9
; %bb.5:
	mov	w8, #72
LBB0_6:
	mov	w9, #144
	and	w9, w0, w9
	orr	w2, w9, w8
	mov	x0, x19
	mov	w1, #41
	bl	_cx24123_writereg
	mov	x0, x19
	bl	_cx24123_wait_for_diseqc
	mov	x0, x19
	mov	w1, #42
	bl	_cx24123_readreg
	mov	w8, #251
	and	w2, w0, w8
	mov	x0, x19
	mov	w1, #42
	bl	_cx24123_writereg
	tbz	w20, #4, LBB0_8
; %bb.7:
	and	w2, w20, #0xffffffbf
	mov	x0, x19
	mov	w1, #41
	bl	_cx24123_writereg
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_SEC_MINI_A,4,2                 ; @SEC_MINI_A
	.comm	_SEC_MINI_B,4,2                 ; @SEC_MINI_B
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cx24123_diseqc_send_burst
.subsections_via_symbols
