	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isi_graph_notify_complete
_isi_graph_notify_complete:             ## @isi_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_notifier_to_isi
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rbx, %rdi
	callq	_isi_formats_init
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_2:
	movq	%rbx, %rdi
	callq	_isi_camera_set_bus_param
	movq	%rbx, %rdi
	callq	_isi_set_default_fmt
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_7
LBB0_4:
	movq	(%rbx), %rdi
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_video_register_device
	movl	8(%rbx), %r15d
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	callq	_dev_err
	jmp	LBB0_7
LBB0_6:
	movq	(%rbx), %rdi
	callq	_video_device_node_name
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_dev_dbg
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %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	"No supported mediabus format found\n"

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

	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register video device\n"

L_.str.3:                               ## @.str.3
	.asciz	"Device registered as %s\n"

	.no_dead_strip	_isi_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 isi_graph_notify_complete
_isi_graph_notify_complete:             ; @isi_graph_notify_complete
	.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
	bl	_notifier_to_isi
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	ldr	x9, [x0]
	str	w8, [x9]
	bl	_isi_formats_init
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_isi_camera_set_bus_param
	mov	x0, x19
	bl	_isi_set_default_fmt
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_4:
	ldr	x0, [x19]
Lloh4:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_video_register_device
	mov	x20, x0
	ldr	w21, [x19, #8]
	cbz	w0, LBB0_6
; %bb.5:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19]
	bl	_video_device_node_name
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
LBB0_7:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No supported mediabus format found\n"

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

	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register video device\n"

l_.str.3:                               ; @.str.3
	.asciz	"Device registered as %s\n"

	.no_dead_strip	_isi_graph_notify_complete
.subsections_via_symbols
