	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cx231xx_usb_probe
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cx231xx_usb_probe:                     ## @cx231xx_usb_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpl	$1, 8(%rax)
	jne	LBB0_42
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r12
	leaq	16(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_CX231XX_MAXBOARDS@GOTPCREL(%rip), %r15
	movq	_cx231xx_devused@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_find_first_zero_bit
	movl	(%r15), %edx
	cmpl	%edx, %eax
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_2
## %bb.5:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_interface_to_usbdev
	movl	%eax, %edi
	callq	_usb_get_dev
	movq	%rax, %r15
	movq	%rax, %rbx
	addq	$24, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$152, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movl	148(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$29, %esi
	movl	%r14d, %ecx
	callq	_snprintf
	movl	%r14d, (%r12)
	movq	(%r13), %rax
	movq	%rax, 8(%r12)
	movl	$-1, 144(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 136(%r12)
	movq	%r12, %rdi
	callq	_cx231xx_set_model
	incl	80(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 112(%r12)
	movq	$0, 128(%r12)
	movabsq	$-4294967295, %rax              ## imm = 0xFFFFFFFF00000001
	movq	%rax, 16(%r12)
	leaq	104(%r12), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	48(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r12)
	movq	_transfer_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r12)
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	ja	LBB0_8
## %bb.9:
	cltq
	leaq	l_reltable.cx231xx_usb_probe(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmp	LBB0_10
LBB0_42:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_41
LBB0_3:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_41
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_16
LBB0_8:
	leaq	L_.str.5(%rip), %rax
LBB0_10:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r15
	testq	%rbx, %rbx
	leaq	L_.str.7(%rip), %rax
	cmoveq	%rax, %rbx
	testq	%r15, %r15
	cmoveq	%rax, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	44(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	40(%rax), %edi
	callq	_le16_to_cpu
	movl	%eax, %r10d
	leaq	L_.str.6(%rip), %rsi
	xorl	%r13d, %r13d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%r14d, %r9d
	xorl	%eax, %eax
	pushq	24(%r12)
	pushq	%r10
	callq	_dev_info
	addq	$16, %rsp
	incl	80(%r12)
	movl	(%r12), %r14d
	movq	32(%r15), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	cmpl	$1, (%rax)
	jne	LBB0_12
## %bb.13:
	leaq	L_.str.9(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_usb_set_intfdata
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cx231xx_media_device_init
	testl	%eax, %eax
	je	LBB0_17
## %bb.14:
	movl	%eax, %r13d
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_15
LBB0_12:
	leaq	L_.str.8(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_16
LBB0_17:
	movq	%r12, %rsi
	addq	$32, %rsi
	movq	%rbx, %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_v4l2_device_register
	testl	%eax, %eax
	je	LBB0_20
## %bb.18:
	movl	%eax, %r13d
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_19
LBB0_20:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_cx231xx_init_dev
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.21:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_cx231xx_init_v4l2
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.22:
	cmpl	$255, 64(%r12)
	jne	LBB0_23
LBB0_36:
	movq	8(%r12), %rax
	movq	_CX231XX_BOARD_CNXT_VIDEO_GRABBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.37:
	movq	%r12, %rdi
	callq	_cx231xx_enable_OSC
	movq	%r12, %rdi
	callq	_cx231xx_reset_out
	movq	_INDEX_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_cx231xx_set_alt_setting
	movq	8(%r12), %rax
LBB0_38:
	movq	_CX231XX_BOARD_CNXT_RDE_253S@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
## %bb.39:
	movq	%r12, %rdi
	callq	_cx231xx_sleep_s5h1432
LBB0_40:
	movq	%r12, %rdi
	callq	_request_modules
	xorl	%r13d, %r13d
	jmp	LBB0_41
LBB0_23:
	movq	72(%r12), %rax
	movq	(%rax), %rax
	leaq	1(%rax), %rdx
	cmpq	24(%r12), %rdx
	jae	LBB0_24
## %bb.28:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	32(%r15), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx,%rax,8), %rsi
	movq	8(%rsi), %rax
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	cmpl	$0, 12(%rax)
	jle	LBB0_26
## %bb.29:
	movq	(%rax), %rax
	movslq	4(%rax), %rdx
	movl	%edx, 56(%r12)
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %ecx
	movl	%ecx, 40(%r12)
	leaq	L_.str.13(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_info
	movl	40(%r12), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$32, %esi
	callq	_devm_kmalloc_array
	movq	%rax, 48(%r12)
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:
	cmpl	$0, 40(%r12)
	jle	LBB0_36
## %bb.32:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	cmpl	$0, 12(%rax,%r15)
	jle	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	(%rax,%r15), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %edx
	andl	$2047, %edx                     ## imm = 0x7FF
	shrl	$11, %eax
	andl	$3, %eax
	leal	1(%rax), %ecx
	imull	%edx, %ecx
	movq	48(%r12), %rax
	movl	%ecx, (%rax,%r13,4)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.14(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	incq	%r13
	movslq	40(%r12), %rax
	addq	$16, %r15
	cmpq	%rax, %r13
	jl	LBB0_33
	jmp	LBB0_36
LBB0_24:
	leaq	L_.str.12(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_25:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_26:
	xorl	%r13d, %r13d
	subl	(%rcx), %r13d
	movq	%r12, %rdi
	callq	_cx231xx_close_extension
	movq	%r12, %rdi
	callq	_cx231xx_ir_exit
	movq	%r12, %rdi
	callq	_cx231xx_release_analog_resources
	movq	%r12, %rdi
	callq	_cx231xx_417_unregister
	movq	%r12, %rdi
	callq	_cx231xx_remove_from_devlist
	movq	%r12, %rdi
	callq	_cx231xx_dev_uninit
LBB0_27:
	movq	%rbx, %rdi
	callq	_v4l2_device_unregister
LBB0_19:
	movq	%r12, %rdi
	callq	_cx231xx_unregister_media_device
LBB0_15:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_usb_set_intfdata
LBB0_16:
	movq	%r15, %rdi
	callq	_usb_put_dev
	movq	_cx231xx_devused@GOTPCREL(%rip), %rsi
	movl	%r14d, %edi
	callq	_clear_bit
LBB0_41:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_34:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_cx231xx_devused,4,2            ## @cx231xx_devused
	.comm	_CX231XX_MAXBOARDS,4,2          ## @CX231XX_MAXBOARDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Supports only %i devices.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"cx231xx #%d"

	.comm	_transfer_mode,4,2              ## @transfer_mode
L_.str.2:                               ## @.str.2
	.asciz	"1.5"

L_.str.3:                               ## @.str.3
	.asciz	"12"

L_.str.4:                               ## @.str.4
	.asciz	"480"

L_.str.5:                               ## @.str.5
	.asciz	"unknown"

L_.str.6:                               ## @.str.6
	.asciz	"New device %s %s @ %s Mbps (%04x:%04x) with %d interfaces\n"

L_.str.7:                               ## @.str.7
	.space	1

L_.str.8:                               ## @.str.8
	.asciz	"Not found matching IAD interface\n"

L_.str.9:                               ## @.str.9
	.asciz	"registering interface %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"cx231xx_media_device_init failed\n"

L_.str.11:                              ## @.str.11
	.asciz	"v4l2_device_register failed\n"

L_.str.12:                              ## @.str.12
	.asciz	"TS1 PCB interface #%d doesn't exist\n"

L_.str.13:                              ## @.str.13
	.asciz	"TS EndPoint Addr 0x%x, Alternate settings: %i\n"

L_.str.14:                              ## @.str.14
	.asciz	"Alternate setting %i, max size= %i\n"

	.comm	_CX231XX_BOARD_CNXT_VIDEO_GRABBER,8,3 ## @CX231XX_BOARD_CNXT_VIDEO_GRABBER
	.comm	_INDEX_VIDEO,4,2                ## @INDEX_VIDEO
	.comm	_CX231XX_BOARD_CNXT_RDE_253S,8,3 ## @CX231XX_BOARD_CNXT_RDE_253S
	.no_dead_strip	_cx231xx_usb_probe
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.cx231xx_usb_probe
l_reltable.cx231xx_usb_probe:
	.long	L_.str.3-l_reltable.cx231xx_usb_probe
	.long	L_.str.2-l_reltable.cx231xx_usb_probe
	.long	L_.str.4-l_reltable.cx231xx_usb_probe
	.long	L_.str.3-l_reltable.cx231xx_usb_probe

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cx231xx_usb_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cx231xx_usb_probe:                     ; @cx231xx_usb_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0, #8]
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.1:
	mov	x25, x1
	mov	x19, x0
	add	x23, x0, #16
Lloh0:
	adrp	x21, _CX231XX_MAXBOARDS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CX231XX_MAXBOARDS@GOTPAGEOFF]
Lloh2:
	adrp	x20, _cx231xx_devused@GOTPAGE
Lloh3:
	ldr	x20, [x20, _cx231xx_devused@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_find_first_zero_bit
	ldr	w8, [x21]
	cmp	w0, w8
	b.ge	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	x0, LBB0_2
; %bb.4:
	mov	x0, x19
	bl	_interface_to_usbdev
	bl	_usb_get_dev
	mov	x20, x0
	add	x24, x0, #24
Lloh4:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x24
	mov	w1, #152
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x21, x0
	ldr	w0, [x0, #148]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #29
	mov	x3, x22
	bl	_snprintf
	str	w22, [x21]
	ldr	x8, [x25]
	str	x8, [x21, #8]
	mov	w8, #-1
	str	w8, [x21, #144]
	str	x23, [x21, #136]
	mov	x0, x21
	bl	_cx231xx_set_model
	ldr	w8, [x21, #80]
	add	w8, w8, #1
	str	w8, [x21, #80]
	stp	xzr, xzr, [x21, #120]
	str	xzr, [x21, #112]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21, #16]
	add	x0, x21, #104
	mov	w1, #0
	bl	_atomic_set
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	str	x8, [x21, #24]
Lloh10:
	adrp	x8, _transfer_mode@GOTPAGE
Lloh11:
	ldr	x8, [x8, _transfer_mode@GOTPAGEOFF]
	stp	xzr, xzr, [x21, #88]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x21, #84]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.6:
Lloh13:
	adrp	x9, l_switch.table.cx231xx_usb_probe@PAGE
Lloh14:
	add	x9, x9, l_switch.table.cx231xx_usb_probe@PAGEOFF
	ldr	x26, [x9, w8, sxtw #3]
	b	LBB0_12
LBB0_7:
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_19
LBB0_10:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
Lloh23:
	adrp	x26, l_.str.5@PAGE
Lloh24:
	add	x26, x26, l_.str.5@PAGEOFF
LBB0_12:
Lloh25:
	adrp	x8, l_.str.7@PAGE
Lloh26:
	add	x8, x8, l_.str.7@PAGEOFF
	ldp	x9, x10, [x20, #8]
	cmp	x9, #0
	csel	x22, x8, x9, eq
	cmp	x10, #0
	csel	x28, x8, x10, eq
	ldr	w0, [x20, #44]
	bl	_le16_to_cpu
	mov	x25, x0
	ldr	w0, [x20, #40]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x21, #24]
	stp	x0, x8, [sp, #24]
	stp	x26, x25, [sp, #8]
	str	x28, [sp]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	bl	_dev_info
	ldr	w8, [x21, #80]
	add	w8, w8, #1
	str	w8, [x21, #80]
	ldr	w22, [x21]
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.13:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_16
; %bb.14:
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	mov	w2, #1
	bl	_dev_dbg
	mov	x0, x19
	mov	x1, x21
	bl	_usb_set_intfdata
	mov	x0, x21
	mov	x1, x20
	bl	_cx231xx_media_device_init
	cbz	w0, LBB0_20
; %bb.15:
	mov	x26, x0
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x23
	bl	_dev_err
	b	LBB0_42
LBB0_16:
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_dev_err
Lloh35:
	adrp	x8, _ENODEV@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_18:
	mov	x0, x20
	bl	_usb_put_dev
Lloh37:
	adrp	x1, _cx231xx_devused@GOTPAGE
Lloh38:
	ldr	x1, [x1, _cx231xx_devused@GOTPAGEOFF]
	mov	x0, x22
	bl	_clear_bit
LBB0_19:
	mov	x0, x26
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
	add	x25, x21, #32
	mov	x0, x23
	mov	x1, x25
	bl	_v4l2_device_register
	cbz	w0, LBB0_22
; %bb.21:
	mov	x26, x0
Lloh39:
	adrp	x1, l_.str.11@PAGE
Lloh40:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x23
	bl	_dev_err
	b	LBB0_41
LBB0_22:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_cx231xx_init_dev
	mov	x26, x0
	cbnz	w0, LBB0_40
; %bb.23:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #0
	bl	_cx231xx_init_v4l2
	mov	x26, x0
	cbnz	w0, LBB0_40
; %bb.24:
	ldr	w8, [x21, #64]
	cmp	w8, #255
	b.ne	LBB0_30
LBB0_25:
	ldr	x8, [x21, #8]
Lloh41:
	adrp	x9, _CX231XX_BOARD_CNXT_VIDEO_GRABBER@GOTPAGE
Lloh42:
	ldr	x9, [x9, _CX231XX_BOARD_CNXT_VIDEO_GRABBER@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x21
	bl	_cx231xx_enable_OSC
	mov	x0, x21
	bl	_cx231xx_reset_out
Lloh44:
	adrp	x8, _INDEX_VIDEO@GOTPAGE
Lloh45:
	ldr	x8, [x8, _INDEX_VIDEO@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #3
	bl	_cx231xx_set_alt_setting
	ldr	x8, [x21, #8]
LBB0_27:
Lloh47:
	adrp	x9, _CX231XX_BOARD_CNXT_RDE_253S@GOTPAGE
Lloh48:
	ldr	x9, [x9, _CX231XX_BOARD_CNXT_RDE_253S@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x21
	bl	_cx231xx_sleep_s5h1432
LBB0_29:
	mov	x0, x21
	bl	_request_modules
	mov	w26, #0
	b	LBB0_19
LBB0_30:
	ldr	x8, [x21, #72]
	ldr	x8, [x8]
	add	x8, x8, #1
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.hs	LBB0_37
; %bb.31:
	ldr	x9, [x20, #32]
	ldr	x9, [x9]
	ldr	x28, [x9, x8, lsl #3]
	ldr	x8, [x28, #8]
	ldr	w9, [x8, #12]
	cmp	w9, #1
	b.lt	LBB0_38
; %bb.32:
	ldr	x8, [x8]
	ldrsw	x2, [x8, #4]
	str	w2, [x21, #56]
	ldr	w8, [x28]
	str	w8, [x21, #40]
	str	x8, [sp]
Lloh50:
	adrp	x1, l_.str.13@PAGE
Lloh51:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x23
	bl	_dev_info
	ldr	w2, [x21, #40]
	ldr	w3, [x27]
	mov	x0, x24
	mov	w1, #32
	bl	_devm_kmalloc_array
	str	x0, [x21, #48]
	cbz	x0, LBB0_43
; %bb.33:
	ldr	w8, [x21, #40]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.34:
	mov	x26, #0
	mov	x24, #0
Lloh52:
	adrp	x27, _ENODEV@GOTPAGE
Lloh53:
	ldr	x27, [x27, _ENODEV@GOTPAGEOFF]
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28, #8]
	add	x9, x8, x26
	ldr	w9, [x9, #12]
	cmp	w9, #1
	b.lt	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x8, x26]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	and	w8, w0, #0x7ff
	ubfx	w9, w0, #11, #2
	madd	w8, w8, w9, w8
	ldr	x9, [x21, #48]
	str	w8, [x9, x24, lsl #2]
	str	x8, [sp]
	mov	x0, x23
Lloh54:
	adrp	x1, l_.str.14@PAGE
Lloh55:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, x24
	bl	_dev_dbg
	add	x24, x24, #1
	ldrsw	x8, [x21, #40]
	add	x26, x26, #16
	cmp	x24, x8
	b.lt	LBB0_35
	b	LBB0_25
LBB0_37:
	str	x8, [sp]
Lloh56:
	adrp	x1, l_.str.12@PAGE
Lloh57:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x23
	bl	_dev_err
LBB0_38:
Lloh58:
	adrp	x27, _ENODEV@GOTPAGE
Lloh59:
	ldr	x27, [x27, _ENODEV@GOTPAGEOFF]
LBB0_39:
	ldr	w8, [x27]
	neg	w26, w8
	mov	x0, x21
	bl	_cx231xx_close_extension
	mov	x0, x21
	bl	_cx231xx_ir_exit
	mov	x0, x21
	bl	_cx231xx_release_analog_resources
	mov	x0, x21
	bl	_cx231xx_417_unregister
	mov	x0, x21
	bl	_cx231xx_remove_from_devlist
	mov	x0, x21
	bl	_cx231xx_dev_uninit
LBB0_40:
	mov	x0, x25
	bl	_v4l2_device_unregister
LBB0_41:
	mov	x0, x21
	bl	_cx231xx_unregister_media_device
LBB0_42:
	mov	x0, x19
	mov	x1, #0
	bl	_usb_set_intfdata
	b	LBB0_18
LBB0_43:
Lloh60:
	adrp	x27, _ENOMEM@GOTPAGE
Lloh61:
	ldr	x27, [x27, _ENOMEM@GOTPAGEOFF]
	b	LBB0_39
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_cx231xx_devused,4,2            ; @cx231xx_devused
	.comm	_CX231XX_MAXBOARDS,4,2          ; @CX231XX_MAXBOARDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Supports only %i devices.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"cx231xx #%d"

	.comm	_transfer_mode,4,2              ; @transfer_mode
l_.str.2:                               ; @.str.2
	.asciz	"1.5"

l_.str.3:                               ; @.str.3
	.asciz	"12"

l_.str.4:                               ; @.str.4
	.asciz	"480"

l_.str.5:                               ; @.str.5
	.asciz	"unknown"

l_.str.6:                               ; @.str.6
	.asciz	"New device %s %s @ %s Mbps (%04x:%04x) with %d interfaces\n"

l_.str.7:                               ; @.str.7
	.space	1

l_.str.8:                               ; @.str.8
	.asciz	"Not found matching IAD interface\n"

l_.str.9:                               ; @.str.9
	.asciz	"registering interface %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"cx231xx_media_device_init failed\n"

l_.str.11:                              ; @.str.11
	.asciz	"v4l2_device_register failed\n"

l_.str.12:                              ; @.str.12
	.asciz	"TS1 PCB interface #%d doesn't exist\n"

l_.str.13:                              ; @.str.13
	.asciz	"TS EndPoint Addr 0x%x, Alternate settings: %i\n"

l_.str.14:                              ; @.str.14
	.asciz	"Alternate setting %i, max size= %i\n"

	.comm	_CX231XX_BOARD_CNXT_VIDEO_GRABBER,8,3 ; @CX231XX_BOARD_CNXT_VIDEO_GRABBER
	.comm	_INDEX_VIDEO,4,2                ; @INDEX_VIDEO
	.comm	_CX231XX_BOARD_CNXT_RDE_253S,8,3 ; @CX231XX_BOARD_CNXT_RDE_253S
	.no_dead_strip	_cx231xx_usb_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cx231xx_usb_probe
l_switch.table.cx231xx_usb_probe:
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.4
	.quad	l_.str.3

.subsections_via_symbols
