	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SendDiSEqCMsg
_SendDiSEqCMsg:                         ## @SendDiSEqCMsg
	.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
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%r12, %rdx
	callq	_dprintk
	movq	_SAA7146_GPIO_OUTLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_saa7146_setgpio
	movl	$16, %edi
	callq	_mdelay
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.1:
	movl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_DiseqcSendByte
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_2
LBB0_3:
	movl	$16, %edi
	callq	_mdelay
	cmpq	$-1, %r15
	je	LBB0_8
## %bb.4:
	testq	%r15, %r15
	jne	LBB0_5
## %bb.6:
	movq	_SAA7146_GPIO_OUTHI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_saa7146_setgpio
	movl	$12, %edi
	callq	_mdelay
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_udelay
	movq	_SAA7146_GPIO_OUTLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_saa7146_setgpio
	jmp	LBB0_7
LBB0_5:
	movq	%r12, %rdi
	movl	$255, %esi
	callq	_DiseqcSendByte
LBB0_7:
	movl	$20, %edi
	callq	_msleep
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"budget: %p\n"

	.comm	_SAA7146_GPIO_OUTLO,4,2         ## @SAA7146_GPIO_OUTLO
	.comm	_SAA7146_GPIO_OUTHI,4,2         ## @SAA7146_GPIO_OUTHI
	.no_dead_strip	_SendDiSEqCMsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SendDiSEqCMsg
_SendDiSEqCMsg:                         ; @SendDiSEqCMsg
	.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, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x20
	bl	_dprintk
Lloh2:
	adrp	x24, _SAA7146_GPIO_OUTLO@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SAA7146_GPIO_OUTLO@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #3
	bl	_saa7146_setgpio
	mov	w0, #16
	bl	_mdelay
	cmp	w23, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, w23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22], #4
	mov	x0, x20
	bl	_DiseqcSendByte
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #16
	bl	_mdelay
	cmn	x21, #1
	b.eq	LBB0_8
; %bb.4:
	cbnz	x21, LBB0_6
; %bb.5:
Lloh4:
	adrp	x8, _SAA7146_GPIO_OUTHI@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SAA7146_GPIO_OUTHI@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #3
	bl	_saa7146_setgpio
	mov	w0, #12
	bl	_mdelay
	mov	w0, #500
	bl	_udelay
	ldr	w2, [x24]
	mov	x0, x19
	mov	w1, #3
	bl	_saa7146_setgpio
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	w1, #255
	bl	_DiseqcSendByte
LBB0_7:
	mov	w0, #20
	bl	_msleep
LBB0_8:
	mov	w0, #0
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"budget: %p\n"

	.comm	_SAA7146_GPIO_OUTLO,4,2         ; @SAA7146_GPIO_OUTLO
	.comm	_SAA7146_GPIO_OUTHI,4,2         ; @SAA7146_GPIO_OUTHI
	.no_dead_strip	_SendDiSEqCMsg
.subsections_via_symbols
