	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcmi_framesizes_init
_dcmi_framesizes_init:                  ## @dcmi_framesizes_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r15
	movq	$0, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_pad@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_enum_frame_size@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r8
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	-64(%rbp)
	movl	(%r13), %esi
	movl	(%r14), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	-64(%rbp), %r12d
	testl	%r12d, %r12d
	movq	%r14, %r13
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_11
## %bb.4:
	movl	%r12d, (%r14)
	movl	4(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r14)
	movl	4(%r14), %edi
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$0, (%r14)
	je	LBB0_11
## %bb.7:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, -64(%rbp)
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	leaq	-64(%rbp), %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-64(%rbp), %eax
	movl	-56(%rbp), %edx
	movq	8(%r14), %rsi
	movl	%edx, 4(%rsi,%rax,8)
	movl	-60(%rbp), %ecx
	movl	%ecx, (%rsi,%rax,8)
	movl	4(%r14), %edi
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	incl	%r12d
	cmpl	(%r14), %r12d
	jb	LBB0_8
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ## @pad
	.comm	_enum_frame_size,4,2            ## @enum_frame_size
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not allocate memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Sensor supports %u frame sizes:\n"

L_.str.2:                               ## @.str.2
	.asciz	"%ux%u\n"

	.no_dead_strip	_dcmi_framesizes_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcmi_framesizes_init
_dcmi_framesizes_init:                  ; @dcmi_framesizes_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp, #8]
	str	wzr, [sp, #16]
	ldp	x8, x20, [x0, #16]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #20]
Lloh3:
	adrp	x22, _pad@GOTPAGE
Lloh4:
	ldr	x22, [x22, _pad@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x23, _enum_frame_size@GOTPAGE
Lloh6:
	ldr	x23, [x23, _enum_frame_size@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23]
	add	x4, sp, #8
	mov	x0, x20
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbnz	w0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #8]
	add	w8, w8, #1
	str	w8, [sp, #8]
	ldr	w1, [x22]
	b	LBB0_1
LBB0_3:
	ldr	w21, [sp, #8]
	cbz	w21, LBB0_9
; %bb.4:
	str	w21, [x19]
	ldr	w0, [x19, #4]
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x1, x21
	mov	w2, #4
	bl	_devm_kcalloc
	mov	x8, x0
	str	x0, [x19, #8]
	ldr	w0, [x19, #4]
	cbz	x8, LBB0_10
; %bb.5:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_dev_dbg
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.6:
	mov	w24, #0
Lloh12:
	adrp	x21, l_.str.2@PAGE
Lloh13:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w24, [sp, #8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	add	x4, sp, #8
	mov	x0, x20
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [sp, #16]
	ldr	w9, [sp, #8]
	add	x8, x8, x9, lsl #3
	str	w2, [x8, #4]
	ldr	w9, [sp, #12]
	str	w9, [x8]
	ldr	w0, [x19, #4]
	str	x9, [sp]
	mov	x1, x21
	bl	_dev_dbg
	add	w24, w24, #1
	ldr	w8, [x19]
	cmp	w24, w8
	b.lo	LBB0_7
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ; @pad
	.comm	_enum_frame_size,4,2            ; @enum_frame_size
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not allocate memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Sensor supports %u frame sizes:\n"

l_.str.2:                               ; @.str.2
	.asciz	"%ux%u\n"

	.no_dead_strip	_dcmi_framesizes_init
.subsections_via_symbols
