	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_pipeline_pm_use           ## -- Begin function v4l2_pipeline_pm_use
	.p2align	4, 0x90
_v4l2_pipeline_pm_use:                  ## @v4l2_pipeline_pm_use
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	cmpl	$1, %esi
	movl	$0, %ebx
	sbbl	%ebx, %ebx
	cmpl	$1, %esi
	movq	8(%rdi), %r14
	sbbq	%r12, %r12
	orl	$1, %ebx
	movq	%r14, %rdi
	callq	_mutex_lock
	orq	$1, %r12
	movq	(%r15), %rdi
	addq	%r12, %rdi
	movq	%rdi, (%r15)
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_WARN_ON
	leaq	4(%r14), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_pipeline_pm_power
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	subq	%r12, (%r15)
LBB0_2:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_pipeline_pm_use           ; -- Begin function v4l2_pipeline_pm_use
	.p2align	2
_v4l2_pipeline_pm_use:                  ; @v4l2_pipeline_pm_use
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_mutex_lock
	cmp	w21, #0
	mov	w8, #-1
	cneg	w21, w8, ne
	mov	x8, #-1
	cneg	x22, x8, ne
	ldr	x8, [x20]
	add	x8, x8, x22
	str	x8, [x20]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_WARN_ON
	add	x2, x19, #4
	mov	x0, x20
	mov	x1, x21
	bl	_pipeline_pm_power
	mov	x21, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	sub	x8, x8, x22
	str	x8, [x20]
LBB0_2:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x21
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
