	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coda_probe
_coda_probe:                            ## @coda_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_coda_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_ptr
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_of_match_device
	movq	%rax, %rbx
	movq	(%r13), %r15
	movq	8(%r13), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$152, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	movq	(%rbx), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	subl	(%rax), %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r13, %rdi
	callq	_platform_get_device_id
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	_coda_devdata@GOTPCREL(%rip), %rcx
	movq	(%rax), %rax
	leaq	(%rax,%rax,4), %rax
	shlq	$3, %rax
	addq	(%rcx), %rax
LBB0_9:
	movq	%rax, 64(%r14)
	leaq	144(%r14), %rdi
	callq	_spin_lock_init
	movq	%r13, 136(%r14)
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 128(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	128(%r14), %rdi
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_clk_get
	movq	%rax, 120(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	120(%r14), %rdi
	jmp	LBB0_16
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_14:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 112(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	112(%r14), %rdi
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_17:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_platform_get_irq_byname
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_19
## %bb.18:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_41
LBB0_19:
	movq	_coda_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_dev_name
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_22
## %bb.20:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get_optional_exclusive
	movq	%rax, 104(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	movq	104(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_23
LBB0_22:
	movl	%eax, %r12d
	leaq	L_.str.6(%rip), %rsi
LBB0_23:
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_25:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_gen_pool_get
	testq	%rax, %rax
	jne	LBB0_28
## %bb.26:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.27:
	movl	(%rcx), %edi
	xorl	%esi, %esi
	callq	_gen_pool_get
LBB0_28:
	testq	%rax, %rax
	je	LBB0_42
## %bb.29:
	movq	%rax, 56(%r14)
	xorl	%eax, %eax
	callq	_coda_get_vdoa_data
	movq	%rax, 96(%r14)
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r12d, %ecx
	addl	(%rax), %ecx
	je	LBB0_6
## %bb.30:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_v4l2_device_register
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.31:
	leaq	88(%r14), %rdi
	callq	_mutex_init
	leaq	84(%r14), %rdi
	callq	_mutex_init
	leaq	80(%r14), %rdi
	callq	_ida_init
	leaq	L_.str.10(%rip), %rdi
	xorl	%esi, %esi
	callq	_debugfs_create_dir
	movl	%eax, 48(%r14)
	testl	%eax, %eax
	jne	LBB0_33
## %bb.32:
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_warn
LBB0_33:
	movq	64(%r14), %rax
	movq	8(%rax), %rcx
	movq	_CODA_DX6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_36
## %bb.34:
	leaq	76(%r14), %rsi
	movq	32(%rax), %rdx
	movl	48(%r14), %r8d
	leaq	L_.str.12(%rip), %rcx
	movq	%r14, %rdi
	callq	_coda_alloc_aux_buf
	testl	%eax, %eax
	js	LBB0_49
## %bb.35:
	movq	64(%r14), %rax
LBB0_36:
	movq	24(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_39
## %bb.37:
	leaq	72(%r14), %rsi
	movl	48(%r14), %r8d
	leaq	L_.str.13(%rip), %rcx
	movq	%r14, %rdi
	callq	_coda_alloc_aux_buf
	testl	%eax, %eax
	js	LBB0_49
## %bb.38:
	movq	64(%r14), %rax
LBB0_39:
	movl	16(%rax), %esi
	movl	%esi, 28(%r14)
	movq	56(%r14), %rdi
	leaq	40(%r14), %rdx
	callq	_gen_pool_dma_alloc
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_43
## %bb.40:
	movq	%r14, %rbx
	addq	$8, %rbx
	movl	28(%r14), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	32(%r14), %rax
	movq	%rax, 16(%r14)
	movl	28(%r14), %eax
	movl	%eax, 8(%r14)
	movl	48(%r14), %edx
	leaq	L_.str.8(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	movq	%rbx, %rcx
	callq	_debugfs_create_blob
	movl	%eax, 24(%r14)
	jmp	LBB0_44
LBB0_41:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_42:
	leaq	L_.str.9(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_49:
	movl	%eax, %r12d
	jmp	LBB0_50
LBB0_43:
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_warn
LBB0_44:
	movq	_WQ_UNBOUND@GOTPCREL(%rip), %rax
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdi
	movl	$1, %edx
	callq	_alloc_workqueue
	movl	%eax, 4(%r14)
	testl	%eax, %eax
	je	LBB0_47
## %bb.45:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_pm_runtime_get_noresume
	movq	%r13, %rdi
	callq	_pm_runtime_set_active
	movq	%r13, %rdi
	callq	_pm_runtime_enable
	movq	%r14, %rdi
	callq	_coda_firmware_request
	testl	%eax, %eax
	je	LBB0_51
## %bb.46:
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	_destroy_workqueue
	jmp	LBB0_50
LBB0_47:
	leaq	L_.str.15(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_50:
	movq	%r14, %rdi
	callq	_v4l2_device_unregister
	jmp	LBB0_6
LBB0_51:
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_coda_dt_ids,4,2                ## @coda_dt_ids
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_coda_devdata,8,3               ## @coda_devdata
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"per"

L_.str.1:                               ## @.str.1
	.asciz	"Could not get per clock\n"

L_.str.2:                               ## @.str.2
	.asciz	"ahb"

L_.str.3:                               ## @.str.3
	.asciz	"Could not get ahb clock\n"

L_.str.4:                               ## @.str.4
	.asciz	"bit"

L_.str.5:                               ## @.str.5
	.asciz	"failed to get irq resource\n"

	.comm	_coda_irq_handler,4,2           ## @coda_irq_handler
L_.str.6:                               ## @.str.6
	.asciz	"failed to request irq: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed get reset control: %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"iram"

L_.str.9:                               ## @.str.9
	.asciz	"iram pool not available\n"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.10:                              ## @.str.10
	.asciz	"coda"

L_.str.11:                              ## @.str.11
	.asciz	"failed to create debugfs root\n"

	.comm	_CODA_DX6,8,3                   ## @CODA_DX6
L_.str.12:                              ## @.str.12
	.asciz	"workbuf"

L_.str.13:                              ## @.str.13
	.asciz	"tempbuf"

L_.str.14:                              ## @.str.14
	.asciz	"unable to alloc iram\n"

	.comm	_WQ_UNBOUND,4,2                 ## @WQ_UNBOUND
	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
L_.str.15:                              ## @.str.15
	.asciz	"unable to alloc workqueue\n"

	.no_dead_strip	_coda_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coda_probe
_coda_probe:                            ; @coda_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _coda_dt_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _coda_dt_ids@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_of_match_ptr
	mov	x1, x19
	bl	_of_match_device
	mov	x22, x0
	ldp	x21, x24, [x19]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #152
	bl	_devm_kzalloc
	cbz	x0, LBB0_38
; %bb.1:
	mov	x20, x0
	cbz	x22, LBB0_3
; %bb.2:
	ldr	x8, [x22]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_platform_get_device_id
	cbz	x0, LBB0_9
; %bb.4:
Lloh6:
	adrp	x8, _coda_devdata@GOTPAGE
Lloh7:
	ldr	x8, [x8, _coda_devdata@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x0]
	mov	w10, #40
	madd	x8, x9, x10, x8
LBB0_5:
	str	x8, [x20, #64]
	add	x0, x20, #144
	bl	_spin_lock_init
	str	x19, [x20, #136]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #128]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #128]
	b	LBB0_12
LBB0_7:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #120]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #120]
	b	LBB0_12
LBB0_9:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_39
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x20, #112]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x0, [x20, #112]
LBB0_12:
	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
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_13:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	mov	x22, x0
	tbz	w0, #31, LBB0_15
; %bb.14:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_35
LBB0_15:
Lloh21:
	adrp	x8, _coda_irq_handler@GOTPAGE
Lloh22:
	ldr	x8, [x8, _coda_irq_handler@GOTPAGEOFF]
Lloh23:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_18
; %bb.16:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_reset_control_get_optional_exclusive
	str	x0, [x20, #104]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.17:
	ldr	x0, [x20, #104]
	bl	_PTR_ERR
	mov	x22, x0
	str	x22, [sp]
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_40
LBB0_18:
	mov	x22, x0
	str	x22, [sp]
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_36
LBB0_19:
Lloh28:
	adrp	x1, l_.str.8@PAGE
Lloh29:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_of_gen_pool_get
	cbnz	x0, LBB0_22
; %bb.20:
	cbz	x24, LBB0_22
; %bb.21:
	ldr	w0, [x24]
	mov	x1, #0
	bl	_gen_pool_get
LBB0_22:
	cbz	x0, LBB0_37
; %bb.23:
	str	x0, [x20, #56]
	bl	_coda_get_vdoa_data
	str	x0, [x20, #96]
	bl	_PTR_ERR
	mov	x22, x0
Lloh30:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_40
; %bb.24:
	mov	x0, x19
	mov	x1, x20
	bl	_v4l2_device_register
	mov	x22, x0
	cbnz	w0, LBB0_40
; %bb.25:
	add	x0, x20, #88
	bl	_mutex_init
	add	x0, x20, #84
	bl	_mutex_init
	add	x0, x20, #80
	bl	_ida_init
Lloh33:
	adrp	x0, l_.str.10@PAGE
Lloh34:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, #0
	bl	_debugfs_create_dir
	str	w0, [x20, #48]
	cbnz	w0, LBB0_27
; %bb.26:
Lloh35:
	adrp	x1, l_.str.11@PAGE
Lloh36:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_27:
	ldr	x8, [x20, #64]
	ldr	x9, [x8, #8]
Lloh37:
	adrp	x10, _CODA_DX6@GOTPAGE
Lloh38:
	ldr	x10, [x10, _CODA_DX6@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_30
; %bb.28:
	add	x1, x20, #76
	ldr	x2, [x8, #32]
	ldr	w4, [x20, #48]
Lloh40:
	adrp	x3, l_.str.12@PAGE
Lloh41:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_coda_alloc_aux_buf
	tbnz	w0, #31, LBB0_41
; %bb.29:
	ldr	x8, [x20, #64]
LBB0_30:
	ldr	x2, [x8, #24]
	cbz	x2, LBB0_33
; %bb.31:
	add	x1, x20, #72
	ldr	w4, [x20, #48]
Lloh42:
	adrp	x3, l_.str.13@PAGE
Lloh43:
	add	x3, x3, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_coda_alloc_aux_buf
	tbnz	w0, #31, LBB0_41
; %bb.32:
	ldr	x8, [x20, #64]
LBB0_33:
	ldr	w1, [x8, #16]
	str	w1, [x20, #28]
	ldr	x0, [x20, #56]
	add	x2, x20, #40
	bl	_gen_pool_dma_alloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_42
; %bb.34:
	ldr	w2, [x20, #28]
	mov	w1, #0
	bl	_memset
	ldr	w8, [x20, #28]
	mov	x21, x20
	str	w8, [x21, #8]!
	ldr	x8, [x21, #24]
	str	x8, [x21, #8]
	ldr	w2, [x21, #40]
Lloh44:
	adrp	x0, l_.str.8@PAGE
Lloh45:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #420
	mov	x3, x21
	bl	_debugfs_create_blob
	str	w0, [x21, #16]
	b	LBB0_43
LBB0_35:
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_36:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_40
LBB0_37:
Lloh48:
	adrp	x1, l_.str.9@PAGE
Lloh49:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_38:
Lloh50:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_39:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_40:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
LBB0_41:
	mov	x22, x0
	b	LBB0_47
LBB0_42:
Lloh52:
	adrp	x1, l_.str.14@PAGE
Lloh53:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_43:
Lloh54:
	adrp	x8, _WQ_UNBOUND@GOTPAGE
Lloh55:
	ldr	x8, [x8, _WQ_UNBOUND@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _WQ_MEM_RECLAIM@GOTPAGE
Lloh58:
	ldr	x9, [x9, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh60:
	adrp	x0, l_.str.10@PAGE
Lloh61:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	w2, #1
	bl	_alloc_workqueue
	str	w0, [x20, #4]
	cbz	w0, LBB0_46
; %bb.44:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_get_noresume
	mov	x0, x19
	bl	_pm_runtime_set_active
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x20
	bl	_coda_firmware_request
	mov	x22, x0
	cbz	w0, LBB0_40
; %bb.45:
	ldr	w0, [x20, #4]
	bl	_destroy_workqueue
	b	LBB0_47
LBB0_46:
Lloh62:
	adrp	x1, l_.str.15@PAGE
Lloh63:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh64:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_47:
	mov	x0, x20
	bl	_v4l2_device_unregister
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_coda_dt_ids,4,2                ; @coda_dt_ids
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_coda_devdata,8,3               ; @coda_devdata
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"per"

l_.str.1:                               ; @.str.1
	.asciz	"Could not get per clock\n"

l_.str.2:                               ; @.str.2
	.asciz	"ahb"

l_.str.3:                               ; @.str.3
	.asciz	"Could not get ahb clock\n"

l_.str.4:                               ; @.str.4
	.asciz	"bit"

l_.str.5:                               ; @.str.5
	.asciz	"failed to get irq resource\n"

	.comm	_coda_irq_handler,4,2           ; @coda_irq_handler
l_.str.6:                               ; @.str.6
	.asciz	"failed to request irq: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed get reset control: %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"iram"

l_.str.9:                               ; @.str.9
	.asciz	"iram pool not available\n"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.10:                              ; @.str.10
	.asciz	"coda"

l_.str.11:                              ; @.str.11
	.asciz	"failed to create debugfs root\n"

	.comm	_CODA_DX6,8,3                   ; @CODA_DX6
l_.str.12:                              ; @.str.12
	.asciz	"workbuf"

l_.str.13:                              ; @.str.13
	.asciz	"tempbuf"

l_.str.14:                              ; @.str.14
	.asciz	"unable to alloc iram\n"

	.comm	_WQ_UNBOUND,4,2                 ; @WQ_UNBOUND
	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
l_.str.15:                              ; @.str.15
	.asciz	"unable to alloc workqueue\n"

	.no_dead_strip	_coda_probe
.subsections_via_symbols
