	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vimc_get_source_entity
_vimc_get_source_entity:                ## @vimc_get_source_entity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movq	8(%rdi), %rdi
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, (%rdi)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rdi
	decq	%rcx
	jne	LBB0_2
## %bb.4:
	popq	%rbp
	retq
LBB0_6:
	callq	_media_entity_remote_pad
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.no_dead_strip	_vimc_get_source_entity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vimc_get_source_entity
_vimc_get_source_entity:                ; @vimc_get_source_entity
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x9, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0]
	tst	w9, w10
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #4
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_media_entity_remote_pad
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x0]
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.no_dead_strip	_vimc_get_source_entity
.subsections_via_symbols
