	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_ucl_str_to_emit_type
_lua_ucl_str_to_emit_type:              ## @lua_ucl_str_to_emit_type
	.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	%rdi, %rbx
	movq	_UCL_EMIT_JSON_COMPACT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_9
LBB0_7:
	movq	_UCL_EMIT_CONFIG@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_UCL_EMIT_JSON@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_UCL_EMIT_YAML@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UCL_EMIT_JSON_COMPACT,4,2      ## @UCL_EMIT_JSON_COMPACT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"json"

	.comm	_UCL_EMIT_JSON,4,2              ## @UCL_EMIT_JSON
L_.str.1:                               ## @.str.1
	.asciz	"json-compact"

L_.str.2:                               ## @.str.2
	.asciz	"yaml"

	.comm	_UCL_EMIT_YAML,4,2              ## @UCL_EMIT_YAML
L_.str.3:                               ## @.str.3
	.asciz	"config"

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

	.comm	_UCL_EMIT_CONFIG,4,2            ## @UCL_EMIT_CONFIG
	.no_dead_strip	_lua_ucl_str_to_emit_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_ucl_str_to_emit_type
_lua_ucl_str_to_emit_type:              ; @lua_ucl_str_to_emit_type
	.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	x20, x0
Lloh0:
	adrp	x8, _UCL_EMIT_JSON_COMPACT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UCL_EMIT_JSON_COMPACT@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_5
; %bb.4:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbnz	x0, LBB0_9
LBB0_5:
Lloh13:
	adrp	x8, _UCL_EMIT_CONFIG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UCL_EMIT_CONFIG@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh15:
	adrp	x8, _UCL_EMIT_JSON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UCL_EMIT_JSON@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _UCL_EMIT_YAML@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UCL_EMIT_YAML@GOTPAGEOFF]
LBB0_8:
	ldr	w19, [x8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_EMIT_JSON_COMPACT,4,2      ; @UCL_EMIT_JSON_COMPACT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"json"

	.comm	_UCL_EMIT_JSON,4,2              ; @UCL_EMIT_JSON
l_.str.1:                               ; @.str.1
	.asciz	"json-compact"

l_.str.2:                               ; @.str.2
	.asciz	"yaml"

	.comm	_UCL_EMIT_YAML,4,2              ; @UCL_EMIT_YAML
l_.str.3:                               ; @.str.3
	.asciz	"config"

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

	.comm	_UCL_EMIT_CONFIG,4,2            ; @UCL_EMIT_CONFIG
	.no_dead_strip	_lua_ucl_str_to_emit_type
.subsections_via_symbols
