	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_port_populate_clock_ports
_mmal_port_populate_clock_ports:        ## @mmal_port_populate_clock_ports
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r12
	movq	8(%rsi), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%rdi), %esi
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_LOG_TRACE
	movl	(%r15), %edi
	callq	_mmal_queue_get
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mmal_port_send_buffer
	movq	%rax, %r13
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %edi
	callq	_mmal_queue_get
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_mmal_port_send_buffer
	movq	%rax, %r13
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %edi
	callq	_mmal_queue_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_10
LBB0_2:
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_10:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_ERROR
	movq	%rbx, %rdi
	callq	_mmal_buffer_header_release
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"output %s %p, input %s %p, pool: %p"

L_.str.1:                               ## @.str.1
	.asciz	"failed to send buffer to clock port %s"

	.no_dead_strip	_mmal_port_populate_clock_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_port_populate_clock_ports
_mmal_port_populate_clock_ports:        ; @mmal_port_populate_clock_ports
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x22, x1
	ldr	x8, [x1, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x21, x2
	mov	x20, x0
Lloh0:
	adrp	x24, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x19, [x24]
	ldr	w1, [x0]
	ldr	w3, [x22]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	mov	x4, x22
	mov	x5, x21
	bl	_LOG_TRACE
	ldr	w0, [x21]
	bl	_mmal_queue_get
	cbz	x0, LBB0_9
; %bb.3:
	mov	x23, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_mmal_port_send_buffer
	mov	x19, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_mmal_queue_get
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_mmal_port_send_buffer
	mov	x19, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_mmal_queue_get
	mov	x23, x0
	cbnz	x0, LBB0_4
	b	LBB0_9
LBB0_8:
Lloh4:
	adrp	x8, _MMAL_ENOSYS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMAL_ENOSYS@GOTPAGEOFF]
Lloh6:
	ldr	x19, [x8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w1, [x20]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
	mov	x0, x23
	bl	_mmal_buffer_header_release
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"output %s %p, input %s %p, pool: %p"

l_.str.1:                               ; @.str.1
	.asciz	"failed to send buffer to clock port %s"

	.no_dead_strip	_mmal_port_populate_clock_ports
.subsections_via_symbols
