	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_camss_delete                   ## -- Begin function camss_delete
	.p2align	4, 0x90
_camss_delete:                          ## @camss_delete
	.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, %rbx
	addq	$24, %rdi
	callq	_v4l2_device_unregister
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_media_device_unregister
	movq	%r14, %rdi
	callq	_media_device_cleanup
	movl	16(%rbx), %edi
	callq	_pm_runtime_disable
	movq	(%rbx), %rax
	movq	_CAMSS_8x96@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	_PM_DOMAIN_VFE0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1, %esi
	callq	_dev_pm_domain_detach
	movq	8(%rbx), %rax
	movq	_PM_DOMAIN_VFE1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1, %esi
	callq	_dev_pm_domain_detach
LBB0_2:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAMSS_8x96,8,3                 ## @CAMSS_8x96
	.comm	_PM_DOMAIN_VFE0,8,3             ## @PM_DOMAIN_VFE0
	.comm	_PM_DOMAIN_VFE1,8,3             ## @PM_DOMAIN_VFE1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_camss_delete                   ; -- Begin function camss_delete
	.p2align	2
_camss_delete:                          ; @camss_delete
	.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
	add	x0, x0, #24
	bl	_v4l2_device_unregister
	add	x20, x19, #20
	mov	x0, x20
	bl	_media_device_unregister
	mov	x0, x20
	bl	_media_device_cleanup
	ldr	w0, [x19, #16]
	bl	_pm_runtime_disable
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CAMSS_8x96@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CAMSS_8x96@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _PM_DOMAIN_VFE0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PM_DOMAIN_VFE0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	mov	w1, #1
	bl	_dev_pm_domain_detach
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _PM_DOMAIN_VFE1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PM_DOMAIN_VFE1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	mov	w1, #1
	bl	_dev_pm_domain_detach
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CAMSS_8x96,8,3                 ; @CAMSS_8x96
	.comm	_PM_DOMAIN_VFE0,8,3             ; @PM_DOMAIN_VFE0
	.comm	_PM_DOMAIN_VFE1,8,3             ; @PM_DOMAIN_VFE1
.subsections_via_symbols
