	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcmi_graph_notify_complete
_dcmi_graph_notify_complete:            ## @dcmi_graph_notify_complete
	.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
	callq	_notifier_to_dcmi
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_dcmi_find_source
	movl	%eax, %edi
	callq	_media_entity_to_v4l2_subdev
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_dcmi_formats_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_11
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_12
LBB0_4:
	movq	%rbx, %rdi
	callq	_dcmi_framesizes_init
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_6:
	movq	%rbx, %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_dcmi_get_sensor_bounds
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_dcmi_set_default_fmt
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_11:
	callq	_dev_err
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Source subdevice not found\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"No supported mediabus format found\n"

L_.str.2:                               ## @.str.2
	.asciz	"Could not initialize framesizes\n"

L_.str.3:                               ## @.str.3
	.asciz	"Could not get sensor bounds\n"

L_.str.4:                               ## @.str.4
	.asciz	"Could not set default format\n"

	.no_dead_strip	_dcmi_graph_notify_complete
.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_complete
_dcmi_graph_notify_complete:            ; @dcmi_graph_notify_complete
	.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
	bl	_notifier_to_dcmi
	mov	x19, x0
	bl	_dcmi_find_source
	bl	_media_entity_to_v4l2_subdev
	str	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x0]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	mov	x0, x19
	bl	_dcmi_formats_init
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_3:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_11
LBB0_4:
	mov	x0, x19
	bl	_dcmi_framesizes_init
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w0, [x19]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_6:
	add	x1, x19, #4
	mov	x0, x19
	bl	_dcmi_get_sensor_bounds
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_dcmi_set_default_fmt
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	bl	_dev_err
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Source subdevice not found\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"No supported mediabus format found\n"

l_.str.2:                               ; @.str.2
	.asciz	"Could not initialize framesizes\n"

l_.str.3:                               ; @.str.3
	.asciz	"Could not get sensor bounds\n"

l_.str.4:                               ; @.str.4
	.asciz	"Could not set default format\n"

	.no_dead_strip	_dcmi_graph_notify_complete
.subsections_via_symbols
