	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lnb_set_voltage
_lnb_set_voltage:                       ## @lnb_set_voltage
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	(%rdi), %rcx
	movq	%rsi, %rbx
	shlq	$4, %rbx
	movq	(%rcx,%rbx), %rdx
	xorl	%eax, %eax
	cmpl	%r12d, (%rdx,%r14,4)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	cmpl	$130, %r12d
	je	LBB0_7
## %bb.2:
	cmpl	$129, %r12d
	je	LBB0_8
## %bb.3:
	cmpl	$128, %r12d
	jne	LBB0_9
## %bb.4:
	movq	8(%rcx,%rbx), %rcx
	cmpl	$0, (%rcx,%r14,4)
	jne	LBB0_11
## %bb.5:
	movq	_LNB_CMD_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_LNB_CMD_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_LNB_CMD_HIGH@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_lnb_command
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	movq	(%r15), %rcx
	movq	(%rcx,%rbx), %rcx
	movl	%r12d, (%rcx,%r14,4)
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LNB_CMD_OFF,4,2                ## @LNB_CMD_OFF
	.comm	_LNB_CMD_LOW,4,2                ## @LNB_CMD_LOW
	.comm	_LNB_CMD_HIGH,4,2               ## @LNB_CMD_HIGH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_lnb_set_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lnb_set_voltage
_lnb_set_voltage:                       ; @lnb_set_voltage
	.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	x8, [x0]
	lsl	x22, x1, #4
	ldr	x9, [x8, x22]
	ldr	w9, [x9, x2, lsl #2]
	cmp	w9, w3
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	cmp	w3, #130
	b.eq	LBB0_7
; %bb.3:
	cmp	w19, #129
	b.eq	LBB0_8
; %bb.4:
	cmp	w19, #128
	b.ne	LBB0_10
; %bb.5:
	add	x8, x8, x1, lsl #4
	ldr	x8, [x8, #8]
	ldr	w8, [x8, x20, lsl #2]
	cbnz	w8, LBB0_1
; %bb.6:
Lloh0:
	adrp	x8, _LNB_CMD_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LNB_CMD_OFF@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _LNB_CMD_LOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LNB_CMD_LOW@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh4:
	adrp	x8, _LNB_CMD_HIGH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LNB_CMD_HIGH@GOTPAGEOFF]
LBB0_9:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_lnb_command
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	str	w19, [x8, x20, lsl #2]
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LNB_CMD_OFF,4,2                ; @LNB_CMD_OFF
	.comm	_LNB_CMD_LOW,4,2                ; @LNB_CMD_LOW
	.comm	_LNB_CMD_HIGH,4,2               ; @LNB_CMD_HIGH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_lnb_set_voltage
.subsections_via_symbols
