	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_port_connection_start
_mmal_port_connection_start:            ## @mmal_port_connection_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_MMAL_PORT_TYPE_OUTPUT@GOTPCREL(%rip), %rdi
	movq	(%rax), %rdx
	movq	8(%rax), %r8
	cmpq	(%rdi), %rdx
	movq	%rsi, %rdi
	cmoveq	%rax, %rdi
	movq	(%rsi), %rdx
	movq	_MMAL_PORT_TYPE_INPUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	cmoveq	%rsi, %rax
	movq	(%r8), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	8(%rsi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
LBB0_2:
	movq	(%rdi), %rcx
	movq	_MMAL_PORT_TYPE_CLOCK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_5
## %bb.3:
	cmpq	%rcx, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	%rax, %rsi
	popq	%rbp
	jmp	_mmal_port_populate_clock_ports ## TAILCALL
LBB0_5:
	movq	%rdx, %rsi
	popq	%rbp
	jmp	_mmal_port_populate_from_pool   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PORT_TYPE_OUTPUT,8,3      ## @MMAL_PORT_TYPE_OUTPUT
	.comm	_MMAL_PORT_TYPE_INPUT,8,3       ## @MMAL_PORT_TYPE_INPUT
	.comm	_MMAL_PORT_TYPE_CLOCK,8,3       ## @MMAL_PORT_TYPE_CLOCK
	.no_dead_strip	_mmal_port_connection_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_port_connection_start
_mmal_port_connection_start:            ; @mmal_port_connection_start
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	mov	x9, x0
Lloh0:
	adrp	x10, _MMAL_PORT_TYPE_OUTPUT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MMAL_PORT_TYPE_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldp	x11, x12, [x0]
	cmp	x11, x10
	csel	x0, x0, x1, eq
Lloh3:
	adrp	x10, _MMAL_PORT_TYPE_INPUT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MMAL_PORT_TYPE_INPUT@GOTPAGEOFF]
	ldr	x11, [x1]
Lloh5:
	ldr	x10, [x10]
	cmp	x11, x10
	csel	x1, x1, x9, eq
	ldr	x9, [x12]
	ldr	x2, [x9]
	cbnz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x2, [x8]
LBB0_2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _MMAL_PORT_TYPE_CLOCK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMAL_PORT_TYPE_CLOCK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x1]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	b	_mmal_port_populate_clock_ports
LBB0_5:
	mov	x1, x2
	b	_mmal_port_populate_from_pool
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PORT_TYPE_OUTPUT,8,3      ; @MMAL_PORT_TYPE_OUTPUT
	.comm	_MMAL_PORT_TYPE_INPUT,8,3       ; @MMAL_PORT_TYPE_INPUT
	.comm	_MMAL_PORT_TYPE_CLOCK,8,3       ; @MMAL_PORT_TYPE_CLOCK
	.no_dead_strip	_mmal_port_connection_start
.subsections_via_symbols
