	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_pipeline_link_notify      ## -- Begin function v4l2_pipeline_link_notify
	.p2align	4, 0x90
_v4l2_pipeline_link_notify:             ## @v4l2_pipeline_link_notify
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	16(%rdi), %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rdi
	movq	(%rax), %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	_pipeline_pm_use_count
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pipeline_pm_use_count
	movl	%eax, %esi
	movq	_MEDIA_DEV_NOTIFY_POST_LINK_CH@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_MEDIA_LNK_FL_ENABLED@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_2
LBB0_3:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	_MEDIA_DEV_NOTIFY_PRE_LINK_CH@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	%r14d, (%rax)
	jne	LBB0_9
## %bb.4:
	movq	_MEDIA_LNK_FL_ENABLED@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	movl	%esi, %r12d
	movq	%r15, %rdx
	callq	_pipeline_pm_power
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	callq	_pipeline_pm_power
	movl	%eax, %r13d
	testl	%eax, %eax
	movl	%r12d, %esi
	jns	LBB0_9
	jmp	LBB0_8
LBB0_2:
	negl	%esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_pipeline_pm_power
	movl	%r13d, %esi
	xorl	%r13d, %r13d
	movq	%rbx, %r14
LBB0_8:
	negl	%esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_pipeline_pm_power
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_DEV_NOTIFY_POST_LINK_CH,4,2 ## @MEDIA_DEV_NOTIFY_POST_LINK_CH
	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ## @MEDIA_LNK_FL_ENABLED
	.comm	_MEDIA_DEV_NOTIFY_PRE_LINK_CH,4,2 ## @MEDIA_DEV_NOTIFY_PRE_LINK_CH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_pipeline_link_notify      ; -- Begin function v4l2_pipeline_link_notify
	.p2align	2
_v4l2_pipeline_link_notify:             ; @v4l2_pipeline_link_notify
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x25, x2
	mov	x24, x1
	ldp	x8, x19, [x0, #8]
	ldr	x9, [x0]
	ldr	x20, [x8]
	ldr	x21, [x9]
	mov	x0, x20
	mov	x1, x19
	bl	_pipeline_pm_use_count
	mov	x23, x0
	mov	x0, x21
	mov	x1, x19
	bl	_pipeline_pm_use_count
	mov	x22, x0
Lloh0:
	adrp	x8, _MEDIA_DEV_NOTIFY_POST_LINK_CH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEDIA_DEV_NOTIFY_POST_LINK_CH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MEDIA_LNK_FL_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MEDIA_LNK_FL_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_7
LBB0_2:
Lloh6:
	adrp	x8, _MEDIA_DEV_NOTIFY_PRE_LINK_CH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MEDIA_DEV_NOTIFY_PRE_LINK_CH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ne	LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _MEDIA_LNK_FL_ENABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MEDIA_LNK_FL_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_pipeline_pm_power
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x19
	bl	_pipeline_pm_power
	mov	x24, x0
	tbz	w0, #31, LBB0_10
	b	LBB0_8
LBB0_6:
	mov	w24, #0
	b	LBB0_10
LBB0_7:
	neg	w1, w22
	mov	x0, x20
	mov	x2, x19
	bl	_pipeline_pm_power
	mov	w24, #0
	mov	x22, x23
	mov	x20, x21
LBB0_8:
	neg	w1, w22
	mov	x0, x20
	mov	x2, x19
	bl	_pipeline_pm_power
	b	LBB0_10
LBB0_9:
	mov	x24, x0
LBB0_10:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_DEV_NOTIFY_POST_LINK_CH,4,2 ; @MEDIA_DEV_NOTIFY_POST_LINK_CH
	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ; @MEDIA_LNK_FL_ENABLED
	.comm	_MEDIA_DEV_NOTIFY_PRE_LINK_CH,4,2 ; @MEDIA_DEV_NOTIFY_PRE_LINK_CH
.subsections_via_symbols
