	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scheduler_port_flush
_scheduler_port_flush:                  ## @scheduler_port_flush
	.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	%rdi, %r14
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rax), %rbx
	movq	(%rcx), %rax
	movl	(%rax), %edi
	callq	_mmal_port_clock_request_flush
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	callq	_mmal_queue_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_mmal_port_buffer_header_callback
	jmp	LBB0_2
LBB0_3:
	movq	_MMAL_TIME_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_TIME_UNKNOWN,4,2          ## @MMAL_TIME_UNKNOWN
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_scheduler_port_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scheduler_port_flush
_scheduler_port_flush:                  ; @scheduler_port_flush
	.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
	ldp	x8, x9, [x0]
	ldr	x20, [x8]
	ldr	x8, [x9]
	ldr	w0, [x8]
	bl	_mmal_port_clock_request_flush
	ldr	w0, [x20, #4]
	bl	_mmal_queue_get
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_mmal_port_buffer_header_callback
	ldr	w0, [x20, #4]
	bl	_mmal_queue_get
	mov	x1, x0
	cbnz	x0, LBB0_2
LBB0_3:
Lloh0:
	adrp	x8, _MMAL_TIME_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_TIME_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	str	w8, [x9]
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_TIME_UNKNOWN,4,2          ; @MMAL_TIME_UNKNOWN
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_scheduler_port_flush
.subsections_via_symbols
