	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_log_lock_event
_mmal_log_lock_event:                   ## @mmal_log_lock_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_mmal_dbg_lock@GOTPCREL(%rip), %rdi
	callq	_vcos_mutex_lock
	movq	_mmal_dbg_log@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 8(%rax)
	movq	(%rax), %r12
	movq	_MMAL_DBG_ENTRIES_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movslq	%ecx, %rbx
	leaq	(%r12,%rbx,8), %r15
	xorl	%eax, %eax
	callq	_vcos_getmicrosecs
	movl	%eax, 4(%r12,%rbx,8)
	movl	%r14d, (%r12,%rbx,8)
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmal_dbg_lock,4,2              ## @mmal_dbg_lock
	.comm	_mmal_dbg_log,8,3               ## @mmal_dbg_log
	.comm	_MMAL_DBG_ENTRIES_MASK,4,2      ## @MMAL_DBG_ENTRIES_MASK
	.no_dead_strip	_mmal_log_lock_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_log_lock_event
_mmal_log_lock_event:                   ; @mmal_log_lock_event
	.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, x0
Lloh0:
	adrp	x0, _mmal_dbg_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mmal_dbg_lock@GOTPAGEOFF]
	bl	_vcos_mutex_lock
Lloh2:
	adrp	x8, _mmal_dbg_log@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mmal_dbg_log@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w9, [x8, #8]
	add	w10, w9, #1
	str	w10, [x8, #8]
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _MMAL_DBG_ENTRIES_MASK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MMAL_DBG_ENTRIES_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	and	w9, w10, w9
	add	x20, x8, w9, sxtw #3
	bl	_vcos_getmicrosecs
	stp	w19, w0, [x20]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mmal_dbg_lock,4,2              ; @mmal_dbg_lock
	.comm	_mmal_dbg_log,8,3               ; @mmal_dbg_log
	.comm	_MMAL_DBG_ENTRIES_MASK,4,2      ; @MMAL_DBG_ENTRIES_MASK
	.no_dead_strip	_mmal_log_lock_event
.subsections_via_symbols
