	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_entity_init_cfg           ## -- Begin function vsp1_entity_init_cfg
	.p2align	4, 0x90
_vsp1_entity_init_cfg:                  ## @vsp1_entity_init_cfg
	.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
	cmpl	$1, (%rdi)
	jne	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r12
	movq	_set_fmt@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_v4l2_subdev_call
	incl	%ebx
	movl	(%r15), %eax
	decl	%eax
	cmpl	%eax, %ebx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%ebx, -48(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rax
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_TRY,4,2     ## @V4L2_SUBDEV_FORMAT_TRY
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_set_fmt,4,2                    ## @set_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_entity_init_cfg           ; -- Begin function vsp1_entity_init_cfg
	.p2align	2
_vsp1_entity_init_cfg:                  ; @vsp1_entity_init_cfg
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
Lloh0:
	adrp	x22, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGEOFF]
Lloh2:
	adrp	x23, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _set_fmt@GOTPAGE
Lloh5:
	ldr	x24, [x24, _set_fmt@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	w21, [sp, #8]
	cmp	x19, #0
	csel	x8, x23, x22, eq
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w2, [x24]
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_v4l2_subdev_call
	add	w21, w21, #1
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w21, w8
	b.lo	LBB0_2
LBB0_3:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_TRY,4,2     ; @V4L2_SUBDEV_FORMAT_TRY
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_set_fmt,4,2                    ; @set_fmt
.subsections_via_symbols
