	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_connection_bh_clock_cb
_mmal_connection_bh_clock_cb:           ## @mmal_connection_bh_clock_cb
	.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	%rsi, %r14
	movq	%rdi, %rdx
	movq	16(%rdi), %rax
	movq	(%rax), %rbx
	cmpq	%rdi, %rbx
	jne	LBB0_2
## %bb.1:
	movq	8(%rax), %rbx
LBB0_2:
	movl	8(%rdx), %esi
	movl	(%r14), %r9d
	movl	8(%r14), %r8d
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rcx
	callq	_LOG_TRACE
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmal_port_send_buffer
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_LOG_ERROR
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mmal_buffer_header_release     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%s)%p,%p,%p,%i"

L_.str.1:                               ## @.str.1
	.asciz	"error sending buffer to clock port (%i)"

	.no_dead_strip	_mmal_connection_bh_clock_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_connection_bh_clock_cb
_mmal_connection_bh_clock_cb:           ; @mmal_connection_bh_clock_cb
	.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, x1
	mov	x2, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
	cmp	x20, x0
	b.ne	LBB0_2
; %bb.1:
	ldr	x20, [x8, #8]
LBB0_2:
	ldr	w1, [x2, #8]
	ldr	w4, [x19, #8]
	ldr	w5, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x19
	bl	_LOG_TRACE
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_mmal_port_send_buffer
Lloh2:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmal_buffer_header_release
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%s)%p,%p,%p,%i"

l_.str.1:                               ; @.str.1
	.asciz	"error sending buffer to clock port (%i)"

	.no_dead_strip	_mmal_connection_bh_clock_cb
.subsections_via_symbols
