	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_logging_init              ## -- Begin function vcos_logging_init
	.p2align	4, 0x90
_vcos_logging_init:                     ## @vcos_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_inited@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_lock@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_vcos_mutex_create
	xorl	%eax, %eax
	callq	_vcos_log_platform_init
	leaq	L_.str.1(%rip), %rdi
	movq	_dflt_log_category@GOTPCREL(%rip), %rsi
	callq	_vcos_log_register
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_vcos_assert
	movl	$1, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inited,4,2                     ## @inited
	.comm	_lock,4,2                       ## @lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vcos_log"

L_.str.1:                               ## @.str.1
	.asciz	"default"

	.comm	_dflt_log_category,4,2          ## @dflt_log_category
	.comm	_cmd_log,4,2                    ## @cmd_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_logging_init              ; -- Begin function vcos_logging_init
	.p2align	2
_vcos_logging_init:                     ; @vcos_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	x19, _inited@GOTPAGE
Lloh1:
	ldr	x19, [x19, _inited@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, _lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vcos_mutex_create
	bl	_vcos_log_platform_init
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh8:
	adrp	x1, _dflt_log_category@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dflt_log_category@GOTPAGEOFF]
	bl	_vcos_log_register
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_vcos_assert
	mov	w8, #1
	str	w8, [x19]
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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_inited,4,2                     ; @inited
	.comm	_lock,4,2                       ; @lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vcos_log"

l_.str.1:                               ; @.str.1
	.asciz	"default"

	.comm	_dflt_log_category,4,2          ; @dflt_log_category
	.comm	_cmd_log,4,2                    ; @cmd_log
.subsections_via_symbols
