	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opera1_power_ctrl
_opera1_power_ctrl:                     ## @opera1_power_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	testl	%esi, %esi
	setne	%bl
	movl	%ebx, -20(%rbp)
	movq	_dvb_usb_opera1_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	testl	%esi, %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_info
LBB0_2:
	movl	(%r14), %edi
	movq	_OPERA_WRITE_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-20(%rbp), %rcx
	movl	$183, %esi
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_opera1_xilinx_rw
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dvb_usb_opera1_debug,8,3       ## @dvb_usb_opera1_debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"power %s"

L_.str.1:                               ## @.str.1
	.asciz	"on"

L_.str.2:                               ## @.str.2
	.asciz	"off"

	.comm	_OPERA_WRITE_MSG,4,2            ## @OPERA_WRITE_MSG
	.no_dead_strip	_opera1_power_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opera1_power_ctrl
_opera1_power_ctrl:                     ; @opera1_power_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	cmp	w1, #0
	cset	w19, ne
	str	w19, [sp, #12]
Lloh0:
	adrp	x8, _dvb_usb_opera1_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dvb_usb_opera1_debug@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w1, #0
	csel	x1, x9, x8, eq
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_info
LBB0_2:
	ldr	w0, [x20]
Lloh9:
	adrp	x8, _OPERA_WRITE_MSG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OPERA_WRITE_MSG@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	add	x3, sp, #12
	mov	w1, #183
	mov	x2, x19
	mov	w4, #1
	bl	_opera1_xilinx_rw
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dvb_usb_opera1_debug,8,3       ; @dvb_usb_opera1_debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"power %s"

l_.str.1:                               ; @.str.1
	.asciz	"on"

l_.str.2:                               ; @.str.2
	.asciz	"off"

	.comm	_OPERA_WRITE_MSG,4,2            ; @OPERA_WRITE_MSG
	.no_dead_strip	_opera1_power_ctrl
.subsections_via_symbols
