	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_event_format_changed_get  ## -- Begin function mmal_event_format_changed_get
	.p2align	4, 0x90
_mmal_event_format_changed_get:         ## @mmal_event_format_changed_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rax
	movq	_MMAL_EVENT_FORMAT_CHANGED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movl	8(%rdi), %ecx
	cmpl	$36, %ecx
	jge	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	16(%rdi), %rax
	leaq	8(%rax), %rdx
	movq	%rdx, (%rax)
	leaq	32(%rax), %rdx
	movq	%rdx, 16(%rax)
	leaq	36(%rax), %rdx
	movq	%rdx, 24(%rax)
	addl	$-36, %ecx
	movl	%ecx, 8(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_EVENT_FORMAT_CHANGED,8,3  ## @MMAL_EVENT_FORMAT_CHANGED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_event_format_changed_get  ; -- Begin function mmal_event_format_changed_get
	.p2align	2
_mmal_event_format_changed_get:         ; @mmal_event_format_changed_get
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MMAL_EVENT_FORMAT_CHANGED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMAL_EVENT_FORMAT_CHANGED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x0, #8]
	subs	w8, w8, #36
	b.ge	LBB0_4
LBB0_3:
	mov	x0, #0
	ret
LBB0_4:
	ldr	x0, [x0, #16]
	mov	x9, x0
	str	w8, [x9, #8]!
	str	x9, [x0]
	add	x8, x0, #32
	add	x9, x0, #36
	stp	x8, x9, [x0, #16]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_EVENT_FORMAT_CHANGED,8,3  ; @MMAL_EVENT_FORMAT_CHANGED
.subsections_via_symbols
