	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stb0899_send_diseqc_burst
_stb0899_send_diseqc_burst:             ## @stb0899_send_diseqc_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	(%rdi), %r12
	movq	%r12, %rdi
	movl	$100, %esi
	callq	_stb0899_wait_diseqc_txidle
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_STB0899_DISCNTRL1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_stb0899_read_reg
	movl	%eax, %r14d
	movq	_DISEQCMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	movl	$3, %edx
	callq	_STB0899_SETFIELD_VAL
	movq	_DISPRECHARGE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	%r14d, %esi
	movl	$1, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_stb0899_write_reg
	cmpl	$129, %r15d
	je	LBB0_3
## %bb.4:
	cmpl	$128, %r15d
	jne	LBB0_7
## %bb.5:
	movl	$255, %edx
	jmp	LBB0_6
LBB0_3:
	xorl	%edx, %edx
LBB0_6:
	movq	_STB0899_DISFIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_stb0899_write_reg
LBB0_7:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_stb0899_read_reg
	movl	%eax, %r15d
	movl	(%rbx), %edi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_STB0899_SETFIELD_VAL
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_stb0899_write_reg
	movq	%r12, %rdi
	movl	$100, %esi
	callq	_stb0899_wait_diseqc_txidle
	testq	%rax, %rax
	js	LBB0_1
## %bb.8:
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_stb0899_write_reg
	jmp	LBB0_9
LBB0_1:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_STB0899_DISCNTRL1,4,2          ## @STB0899_DISCNTRL1
	.comm	_DISEQCMODE,4,2                 ## @DISEQCMODE
	.comm	_DISPRECHARGE,4,2               ## @DISPRECHARGE
	.comm	_STB0899_DISFIFO,4,2            ## @STB0899_DISFIFO
	.no_dead_strip	_stb0899_send_diseqc_burst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stb0899_send_diseqc_burst
_stb0899_send_diseqc_burst:             ; @stb0899_send_diseqc_burst
	.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	x21, x1
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #100
	bl	_stb0899_wait_diseqc_txidle
	tbnz	x0, #63, LBB0_8
; %bb.1:
Lloh0:
	adrp	x22, _STB0899_DISCNTRL1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _STB0899_DISCNTRL1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_stb0899_read_reg
	mov	x20, x0
Lloh2:
	adrp	x8, _DISEQCMODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DISEQCMODE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #3
	bl	_STB0899_SETFIELD_VAL
Lloh5:
	adrp	x23, _DISPRECHARGE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DISPRECHARGE@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x20
	mov	w2, #1
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_stb0899_write_reg
	cmp	w21, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w21, #128
	b.ne	LBB0_6
; %bb.3:
	mov	w2, #255
	b	LBB0_5
LBB0_4:
	mov	w2, #0
LBB0_5:
Lloh7:
	adrp	x8, _STB0899_DISFIFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STB0899_DISFIFO@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stb0899_write_reg
LBB0_6:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_stb0899_read_reg
	mov	x21, x0
	ldr	w0, [x23]
	mov	x1, x21
	mov	w2, #0
	bl	_STB0899_SETFIELD_VAL
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_stb0899_write_reg
	mov	x0, x19
	mov	w1, #100
	bl	_stb0899_wait_diseqc_txidle
	tbnz	x0, #63, LBB0_8
; %bb.7:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_stb0899_write_reg
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh10:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_STB0899_DISCNTRL1,4,2          ; @STB0899_DISCNTRL1
	.comm	_DISEQCMODE,4,2                 ; @DISEQCMODE
	.comm	_DISPRECHARGE,4,2               ; @DISPRECHARGE
	.comm	_STB0899_DISFIFO,4,2            ; @STB0899_DISFIFO
	.no_dead_strip	_stb0899_send_diseqc_burst
.subsections_via_symbols
