	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcmi_graph_notify_bound
_dcmi_graph_notify_bound:               ## @dcmi_graph_notify_bound
	.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	%rsi, %rbx
	callq	_notifier_to_dcmi
	movq	%rax, %r14
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	leaq	4(%rbx), %r15
	movl	8(%rbx), %esi
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_media_entity_get_fwnode_pad
	movq	8(%r14), %rdx
	movq	_MEDIA_LNK_FL_IMMUTABLE@GOTPCREL(%rip), %rcx
	movq	_MEDIA_LNK_FL_ENABLED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_media_create_pad_link
	movl	%eax, %r15d
	movl	(%r14), %edi
	movl	(%rbx), %edx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Subdev \"%s\" bound\n"

	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_LNK_FL_IMMUTABLE,4,2     ## @MEDIA_LNK_FL_IMMUTABLE
	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ## @MEDIA_LNK_FL_ENABLED
L_.str.1:                               ## @.str.1
	.asciz	"Failed to create media pad link with subdev \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"DCMI is now linked to \"%s\"\n"

	.no_dead_strip	_dcmi_graph_notify_bound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcmi_graph_notify_bound
_dcmi_graph_notify_bound:               ; @dcmi_graph_notify_bound
	.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	x20, x1
	bl	_notifier_to_dcmi
	mov	x21, x0
	ldr	w0, [x0]
	ldr	w2, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	add	x19, x20, #4
	ldr	w1, [x20, #8]
Lloh2:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_media_entity_get_fwnode_pad
	mov	x1, x0
Lloh5:
	adrp	x8, _MEDIA_LNK_FL_IMMUTABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEDIA_LNK_FL_IMMUTABLE@GOTPAGEOFF]
	ldr	x2, [x21, #8]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MEDIA_LNK_FL_ENABLED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MEDIA_LNK_FL_ENABLED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	mov	w3, #0
	bl	_media_create_pad_link
	mov	x19, x0
	ldr	w0, [x21]
	ldr	w2, [x20]
	cbz	w19, LBB0_2
; %bb.1:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
LBB0_3:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Subdev \"%s\" bound\n"

	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_LNK_FL_IMMUTABLE,4,2     ; @MEDIA_LNK_FL_IMMUTABLE
	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ; @MEDIA_LNK_FL_ENABLED
l_.str.1:                               ; @.str.1
	.asciz	"Failed to create media pad link with subdev \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"DCMI is now linked to \"%s\"\n"

	.no_dead_strip	_dcmi_graph_notify_bound
.subsections_via_symbols
