	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opera1_probe
_opera1_probe:                          ## @opera1_probe
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_interface_to_usbdev
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_le16_to_cpu
	movq	_USB_PID_OPERA1_WARM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	movq	_USB_VID_OPERA1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_opera1_xilinx_load_firmware
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_adapter_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_opera1_properties@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_dvb_usb_device_init
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_PID_OPERA1_WARM,8,3        ## @USB_PID_OPERA1_WARM
	.comm	_USB_VID_OPERA1,8,3             ## @USB_VID_OPERA1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvb-usb-opera1-fpga-01.fw"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_opera1_properties,4,2          ## @opera1_properties
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_adapter_nr,4,2                 ## @adapter_nr
	.no_dead_strip	_opera1_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opera1_probe
_opera1_probe:                          ; @opera1_probe
	.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, x0
	bl	_interface_to_usbdev
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _USB_PID_OPERA1_WARM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_PID_OPERA1_WARM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x20]
	bl	_le16_to_cpu
Lloh3:
	adrp	x8, _USB_VID_OPERA1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB_VID_OPERA1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_opera1_xilinx_load_firmware
	cbnz	x0, LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _adapter_nr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _adapter_nr@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
Lloh14:
	adrp	x1, _opera1_properties@GOTPAGE
Lloh15:
	ldr	x1, [x1, _opera1_properties@GOTPAGEOFF]
	mov	x0, x19
	mov	x3, #0
	bl	_dvb_usb_device_init
	cbz	x0, LBB0_5
LBB0_4:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_PID_OPERA1_WARM,8,3        ; @USB_PID_OPERA1_WARM
	.comm	_USB_VID_OPERA1,8,3             ; @USB_VID_OPERA1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvb-usb-opera1-fpga-01.fw"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_opera1_properties,4,2          ; @opera1_properties
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_adapter_nr,4,2                 ; @adapter_nr
	.no_dead_strip	_opera1_probe
.subsections_via_symbols
