	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_release_analog_resources ## -- Begin function cx231xx_release_analog_resources
	.p2align	4, 0x90
_cx231xx_release_analog_resources:      ## @cx231xx_release_analog_resources
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	32(%rdi), %r14
	movq	%r14, %rdi
	callq	_video_is_registered
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_video_unregister_device
LBB0_2:
	leaq	28(%rbx), %r14
	movq	%r14, %rdi
	callq	_video_is_registered
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	24(%rbx), %r15d
	movq	%r14, %rdi
	callq	_video_device_node_name
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_dev_info
	movq	%r14, %rdi
	callq	_video_unregister_device
LBB0_4:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_video_is_registered
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	24(%rbx), %r15d
	movq	%r14, %rdi
	callq	_video_device_node_name
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_dev_info
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_cx231xx_417_unregister
LBB0_7:
	movq	%r14, %rdi
	callq	_video_unregister_device
LBB0_8:
	leaq	4(%rbx), %rdi
	callq	_v4l2_ctrl_handler_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_ctrl_handler_free         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"V4L2 device %s deregistered\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_release_analog_resources ; -- Begin function cx231xx_release_analog_resources
	.p2align	2
_cx231xx_release_analog_resources:      ; @cx231xx_release_analog_resources
	.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
	add	x20, x0, #32
	mov	x0, x20
	bl	_video_is_registered
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_video_unregister_device
LBB0_2:
	add	x20, x19, #28
	mov	x0, x20
	bl	_video_is_registered
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w21, [x19, #24]
	mov	x0, x20
	bl	_video_device_node_name
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	mov	x0, x20
	bl	_video_unregister_device
LBB0_4:
	add	x20, x19, #8
	mov	x0, x20
	bl	_video_is_registered
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w21, [x19, #24]
	mov	x0, x20
	bl	_video_device_node_name
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_cx231xx_417_unregister
LBB0_7:
	mov	x0, x20
	bl	_video_unregister_device
LBB0_8:
	add	x0, x19, #4
	bl	_v4l2_ctrl_handler_free
	mov	x0, x19
	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
	b	_v4l2_ctrl_handler_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"V4L2 device %s deregistered\n"

.subsections_via_symbols
