	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_port_connected_input_cb
_mmal_port_connected_input_cb:          ## @mmal_port_connected_input_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	12(%rsi), %ecx
	movl	8(%rsi), %r8d
	movq	(%rsi), %r9
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_LOG_TRACE
	movq	(%r14), %rax
	movq	_MMAL_PORT_TYPE_CLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmal_port_send_buffer          ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmal_buffer_header_release     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buffer %p from connected input port %p: data %p, alloc_size %u, length %u"

	.comm	_MMAL_PORT_TYPE_CLOCK,8,3       ## @MMAL_PORT_TYPE_CLOCK
	.no_dead_strip	_mmal_port_connected_input_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_port_connected_input_cb
_mmal_port_connected_input_cb:          ; @mmal_port_connected_input_cb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldp	w4, w3, [x1, #8]
	ldr	x5, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_LOG_TRACE
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MMAL_PORT_TYPE_CLOCK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMAL_PORT_TYPE_CLOCK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmal_port_send_buffer
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmal_buffer_header_release
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buffer %p from connected input port %p: data %p, alloc_size %u, length %u"

	.comm	_MMAL_PORT_TYPE_CLOCK,8,3       ; @MMAL_PORT_TYPE_CLOCK
	.no_dead_strip	_mmal_port_connected_input_cb
.subsections_via_symbols
