	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ceu_parse_platform_data
_ceu_parse_platform_data:               ## @ceu_parse_platform_data
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_ceu_init_async_subdevs
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	cmpl	$0, (%r15)
	je	LBB0_4
## %bb.6:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %r12d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	leaq	(%rbx,%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13), %rdi
	addq	$12, %rdi
	callq	_INIT_LIST_HEAD
	movl	(%r15,%r12), %eax
	movl	%eax, 16(%r13,%rbx)
	movq	_V4L2_ASYNC_MATCH_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13,%rbx)
	movl	-4(%r15,%r12), %eax
	movl	%eax, 4(%r13,%rbx)
	movl	-8(%r15,%r12), %eax
	movl	%eax, (%r13,%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_v4l2_async_notifier_add_subdev
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %r13d
	addq	$20, %rbx
	addq	$12, %r12
	cmpq	%r13, %r14
	jb	LBB0_7
	jmp	LBB0_9
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_8:
	movl	%eax, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_v4l2_async_notifier_cleanup
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_V4L2_ASYNC_MATCH_I2C,4,2       ## @V4L2_ASYNC_MATCH_I2C
	.no_dead_strip	_ceu_parse_platform_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ceu_parse_platform_data
_ceu_parse_platform_data:               ; @ceu_parse_platform_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	ldr	w1, [x1]
	cbz	w1, LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_ceu_init_async_subdevs
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w8, [x20]
	cbz	w8, LBB0_8
; %bb.3:
	mov	x22, #0
	mov	x23, #0
	mov	x24, #0
Lloh0:
	adrp	x25, _V4L2_ASYNC_MATCH_I2C@GOTPAGE
Lloh1:
	ldr	x25, [x25, _V4L2_ASYNC_MATCH_I2C@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x20, #8]
	ldr	x8, [x19, #8]
	add	x21, x8, x23
	add	x0, x21, #12
	bl	_INIT_LIST_HEAD
	add	x8, x26, x22
	ldr	w9, [x8, #8]
	str	w9, [x21, #16]
	ldr	w9, [x25]
	str	w9, [x21, #8]
	ldr	d0, [x8]
	str	d0, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_v4l2_async_notifier_add_subdev
	cbnz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldr	w21, [x20]
	add	x23, x23, #20
	add	x22, x22, #12
	cmp	x24, x21
	b.lo	LBB0_4
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w21, #0
	b	LBB0_7
LBB0_9:
	mov	x21, x0
	mov	x0, x19
	bl	_v4l2_async_notifier_cleanup
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_V4L2_ASYNC_MATCH_I2C,4,2       ; @V4L2_ASYNC_MATCH_I2C
	.no_dead_strip	_ceu_parse_platform_data
.subsections_via_symbols
