	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gp8psk_fe_send_legacy_dish_cmd
_gp8psk_fe_send_legacy_dish_cmd:        ## @gp8psk_fe_send_legacy_dish_cmd
	.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), %rbx
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movq	_SET_DN_SWITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r15d, %edx
	andl	$127, %edx
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movq	_SET_LNB_VOLTAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	shrl	$7, %r15d
	andl	$1, %r15d
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_4:
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_DN_SWITCH,4,2              ## @SET_DN_SWITCH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SET_LNB_VOLTAGE,4,2            ## @SET_LNB_VOLTAGE
	.no_dead_strip	_gp8psk_fe_send_legacy_dish_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gp8psk_fe_send_legacy_dish_cmd
_gp8psk_fe_send_legacy_dish_cmd:        ; @gp8psk_fe_send_legacy_dish_cmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x0]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
Lloh0:
	adrp	x9, _SET_DN_SWITCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SET_DN_SWITCH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	and	w2, w19, #0x7f
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	blr	x8
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
Lloh3:
	adrp	x9, _SET_LNB_VOLTAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SET_LNB_VOLTAGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	ubfx	w2, w19, #7, #1
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	blr	x8
	cbz	x0, LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_DN_SWITCH,4,2              ; @SET_DN_SWITCH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SET_LNB_VOLTAGE,4,2            ; @SET_LNB_VOLTAGE
	.no_dead_strip	_gp8psk_fe_send_legacy_dish_cmd
.subsections_via_symbols
