	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_graph_component_topology  ## -- Begin function mmal_graph_component_topology
	.p2align	4, 0x90
_mmal_graph_component_topology:         ## @mmal_graph_component_topology
	.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
	movq	%r9, %r12
	movl	%r8d, %r13d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	16(%rbp), %r14d
	movl	%ecx, %edi
	callq	_MMAL_PARAM_UNUSED
	movl	%r13d, %edi
	callq	_MMAL_PARAM_UNUSED
	movl	%r12d, %edi
	callq	_MMAL_PARAM_UNUSED
	movl	%r14d, %edi
	callq	_MMAL_PARAM_UNUSED
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_LOG_TRACE
	movl	(%r15), %ecx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.6:
	movq	16(%r15), %rsi
	xorl	%eax, %eax
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rsi,%rax,8)
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_7
	jmp	LBB0_12
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_LOG_TRACE
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rdx
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	cmpl	%ecx, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.4:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rdx
	jmp	LBB0_12
LBB0_9:
	movq	_MMAL_GRAPH_TOPOLOGY_STRAIGHT@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jge	LBB0_11
## %bb.10:
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rdx
	jmp	LBB0_12
LBB0_11:
	movq	8(%r15), %rcx
	movl	%eax, %eax
	movq	%rdx, (%rcx,%rax,8)
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rdx
LBB0_12:
	movl	(%rdx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"graph: %p, component: %s(%p)"

	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMAL_GRAPH_TOPOLOGY_STRAIGHT,8,3 ## @MMAL_GRAPH_TOPOLOGY_STRAIGHT
	.comm	_MMAL_ENOSYS,4,2                ## @MMAL_ENOSYS
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_graph_component_topology  ; -- Begin function mmal_graph_component_topology
	.p2align	2
_mmal_graph_component_topology:         ; @mmal_graph_component_topology
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x3
	bl	_MMAL_PARAM_UNUSED
	mov	x0, x24
	bl	_MMAL_PARAM_UNUSED
	mov	x0, x23
	bl	_MMAL_PARAM_UNUSED
	mov	x0, x22
	bl	_MMAL_PARAM_UNUSED
	cbz	x21, LBB0_5
; %bb.1:
	ldr	w2, [x21]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x21
	bl	_LOG_TRACE
	ldr	w10, [x19]
	cbz	w10, LBB0_6
; %bb.2:
	mov	x8, #0
	ldr	x11, [x19, #16]
Lloh2:
	adrp	x9, _MMAL_EINVAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x8, lsl #3]
	cmp	x12, x21
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_3
	b	LBB0_9
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	bl	_LOG_TRACE
	b	LBB0_8
LBB0_6:
	mov	w8, #0
LBB0_7:
	cmp	w8, w10
	b.ne	LBB0_10
LBB0_8:
Lloh6:
	adrp	x9, _MMAL_EINVAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh8:
	adrp	x9, _MMAL_GRAPH_TOPOLOGY_STRAIGHT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MMAL_GRAPH_TOPOLOGY_STRAIGHT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x20
	b.ge	LBB0_12
; %bb.11:
Lloh11:
	adrp	x9, _MMAL_ENOSYS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MMAL_ENOSYS@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	ldr	x9, [x19, #8]
	str	x20, [x9, w8, uxtw #3]
Lloh13:
	adrp	x9, _MMAL_SUCCESS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"graph: %p, component: %s(%p)"

	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMAL_GRAPH_TOPOLOGY_STRAIGHT,8,3 ; @MMAL_GRAPH_TOPOLOGY_STRAIGHT
	.comm	_MMAL_ENOSYS,4,2                ; @MMAL_ENOSYS
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
.subsections_via_symbols
