	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_probe
_delta_probe:                           ## @delta_probe
	.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	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, 16(%rax)
	movq	%rbx, 56(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	addq	$48, %rdi
	callq	_mutex_init
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	$0, 40(%r14)
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	$0, 32(%r14)
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	$0, 24(%r14)
LBB0_8:
	movq	_DELTA_HW_AUTOSUSPEND_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%rbx, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%rbx, %rdi
	callq	_pm_runtime_set_suspended
	movq	%rbx, %rdi
	callq	_pm_runtime_enable
	movq	%r14, %rdi
	callq	_delta_ipc_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r15d
	movq	16(%r14), %rdi
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_18
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_18
LBB0_10:
	movq	%r14, %rdi
	callq	_register_decoders
	movq	%r14, %rdi
	callq	_register_formats
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_v4l2_device_register
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r15d
	movq	16(%r14), %rdi
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_18
LBB0_12:
	movq	_DELTA_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_create_workqueue
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	%r14, %rdi
	callq	_delta_register_device
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movl	%eax, %r15d
	movl	4(%r14), %edi
	callq	_destroy_workqueue
	jmp	LBB0_17
LBB0_13:
	movq	16(%r14), %rdi
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_17:
	movq	%r14, %rdi
	callq	_v4l2_device_unregister
	jmp	LBB0_18
LBB0_15:
	movq	_DELTA_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r14), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	xorl	%r15d, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delta"

L_.str.1:                               ## @.str.1
	.asciz	"%s can't get delta clock\n"

	.comm	_DELTA_PREFIX,4,2               ## @DELTA_PREFIX
L_.str.2:                               ## @.str.2
	.asciz	"delta-st231"

L_.str.3:                               ## @.str.3
	.asciz	"%s can't get delta-st231 clock\n"

L_.str.4:                               ## @.str.4
	.asciz	"delta-flash-promip"

L_.str.5:                               ## @.str.5
	.asciz	"%s can't get delta-flash-promip clock\n"

	.comm	_DELTA_HW_AUTOSUSPEND_DELAY_MS,4,2 ## @DELTA_HW_AUTOSUSPEND_DELAY_MS
L_.str.6:                               ## @.str.6
	.asciz	"%s failed to initialize firmware ipc channel\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s failed to register V4L2 device\n"

	.comm	_DELTA_NAME,4,2                 ## @DELTA_NAME
L_.str.8:                               ## @.str.8
	.asciz	"%s failed to allocate work queue\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s %s registered as /dev/video%d\n"

	.no_dead_strip	_delta_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_probe
_delta_probe:                           ; @delta_probe
	.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, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #16]
	str	x20, [x0, #56]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	add	x0, x19, #48
	bl	_mutex_init
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #40]
	bl	_IS_ERR
Lloh5:
	adrp	x22, _DELTA_PREFIX@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DELTA_PREFIX@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w2, [x22]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	xzr, [x19, #40]
LBB0_3:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w2, [x22]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	xzr, [x19, #32]
LBB0_5:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w2, [x22]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	xzr, [x19, #24]
LBB0_7:
Lloh17:
	adrp	x8, _DELTA_HW_AUTOSUSPEND_DELAY_MS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DELTA_HW_AUTOSUSPEND_DELAY_MS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x20
	bl	_pm_runtime_use_autosuspend
	mov	x0, x20
	bl	_pm_runtime_set_suspended
	mov	x0, x20
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_delta_ipc_init
	cbz	w0, LBB0_10
; %bb.8:
	mov	x21, x0
	ldr	x0, [x19, #16]
	ldr	w2, [x22]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
	b	LBB0_18
LBB0_9:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_18
LBB0_10:
	mov	x0, x19
	bl	_register_decoders
	mov	x0, x19
	bl	_register_formats
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_device_register
	cbz	w0, LBB0_12
; %bb.11:
	mov	x21, x0
	ldr	x0, [x19, #16]
	ldr	w2, [x22]
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_err
	b	LBB0_18
LBB0_12:
Lloh27:
	adrp	x8, _DELTA_NAME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DELTA_NAME@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_create_workqueue
	str	w0, [x19, #4]
	cbz	w0, LBB0_15
; %bb.13:
	mov	x0, x19
	bl	_delta_register_device
	mov	x21, x0
	cbz	w0, LBB0_17
; %bb.14:
	ldr	w0, [x19, #4]
	bl	_destroy_workqueue
	b	LBB0_16
LBB0_15:
	ldr	x0, [x19, #16]
	ldr	w2, [x22]
Lloh30:
	adrp	x1, l_.str.8@PAGE
Lloh31:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_err
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_16:
	mov	x0, x19
	bl	_v4l2_device_unregister
	b	LBB0_18
LBB0_17:
	ldr	w2, [x22]
	ldr	x8, [x19, #8]
	ldp	w4, w3, [x8]
Lloh35:
	adrp	x1, l_.str.9@PAGE
Lloh36:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_info
LBB0_18:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delta"

l_.str.1:                               ; @.str.1
	.asciz	"%s can't get delta clock\n"

	.comm	_DELTA_PREFIX,4,2               ; @DELTA_PREFIX
l_.str.2:                               ; @.str.2
	.asciz	"delta-st231"

l_.str.3:                               ; @.str.3
	.asciz	"%s can't get delta-st231 clock\n"

l_.str.4:                               ; @.str.4
	.asciz	"delta-flash-promip"

l_.str.5:                               ; @.str.5
	.asciz	"%s can't get delta-flash-promip clock\n"

	.comm	_DELTA_HW_AUTOSUSPEND_DELAY_MS,4,2 ; @DELTA_HW_AUTOSUSPEND_DELAY_MS
l_.str.6:                               ; @.str.6
	.asciz	"%s failed to initialize firmware ipc channel\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s failed to register V4L2 device\n"

	.comm	_DELTA_NAME,4,2                 ; @DELTA_NAME
l_.str.8:                               ; @.str.8
	.asciz	"%s failed to allocate work queue\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s %s registered as /dev/video%d\n"

	.no_dead_strip	_delta_probe
.subsections_via_symbols
