	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function technisat_usb2_set_voltage
_technisat_usb2_set_voltage:            ## @technisat_usb2_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	%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	%rdi, %r15
	cmpl	$129, %esi
	je	LBB0_4
## %bb.1:
	xorl	%r14d, %r14d
	cmpl	$130, %esi
	jne	LBB0_2
## %bb.3:
	movl	$1, %ecx
	jmp	LBB0_5
LBB0_4:
	movl	$1, %ecx
	movl	$1, %r14d
	jmp	LBB0_5
LBB0_2:
	xorl	%ecx, %ecx
LBB0_5:
	movq	_technisat_usb2_stv090x_config@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	*(%r13)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	*(%r13)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	*(%r13)
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movq	_EREMOTEIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_technisat_usb2_stv090x_config,8,3 ## @technisat_usb2_stv090x_config
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_technisat_usb2_set_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function technisat_usb2_set_voltage
_technisat_usb2_set_voltage:            ; @technisat_usb2_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
	mov	x19, x0
	mov	w8, #1
	mov	w9, #1
	cmp	w1, #130
	csel	w9, wzr, w9, ne
	csel	w10, wzr, wzr, ne
	cmp	w1, #129
	csel	w3, w8, w9, eq
	csel	w20, w8, w10, eq
Lloh0:
	adrp	x21, _technisat_usb2_stv090x_config@GOTPAGE
Lloh1:
	ldr	x21, [x21, _technisat_usb2_stv090x_config@GOTPAGEOFF]
	ldr	x8, [x21]
	mov	w1, #2
	mov	w2, #0
	mov	w4, #0
	blr	x8
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	mov	x3, x20
	mov	w4, #0
	blr	x8
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	blr	x8
	cbz	x0, LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_technisat_usb2_stv090x_config,8,3 ; @technisat_usb2_stv090x_config
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_technisat_usb2_set_voltage
.subsections_via_symbols
