	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_string_to_log_level       ## -- Begin function vcos_string_to_log_level
	.p2align	4, 0x90
_vcos_string_to_log_level:              ## @vcos_string_to_log_level
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movq	_VCOS_LOG_WARN@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_VCOS_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_1:
	movq	_VCOS_LOG_ERROR@GOTPCREL(%rip), %r15
	jmp	LBB0_11
LBB0_3:
	movq	_VCOS_LOG_NEVER@GOTPCREL(%rip), %r15
LBB0_11:
	movl	(%r15), %eax
	movl	%eax, (%r14)
	movq	_VCOS_SUCCESS@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_VCOS_LOG_INFO@GOTPCREL(%rip), %r15
	jmp	LBB0_11
LBB0_10:
	movq	_VCOS_LOG_TRACE@GOTPCREL(%rip), %r15
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error"

	.comm	_VCOS_LOG_ERROR,4,2             ## @VCOS_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"never"

	.comm	_VCOS_LOG_NEVER,4,2             ## @VCOS_LOG_NEVER
L_.str.2:                               ## @.str.2
	.asciz	"warn"

	.comm	_VCOS_LOG_WARN,4,2              ## @VCOS_LOG_WARN
L_.str.3:                               ## @.str.3
	.asciz	"warning"

L_.str.4:                               ## @.str.4
	.asciz	"info"

	.comm	_VCOS_LOG_INFO,4,2              ## @VCOS_LOG_INFO
L_.str.5:                               ## @.str.5
	.asciz	"trace"

	.comm	_VCOS_LOG_TRACE,4,2             ## @VCOS_LOG_TRACE
	.comm	_VCOS_EINVAL,4,2                ## @VCOS_EINVAL
	.comm	_VCOS_SUCCESS,4,2               ## @VCOS_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_string_to_log_level       ; -- Begin function vcos_string_to_log_level
	.p2align	2
_vcos_string_to_log_level:              ; @vcos_string_to_log_level
	.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	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.6:
Lloh12:
	adrp	x8, _VCOS_EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VCOS_EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh14:
	adrp	x8, _VCOS_LOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VCOS_LOG_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh16:
	adrp	x8, _VCOS_LOG_NEVER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VCOS_LOG_NEVER@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh18:
	adrp	x8, _VCOS_LOG_WARN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VCOS_LOG_WARN@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh20:
	adrp	x8, _VCOS_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VCOS_SUCCESS@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh22:
	adrp	x8, _VCOS_LOG_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VCOS_LOG_INFO@GOTPAGEOFF]
	b	LBB0_10
LBB0_13:
Lloh24:
	adrp	x8, _VCOS_LOG_TRACE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VCOS_LOG_TRACE@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error"

	.comm	_VCOS_LOG_ERROR,4,2             ; @VCOS_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"never"

	.comm	_VCOS_LOG_NEVER,4,2             ; @VCOS_LOG_NEVER
l_.str.2:                               ; @.str.2
	.asciz	"warn"

	.comm	_VCOS_LOG_WARN,4,2              ; @VCOS_LOG_WARN
l_.str.3:                               ; @.str.3
	.asciz	"warning"

l_.str.4:                               ; @.str.4
	.asciz	"info"

	.comm	_VCOS_LOG_INFO,4,2              ; @VCOS_LOG_INFO
l_.str.5:                               ; @.str.5
	.asciz	"trace"

	.comm	_VCOS_LOG_TRACE,4,2             ; @VCOS_LOG_TRACE
	.comm	_VCOS_EINVAL,4,2                ; @VCOS_EINVAL
	.comm	_VCOS_SUCCESS,4,2               ; @VCOS_SUCCESS
.subsections_via_symbols
