	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cecservice_logging_init
_cecservice_logging_init:               ## @cecservice_logging_init
	.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	_cecservice_log_initialised@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_VCOS_LOG_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cechost_log_category@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_vcos_log_set_level
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_vcos_log_register
	leaq	L_.str.1(%rip), %rdi
	callq	_vc_cec_log_info
	movl	$1, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cecservice_log_initialised,4,2 ## @cecservice_log_initialised
	.comm	_cechost_log_category,4,2       ## @cechost_log_category
	.comm	_VCOS_LOG_WARN,4,2              ## @VCOS_LOG_WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cecservice-client"

L_.str.1:                               ## @.str.1
	.asciz	"CEC HOST: log initialised"

	.no_dead_strip	_cecservice_logging_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cecservice_logging_init
_cecservice_logging_init:               ; @cecservice_logging_init
	.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
Lloh0:
	adrp	x20, _cecservice_log_initialised@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cecservice_log_initialised@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _VCOS_LOG_WARN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VCOS_LOG_WARN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x19, _cechost_log_category@GOTPAGE
Lloh6:
	ldr	x19, [x19, _cechost_log_category@GOTPAGEOFF]
	mov	x0, x19
	bl	_vcos_log_set_level
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_vcos_log_register
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_vc_cec_log_info
	mov	w8, #1
	str	w8, [x20]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cecservice_log_initialised,4,2 ; @cecservice_log_initialised
	.comm	_cechost_log_category,4,2       ; @cechost_log_category
	.comm	_VCOS_LOG_WARN,4,2              ; @VCOS_LOG_WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cecservice-client"

l_.str.1:                               ; @.str.1
	.asciz	"CEC HOST: log initialised"

	.no_dead_strip	_cecservice_logging_init
.subsections_via_symbols
