	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_port_get_core_stats
_mmal_port_get_core_stats:              ## @mmal_port_get_core_stats
	.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, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_vcos_mutex_lock
	movq	(%rbx), %rax
	movq	(%rax), %rax
	leaq	4(%rax), %rdi
	xorl	%ecx, %ecx
	cmpl	$128, (%r15)
	leaq	8(%rax), %rdx
	sete	%cl
	cmoveq	%rdx, %rdi
	movl	4(%rax,%rcx,4), %eax
	movl	%eax, 16(%r15)
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_2:
	movq	%r14, %rdi
	callq	_vcos_mutex_unlock
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_mmal_port_get_core_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_port_get_core_stats
_mmal_port_get_core_stats:              ; @mmal_port_get_core_stats
	.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	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_vcos_mutex_lock
	ldr	w8, [x20]
	ldr	x9, [x21]
	ldr	x9, [x9]
	add	x10, x9, #4
	add	x11, x9, #8
	cmp	w8, #128
	mov	w8, #4
	mov	w12, #8
	csel	x8, x12, x8, eq
	csel	x0, x11, x10, eq
	ldr	w8, [x9, x8]
	str	w8, [x20, #16]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_2:
	mov	x0, x19
	bl	_vcos_mutex_unlock
Lloh0:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_mmal_port_get_core_stats
.subsections_via_symbols
