	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_vc_host_log               ## -- Begin function mmal_vc_host_log
	.p2align	4, 0x90
_mmal_vc_host_log:                      ## @mmal_vc_host_log
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	$4, -32(%rbp)
	movq	%rdi, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_vcos_safe_strcpy
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_mmal_vc_get_client
	movl	%eax, %r14d
	incq	%rbx
	movl	$4, %edi
	movq	%rbx, %rsi
	callq	_vcos_min
	leaq	4(%rax), %rdx
	movq	_MMAL_WORKER_HOST_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %r8
	leaq	-32(%rbp), %r9
	movl	%r14d, %edi
	callq	_mmal_vc_sendwait_message
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	$4, -32(%rbp)
	sete	%dil
	callq	_vcos_assert
	movl	-24(%rbp), %eax
	jmp	LBB0_4
LBB0_1:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMAL_WORKER_HOST_LOG,4,2       ## @MMAL_WORKER_HOST_LOG
	.comm	_MMAL_FALSE,4,2                 ## @MMAL_FALSE
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmal_vc_host_log               ; -- Begin function mmal_vc_host_log
	.p2align	2
_mmal_vc_host_log:                      ; @mmal_vc_host_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	cbz	x0, LBB0_3
; %bb.1:
	mov	w8, #4
	str	x8, [sp, #8]
	mov	x1, x0
	mov	w2, #4
	mov	w3, #0
	bl	_vcos_safe_strcpy
	mov	x19, x0
	bl	_mmal_vc_get_client
	mov	x20, x0
	add	x1, x19, #1
	mov	w0, #4
	bl	_vcos_min
	add	x2, x0, #4
Lloh0:
	adrp	x8, _MMAL_WORKER_HOST_LOG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_WORKER_HOST_LOG@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _MMAL_FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	add	x1, sp, #24
	add	x4, sp, #16
	add	x5, sp, #8
	mov	x0, x20
	bl	_mmal_vc_sendwait_message
Lloh6:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [sp, #8]
	cmp	x8, #4
	cset	w0, eq
	bl	_vcos_assert
	ldr	w0, [sp, #16]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMAL_WORKER_HOST_LOG,4,2       ; @MMAL_WORKER_HOST_LOG
	.comm	_MMAL_FALSE,4,2                 ; @MMAL_FALSE
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
.subsections_via_symbols
