	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function task_overlay_load_desc
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.space	4
	.space	4
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4330000000000000              ## double 4503599627370496
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0x40000000                      ## float 2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_task_overlay_load_desc:                ## @task_overlay_load_desc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$632, %rsp                      ## imm = 0x278
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm1, -616(%rbp)               ## 4-byte Spill
	movss	%xmm0, -612(%rbp)               ## 4-byte Spill
	movl	%r9d, -608(%rbp)                ## 4-byte Spill
	movl	%r8d, %ebx
	movl	%ecx, %r12d
	movq	%rdx, -672(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -564(%rbp)
	movl	$0, -572(%rbp)
	movq	(%rdi), %r13
	movb	$0, -496(%rbp)
	movb	$0, -240(%rbp)
	movb	$0, -176(%rbp)
	movb	$0, -112(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	callq	_snprintf
	leaq	L_.str.1(%rip), %rdx
	leaq	-240(%rbp), %r15
	movq	%r15, %rdi
	movl	$64, %esi
	movl	%r12d, -568(%rbp)               ## 4-byte Spill
	movl	%r12d, %ecx
	movl	%ebx, -640(%rbp)                ## 4-byte Spill
	movl	%ebx, %r8d
	movq	%r13, %rbx
	callq	_snprintf
	leaq	-572(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_config_get_bool
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	24(%rbp), %r15d
	jmp	LBB0_3
LBB0_1:
	movl	-572(%rbp), %r15d
LBB0_3:
	testl	%r15d, %r15d
	movq	%r14, %r12
	jne	LBB0_8
## %bb.4:
	cmpl	$0, -608(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	cmpl	$0, 16(%rbp)
	je	LBB0_6
LBB0_8:
	leaq	-112(%rbp), %rsi
	leaq	-496(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_config_get_array
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	leaq	-496(%rbp), %rdi
	callq	_string_split
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r13
	cmpl	$5, (%rax)
	jg	LBB0_15
## %bb.13:
	leaq	L_.str.6(%rip), %rdi
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_RARCH_ERR
	jmp	LBB0_47
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-112(%rbp), %rsi
	xorl	%eax, %eax
	callq	_RARCH_ERR
	jmp	LBB0_48
LBB0_11:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_RARCH_ERR
	jmp	LBB0_48
LBB0_15:
	movq	8(%r13), %rax
	movq	(%rax), %r14
	movq	8(%rax), %rcx
	movq	%rcx, -656(%rbp)                ## 8-byte Spill
	movq	16(%rax), %rcx
	movq	%rcx, -664(%rbp)                ## 8-byte Spill
	movq	24(%rax), %rax
	movq	%rax, -592(%rbp)                ## 8-byte Spill
	movl	$0, 88(%r12)
	movl	84(%r12), %edi
	callq	_BIT256_CLEAR_ALL
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	movq	%rbx, -584(%rbp)                ## 8-byte Spill
	je	LBB0_17
## %bb.16:
	movl	$129, (%r12)
	jmp	LBB0_27
LBB0_17:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	$128, (%r12)
LBB0_27:
	movq	-592(%rbp), %r14                ## 8-byte Reload
	testl	%r15d, %r15d
	je	LBB0_29
## %bb.28:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = <1.0E+0,1.0E+0,u,u>
	movaps	%xmm0, -608(%rbp)               ## 16-byte Spill
	jmp	LBB0_30
LBB0_29:
	movd	-608(%rbp), %xmm0               ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, 16(%rbp), %xmm0
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4.503599627370496E+15,4.503599627370496E+15]
	por	%xmm1, %xmm0
	subpd	%xmm1, %xmm0
	cvtpd2ps	%xmm0, %xmm0
	movaps	LCPI0_0(%rip), %xmm1            ## xmm1 = <1.0E+0,1.0E+0,u,u>
	divps	%xmm0, %xmm1
	movaps	%xmm1, -608(%rbp)               ## 16-byte Spill
LBB0_30:
	movl	-640(%rbp), %r15d               ## 4-byte Reload
	movq	-656(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	callq	_strtod
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	-608(%rbp), %xmm0               ## 16-byte Folded Reload
	movss	%xmm0, 16(%r12)
	movq	-664(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	callq	_strtod
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	movshdup	-608(%rbp), %xmm1               ## 16-byte Folded Reload
                                        ## xmm1 = mem[1,1,3,3]
	movaps	%xmm1, -640(%rbp)               ## 16-byte Spill
	mulss	%xmm1, %xmm0
	movss	%xmm0, 20(%r12)
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	_OVERLAY_HITBOX_RADIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_32:
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_50
## %bb.33:
	movq	_OVERLAY_HITBOX_RECT@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %eax
	movl	%eax, 80(%r12)
	movl	(%r12), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_40
## %bb.35:
	movb	$0, -560(%rbp)
	movq	_OVERLAY_HITBOX_RADIAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_51
## %bb.36:
	leaq	L_.str.17(%rip), %rdx
	leaq	-560(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	movl	-568(%rbp), %ecx                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_snprintf
	leaq	-564(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_config_get_float
	testq	%rax, %rax
	je	LBB0_37
## %bb.38:
	movss	-564(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_39
LBB0_51:
	leaq	L_.str.16(%rip), %rdi
	jmp	LBB0_14
LBB0_19:
	leaq	L_.str.9(%rip), %rsi
	movl	$7, %edx
	movq	%r14, %rdi
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:
	movq	$0, -648(%rbp)
	leaq	L_.str.10(%rip), %rsi
	leaq	-648(%rbp), %rdx
	movq	%r14, %rdi
	callq	_strtok_r
	movq	%rax, %r14
	movq	_OVERLAY_TYPE_BUTTONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	testq	%r14, %r14
	jne	LBB0_22
LBB0_25:
	movl	84(%r12), %edi
	movq	_RARCH_OVERLAY_NEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT256_GET
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	leaq	L_.str.12(%rip), %rdx
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	-568(%rbp), %ecx                ## 4-byte Reload
	movl	-640(%rbp), %r8d                ## 4-byte Reload
	callq	_snprintf
	movq	8(%r12), %rdx
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-584(%rbp), %rbx                ## 8-byte Reload
	movl	$8, %ecx
	callq	_config_get_array
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	xorl	%edi, %edi
	leaq	L_.str.10(%rip), %rsi
	leaq	-648(%rbp), %rdx
	callq	_strtok_r
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	84(%r12), %ebx
	movq	%r14, %rdi
	callq	_input_config_translate_str_to_bind_id
	movl	%ebx, %edi
	movq	-584(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, %esi
	callq	_BIT256_SET
	jmp	LBB0_24
LBB0_50:
	leaq	L_.str.15(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_RARCH_ERR
	jmp	LBB0_47
LBB0_37:
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
LBB0_39:
	movss	%xmm0, 24(%r12)
	movq	-584(%rbp), %rbx                ## 8-byte Reload
LBB0_40:
	movq	8(%r13), %rax
	movq	32(%rax), %rdi
	xorl	%esi, %esi
	callq	_strtod
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	-608(%rbp), %xmm0               ## 16-byte Folded Reload
	movss	%xmm0, 28(%r12)
	movq	8(%r13), %rax
	movq	40(%rax), %rdi
	xorl	%esi, %esi
	callq	_strtod
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	-640(%rbp), %xmm0               ## 16-byte Folded Reload
	movss	%xmm0, 32(%r12)
	movss	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	16(%r12), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	movss	28(%r12), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm4
	shufps	$0, %xmm1, %xmm4                ## xmm4 = xmm4[0,0],xmm1[0,0]
	insertps	$32, 20(%r12), %xmm2            ## xmm2 = xmm2[0,1],mem[0],xmm2[3]
	insertps	$32, %xmm0, %xmm3               ## xmm3 = xmm3[0,1],xmm0[0],xmm3[3]
	subps	%xmm3, %xmm2
	shufps	$0, %xmm0, %xmm1                ## xmm1 = xmm1[0,0],xmm0[0,0]
	mulps	%xmm4, %xmm1
	blendps	$5, %xmm2, %xmm1                ## xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3]
	movups	%xmm1, 36(%r12)
	leaq	L_.str.18(%rip), %rdx
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	movl	-568(%rbp), %ecx                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_snprintf
	movss	-612(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 52(%r12)
	leaq	-564(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_config_get_float
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movss	-564(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 52(%r12)
LBB0_42:
	leaq	L_.str.19(%rip), %rdx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	-568(%rbp), %ecx                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_snprintf
	movss	-616(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 56(%r12)
	leaq	-564(%rbp), %rdx
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_config_get_float
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	movss	-564(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 56(%r12)
LBB0_44:
	leaq	L_.str.20(%rip), %rdx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	-568(%rbp), %ecx                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_snprintf
	movl	$0, 60(%r12)
	movq	$0, 64(%r12)
	leaq	-572(%rbp), %rdx
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_config_get_bool
	testq	%rax, %rax
	je	LBB0_46
## %bb.45:
	movl	-572(%rbp), %eax
	movl	%eax, 60(%r12)
LBB0_46:
	movq	28(%r12), %rax
	movq	%rax, 72(%r12)
	movq	-672(%rbp), %rax                ## 8-byte Reload
	incl	(%rax)
	movl	$1, %ebx
LBB0_47:
	movq	%r13, %rdi
	callq	_string_list_free
LBB0_48:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.49:
	movl	%ebx, %eax
	addq	$632, %rsp                      ## imm = 0x278
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_OVERLAY_TYPE_KEYBOARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	addq	$7, %r14
	movq	%r14, %rdi
	callq	_input_config_translate_str_to_rk
	movl	%eax, 88(%r12)
	jmp	LBB0_27
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overlay%u_desc%u"

L_.str.1:                               ## @.str.1
	.asciz	"overlay%u_desc%u_normalized"

L_.str.2:                               ## @.str.2
	.asciz	"[Overlay]: Base overlay is not set and not using normalized coordinates.\n"

L_.str.3:                               ## @.str.3
	.asciz	"[Overlay]: Didn't find key: %s.\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"[Overlay]: Failed to split overlay desc.\n"

L_.str.6:                               ## @.str.6
	.asciz	"[Overlay]: Overlay desc is invalid. Requires at least 6 tokens.\n"

L_.str.7:                               ## @.str.7
	.asciz	"analog_left"

L_.str.8:                               ## @.str.8
	.asciz	"analog_right"

L_.str.9:                               ## @.str.9
	.asciz	"retrok_"

	.comm	_OVERLAY_TYPE_KEYBOARD,4,2      ## @OVERLAY_TYPE_KEYBOARD
L_.str.10:                              ## @.str.10
	.asciz	"|"

	.comm	_OVERLAY_TYPE_BUTTONS,4,2       ## @OVERLAY_TYPE_BUTTONS
L_.str.11:                              ## @.str.11
	.asciz	"nul"

	.comm	_RARCH_OVERLAY_NEXT,4,2         ## @RARCH_OVERLAY_NEXT
L_.str.12:                              ## @.str.12
	.asciz	"overlay%u_desc%u_next_target"

L_.str.13:                              ## @.str.13
	.asciz	"radial"

	.comm	_OVERLAY_HITBOX_RADIAL,4,2      ## @OVERLAY_HITBOX_RADIAL
L_.str.14:                              ## @.str.14
	.asciz	"rect"

	.comm	_OVERLAY_HITBOX_RECT,4,2        ## @OVERLAY_HITBOX_RECT
L_.str.15:                              ## @.str.15
	.asciz	"[Overlay]: Hitbox type (%s) is invalid. Use \"radial\" or \"rect\".\n"

L_.str.16:                              ## @.str.16
	.asciz	"[Overlay]: Analog hitbox type must be \"radial\".\n"

L_.str.17:                              ## @.str.17
	.asciz	"overlay%u_desc%u_saturate_pct"

L_.str.18:                              ## @.str.18
	.asciz	"overlay%u_desc%u_alpha_mod"

L_.str.19:                              ## @.str.19
	.asciz	"overlay%u_desc%u_range_mod"

L_.str.20:                              ## @.str.20
	.asciz	"overlay%u_desc%u_movable"

	.no_dead_strip	_task_overlay_load_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function task_overlay_load_desc
_task_overlay_load_desc:                ; @task_overlay_load_desc
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-128]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	sub	sp, sp, #592
	mov	x24, x7
	mov	x25, x6
	mov	x26, x5
	mov	x21, x4
	mov	x22, x3
	mov	x27, x2
	fmov	s8, s1
	fmov	s9, s0
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]
	str	xzr, [sp, #56]
	ldr	x23, [x0]
	strb	wzr, [sp, #128]
	strb	wzr, [sp, #384]
	sturb	wzr, [x29, #-256]
	sturb	wzr, [x29, #-192]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #192
	mov	w1, #64
	bl	_snprintf
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #384
	mov	w1, #64
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	add	x1, sp, #384
	add	x2, sp, #56
	mov	x0, x23
	bl	_config_get_bool
	ldr	w8, [sp, #56]
	cmp	x0, #0
	csel	w19, w24, w8, eq
	cbnz	w19, LBB0_3
; %bb.1:
	cbz	w26, LBB0_10
; %bb.2:
	cbz	w25, LBB0_10
LBB0_3:
	sub	x24, x29, #192
	sub	x1, x29, #192
	add	x2, sp, #128
	mov	x0, x23
	mov	w3, #256
	bl	_config_get_array
	cbz	w0, LBB0_8
; %bb.4:
Lloh7:
	adrp	x1, l_.str.4@PAGE
Lloh8:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #128
	bl	_string_split
	cbz	x0, LBB0_9
; %bb.5:
	mov	x24, x0
	ldr	w8, [x0]
	cmp	w8, #5
	b.gt	LBB0_12
; %bb.6:
Lloh9:
	adrp	x0, l_.str.6@PAGE
Lloh10:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_7:
	bl	_RARCH_ERR
	mov	w19, #0
	b	LBB0_32
LBB0_8:
	str	x24, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_11:
	bl	_RARCH_ERR
	mov	w19, #0
	b	LBB0_33
LBB0_12:
	ldr	x8, [x24, #8]
	ldp	x28, x10, [x8]
	ldp	x9, x8, [x8, #16]
	stp	x10, x9, [sp, #32]              ; 16-byte Folded Spill
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	str	wzr, [x20, #88]
	ldr	w0, [x20, #84]
	bl	_BIT256_CLEAR_ALL
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x28
	bl	_string_is_equal
	cbz	x0, LBB0_14
; %bb.13:
	mov	w8, #129
	b	LBB0_16
LBB0_14:
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x28
	bl	_string_is_equal
	cbz	x0, LBB0_36
; %bb.15:
	mov	w8, #128
LBB0_16:
	str	w8, [x20]
LBB0_17:
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	fmov	s11, #1.00000000
	fmov	s10, #1.00000000
	cbnz	w19, LBB0_19
; %bb.18:
	ucvtf	s0, w26
	fmov	s1, #1.00000000
	fdiv	s11, s1, s0
	ucvtf	s0, w25
	fdiv	s10, s1, s0
LBB0_19:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, #0
	bl	_strtod
	scvtf	s0, x0
	fmul	s0, s11, s0
	str	s0, [x20, #16]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, #0
	bl	_strtod
	scvtf	s0, x0
	fmul	s0, s10, s0
	str	s0, [x20, #20]
Lloh21:
	adrp	x1, l_.str.13@PAGE
Lloh22:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x28
	bl	_string_is_equal
Lloh23:
	adrp	x19, _OVERLAY_HITBOX_RADIAL@GOTPAGE
Lloh24:
	ldr	x19, [x19, _OVERLAY_HITBOX_RADIAL@GOTPAGEOFF]
	mov	x8, x19
	cbnz	x0, LBB0_22
; %bb.20:
Lloh25:
	adrp	x1, l_.str.14@PAGE
Lloh26:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x28
	bl	_string_is_equal
	cbz	x0, LBB0_42
; %bb.21:
Lloh27:
	adrp	x8, _OVERLAY_HITBOX_RECT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OVERLAY_HITBOX_RECT@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	str	w8, [x20, #80]
	ldr	w9, [x20]
	and	w9, w9, #0xfffffffe
	cmp	w9, #128
	b.ne	LBB0_25
; %bb.23:
	strb	wzr, [sp, #64]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_35
; %bb.24:
Lloh29:
	adrp	x2, l_.str.17@PAGE
Lloh30:
	add	x2, x2, l_.str.17@PAGEOFF
	add	x0, sp, #64
	mov	w1, #64
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	add	x1, sp, #64
	add	x2, sp, #60
	mov	x0, x23
	bl	_config_get_float
	ldr	s0, [sp, #60]
	cmp	x0, #0
	fmov	s1, #1.00000000
	fcsel	s0, s1, s0, eq
	str	s0, [x20, #24]
LBB0_25:
	ldr	x8, [x24, #8]
	ldr	x0, [x8, #32]
	mov	x1, #0
	bl	_strtod
	scvtf	s0, x0
	fmul	s0, s11, s0
	str	s0, [x20, #28]
	ldr	x8, [x24, #8]
	ldr	x0, [x8, #40]
	mov	x1, #0
	bl	_strtod
	scvtf	s0, x0
	fmul	s0, s10, s0
	ldr	s1, [x20, #28]
	ldp	s2, s3, [x20, #16]
	fsub	s2, s2, s1
	stp	s0, s2, [x20, #32]
	fadd	s1, s1, s1
	fsub	s2, s3, s0
	stp	s1, s2, [x20, #40]
	fadd	s0, s0, s0
	str	s0, [x20, #48]
Lloh31:
	adrp	x2, l_.str.18@PAGE
Lloh32:
	add	x2, x2, l_.str.18@PAGEOFF
	sub	x0, x29, #256
	mov	w1, #64
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	str	s9, [x20, #52]
	sub	x1, x29, #256
	add	x2, sp, #60
	mov	x0, x23
	bl	_config_get_float
	cbz	x0, LBB0_27
; %bb.26:
	ldr	s0, [sp, #60]
	str	s0, [x20, #52]
LBB0_27:
Lloh33:
	adrp	x2, l_.str.19@PAGE
Lloh34:
	add	x2, x2, l_.str.19@PAGEOFF
	sub	x0, x29, #256
	mov	w1, #64
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	str	s8, [x20, #56]
	sub	x1, x29, #256
	add	x2, sp, #60
	mov	x0, x23
	bl	_config_get_float
	cbz	x0, LBB0_29
; %bb.28:
	ldr	s0, [sp, #60]
	str	s0, [x20, #56]
LBB0_29:
Lloh35:
	adrp	x2, l_.str.20@PAGE
Lloh36:
	add	x2, x2, l_.str.20@PAGEOFF
	sub	x0, x29, #256
	mov	w1, #64
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	str	xzr, [x20, #64]
	str	wzr, [x20, #60]
	sub	x1, x29, #256
	add	x2, sp, #56
	mov	x0, x23
	bl	_config_get_bool
	cbz	x0, LBB0_31
; %bb.30:
	ldr	w8, [sp, #56]
	str	w8, [x20, #60]
LBB0_31:
	ldur	d0, [x20, #28]
	str	d0, [x20, #72]
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	mov	w19, #1
LBB0_32:
	mov	x0, x24
	bl	_string_list_free
LBB0_33:
	ldur	x8, [x29, #-128]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_46
; %bb.34:
	mov	x0, x19
	add	sp, sp, #592
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #128            ; 16-byte Folded Reload
	ret
LBB0_35:
Lloh40:
	adrp	x0, l_.str.16@PAGE
Lloh41:
	add	x0, x0, l_.str.16@PAGEOFF
	b	LBB0_7
LBB0_36:
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x28
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_45
; %bb.37:
	str	xzr, [sp, #48]
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #48
	mov	x0, x28
	bl	_strtok_r
Lloh46:
	adrp	x8, _OVERLAY_TYPE_BUTTONS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _OVERLAY_TYPE_BUTTONS@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x20]
	cbz	x0, LBB0_43
; %bb.38:
	mov	x28, x0
	str	w26, [sp, #20]                  ; 4-byte Folded Spill
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=1
	add	x2, sp, #48
	mov	x0, #0
Lloh49:
	adrp	x1, l_.str.10@PAGE
Lloh50:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strtok_r
	mov	x28, x0
	cbz	x0, LBB0_43
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
Lloh51:
	adrp	x1, l_.str.11@PAGE
Lloh52:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_string_is_equal
	cbnz	x0, LBB0_39
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x26, x25
	mov	x25, x24
	mov	x24, x27
	ldr	w27, [x20, #84]
	mov	x0, x28
	bl	_input_config_translate_str_to_bind_id
	mov	x1, x0
	mov	x0, x27
	mov	x27, x24
	mov	x24, x25
	mov	x25, x26
	ldr	w26, [sp, #20]                  ; 4-byte Folded Reload
	bl	_BIT256_SET
	b	LBB0_39
LBB0_42:
	str	x28, [sp]
Lloh53:
	adrp	x0, l_.str.15@PAGE
Lloh54:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_7
LBB0_43:
	ldr	w0, [x20, #84]
Lloh55:
	adrp	x8, _RARCH_OVERLAY_NEXT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _RARCH_OVERLAY_NEXT@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	bl	_BIT256_GET
	cbz	x0, LBB0_17
; %bb.44:
Lloh58:
	adrp	x2, l_.str.12@PAGE
Lloh59:
	add	x2, x2, l_.str.12@PAGEOFF
	add	x0, sp, #64
	mov	w1, #64
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
	ldr	x2, [x20, #8]
	add	x1, sp, #64
	mov	x0, x23
	mov	w3, #8
	bl	_config_get_array
	b	LBB0_17
LBB0_45:
Lloh60:
	adrp	x8, _OVERLAY_TYPE_KEYBOARD@GOTPAGE
Lloh61:
	ldr	x8, [x8, _OVERLAY_TYPE_KEYBOARD@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	str	w8, [x20]
	add	x0, x28, #7
	bl	_input_config_translate_str_to_rk
	str	w0, [x20, #88]
	b	LBB0_17
LBB0_46:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overlay%u_desc%u"

l_.str.1:                               ; @.str.1
	.asciz	"overlay%u_desc%u_normalized"

l_.str.2:                               ; @.str.2
	.asciz	"[Overlay]: Base overlay is not set and not using normalized coordinates.\n"

l_.str.3:                               ; @.str.3
	.asciz	"[Overlay]: Didn't find key: %s.\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"[Overlay]: Failed to split overlay desc.\n"

l_.str.6:                               ; @.str.6
	.asciz	"[Overlay]: Overlay desc is invalid. Requires at least 6 tokens.\n"

l_.str.7:                               ; @.str.7
	.asciz	"analog_left"

l_.str.8:                               ; @.str.8
	.asciz	"analog_right"

l_.str.9:                               ; @.str.9
	.asciz	"retrok_"

	.comm	_OVERLAY_TYPE_KEYBOARD,4,2      ; @OVERLAY_TYPE_KEYBOARD
l_.str.10:                              ; @.str.10
	.asciz	"|"

	.comm	_OVERLAY_TYPE_BUTTONS,4,2       ; @OVERLAY_TYPE_BUTTONS
l_.str.11:                              ; @.str.11
	.asciz	"nul"

	.comm	_RARCH_OVERLAY_NEXT,4,2         ; @RARCH_OVERLAY_NEXT
l_.str.12:                              ; @.str.12
	.asciz	"overlay%u_desc%u_next_target"

l_.str.13:                              ; @.str.13
	.asciz	"radial"

	.comm	_OVERLAY_HITBOX_RADIAL,4,2      ; @OVERLAY_HITBOX_RADIAL
l_.str.14:                              ; @.str.14
	.asciz	"rect"

	.comm	_OVERLAY_HITBOX_RECT,4,2        ; @OVERLAY_HITBOX_RECT
l_.str.15:                              ; @.str.15
	.asciz	"[Overlay]: Hitbox type (%s) is invalid. Use \"radial\" or \"rect\".\n"

l_.str.16:                              ; @.str.16
	.asciz	"[Overlay]: Analog hitbox type must be \"radial\".\n"

l_.str.17:                              ; @.str.17
	.asciz	"overlay%u_desc%u_saturate_pct"

l_.str.18:                              ; @.str.18
	.asciz	"overlay%u_desc%u_alpha_mod"

l_.str.19:                              ; @.str.19
	.asciz	"overlay%u_desc%u_range_mod"

l_.str.20:                              ; @.str.20
	.asciz	"overlay%u_desc%u_movable"

	.no_dead_strip	_task_overlay_load_desc
.subsections_via_symbols
