	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_int_device_unregister     ## -- Begin function v4l2_int_device_unregister
	.p2align	4, 0x90
_v4l2_int_device_unregister:            ## @v4l2_int_device_unregister
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	leaq	16(%rbx), %rdi
	callq	_list_del
	movq	(%rbx), %rax
	movq	_v4l2_int_type_slave@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_module_put
	movq	8(%rbx), %rax
	movq	$0, (%rax)
LBB0_3:
	movq	_mutex@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mutex,4,2                      ## @mutex
	.comm	_v4l2_int_type_slave,8,3        ## @v4l2_int_type_slave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_int_device_unregister     ; -- Begin function v4l2_int_device_unregister
	.p2align	2
_v4l2_int_device_unregister:            ; @v4l2_int_device_unregister
	.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
Lloh0:
	adrp	x0, _mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mutex@GOTPAGEOFF]
	bl	_mutex_lock
	add	x0, x19, #16
	bl	_list_del
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _v4l2_int_type_slave@GOTPAGE
Lloh3:
	ldr	x9, [x9, _v4l2_int_type_slave@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_module_put
	ldr	x8, [x19, #8]
	str	xzr, [x8]
LBB0_3:
Lloh5:
	adrp	x0, _mutex@GOTPAGE
Lloh6:
	ldr	x0, [x0, _mutex@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_mutex,4,2                      ; @mutex
	.comm	_v4l2_int_type_slave,8,3        ; @v4l2_int_type_slave
.subsections_via_symbols
