	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_ucl_str_to_parse_type
_lua_ucl_str_to_parse_type:             ## @lua_ucl_str_to_parse_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	_UCL_PARSE_UCL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	_UCL_PARSE_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_UCL_PARSE_MSGPACK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_UCL_PARSE_CSEXP@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_PARSE_UCL,4,2              ## @UCL_PARSE_UCL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msgpack"

	.comm	_UCL_PARSE_MSGPACK,4,2          ## @UCL_PARSE_MSGPACK
L_.str.1:                               ## @.str.1
	.asciz	"sexp"

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

	.comm	_UCL_PARSE_CSEXP,4,2            ## @UCL_PARSE_CSEXP
L_.str.3:                               ## @.str.3
	.asciz	"auto"

	.comm	_UCL_PARSE_AUTO,4,2             ## @UCL_PARSE_AUTO
	.no_dead_strip	_lua_ucl_str_to_parse_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_parse_type
_lua_ucl_str_to_parse_type:             ; @lua_ucl_str_to_parse_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
Lloh0:
	adrp	x8, _UCL_PARSE_UCL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UCL_PARSE_UCL@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.4:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
Lloh11:
	adrp	x8, _UCL_PARSE_AUTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UCL_PARSE_AUTO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w8, w19, eq
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x8, _UCL_PARSE_MSGPACK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UCL_PARSE_MSGPACK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _UCL_PARSE_CSEXP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UCL_PARSE_CSEXP@GOTPAGEOFF]
LBB0_7:
	ldr	w19, [x8]
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_PARSE_UCL,4,2              ; @UCL_PARSE_UCL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msgpack"

	.comm	_UCL_PARSE_MSGPACK,4,2          ; @UCL_PARSE_MSGPACK
l_.str.1:                               ; @.str.1
	.asciz	"sexp"

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

	.comm	_UCL_PARSE_CSEXP,4,2            ; @UCL_PARSE_CSEXP
l_.str.3:                               ; @.str.3
	.asciz	"auto"

	.comm	_UCL_PARSE_AUTO,4,2             ; @UCL_PARSE_AUTO
	.no_dead_strip	_lua_ucl_str_to_parse_type
.subsections_via_symbols
