	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_registry_component_supports_role ## -- Begin function mmalomx_registry_component_supports_role
	.p2align	4, 0x90
_mmalomx_registry_component_supports_role: ## @mmalomx_registry_component_supports_role
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_mmalomx_components@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_MMAL_COUNTOF
	testl	%r14d, %r14d
	js	LBB0_2
## %bb.1:
	cmpl	%r14d, %eax
	jg	LBB0_3
LBB0_2:
	movq	(%r15), %rdi
	callq	_MMAL_COUNTOF
	movl	%eax, %r14d
	decl	%r14d
LBB0_3:
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_MMALOMX_ROLE_UNDEFINED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rcx), %rsi
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rax
	cmpq	%rdx, %rsi
	je	LBB0_8
## %bb.4:
	movl	$1, %edi
	movq	_MMAL_TRUE@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%edi, %esi
	movq	(%rcx,%rsi,8), %rsi
	incl	%edi
	cmpq	%rdx, %rsi
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	%r8, %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmalomx_components,8,3         ## @mmalomx_components
	.comm	_MMALOMX_ROLE_UNDEFINED,8,3     ## @MMALOMX_ROLE_UNDEFINED
	.comm	_MMAL_TRUE,4,2                  ## @MMAL_TRUE
	.comm	_MMAL_FALSE,4,2                 ## @MMAL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_registry_component_supports_role ; -- Begin function mmalomx_registry_component_supports_role
	.p2align	2
_mmalomx_registry_component_supports_role: ; @mmalomx_registry_component_supports_role
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _mmalomx_components@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mmalomx_components@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_MMAL_COUNTOF
	tbnz	w20, #31, LBB0_2
; %bb.1:
	cmp	w0, w20
	b.gt	LBB0_3
LBB0_2:
	ldr	x0, [x21]
	bl	_MMAL_COUNTOF
	sub	w20, w0, #1
LBB0_3:
	ldr	x8, [x21]
	ldr	x8, [x8, w20, sxtw #3]
Lloh2:
	adrp	x9, _MMALOMX_ROLE_UNDEFINED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMALOMX_ROLE_UNDEFINED@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x9]
	ldr	x11, [x8]
	cmp	x11, x10
	b.ne	LBB0_5
; %bb.4:
Lloh5:
	adrp	x9, _MMAL_FALSE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMAL_FALSE@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	w13, #1
Lloh7:
	adrp	x12, _MMAL_TRUE@GOTPAGE
Lloh8:
	ldr	x12, [x12, _MMAL_TRUE@GOTPAGEOFF]
Lloh9:
	adrp	x9, _MMAL_FALSE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MMAL_FALSE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x19
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x11, [x8, w13, uxtw #3]
	add	w13, w13, #1
	cmp	x11, x10
	b.ne	LBB0_6
	b	LBB0_9
LBB0_8:
	mov	x9, x12
LBB0_9:
	ldr	w0, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mmalomx_components,8,3         ; @mmalomx_components
	.comm	_MMALOMX_ROLE_UNDEFINED,8,3     ; @MMALOMX_ROLE_UNDEFINED
	.comm	_MMAL_TRUE,4,2                  ; @MMAL_TRUE
	.comm	_MMAL_FALSE,4,2                 ; @MMAL_FALSE
.subsections_via_symbols
