	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frontend_ctr_get_name
_frontend_ctr_get_name:                 ## @frontend_ctr_get_name
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$255, -20(%rbp)
	leaq	-20(%rbp), %rdi
	callq	_CFGU_GetSystemModel
	movslq	-20(%rbp), %rax
	cmpq	$5, %rax
	ja	LBB0_1
## %bb.2:
	leaq	l_reltable.frontend_ctr_get_name(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.6(%rip), %rsi
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strlcpy
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Old 3DS"

L_.str.1:                               ## @.str.1
	.asciz	"Old 3DS XL"

L_.str.2:                               ## @.str.2
	.asciz	"New 3DS"

L_.str.3:                               ## @.str.3
	.asciz	"Old 2DS"

L_.str.4:                               ## @.str.4
	.asciz	"New 3DS XL"

L_.str.5:                               ## @.str.5
	.asciz	"New 2DS XL"

L_.str.6:                               ## @.str.6
	.asciz	"Unknown Device"

	.no_dead_strip	_frontend_ctr_get_name
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.frontend_ctr_get_name
l_reltable.frontend_ctr_get_name:
	.long	L_.str-l_reltable.frontend_ctr_get_name
	.long	L_.str.1-l_reltable.frontend_ctr_get_name
	.long	L_.str.2-l_reltable.frontend_ctr_get_name
	.long	L_.str.3-l_reltable.frontend_ctr_get_name
	.long	L_.str.4-l_reltable.frontend_ctr_get_name
	.long	L_.str.5-l_reltable.frontend_ctr_get_name

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frontend_ctr_get_name
_frontend_ctr_get_name:                 ; @frontend_ctr_get_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w8, #255
	str	w8, [sp, #12]
	add	x0, sp, #12
	bl	_CFGU_GetSystemModel
	ldrsw	x8, [sp, #12]
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.frontend_ctr_get_name@PAGE
Lloh1:
	add	x9, x9, l_switch.table.frontend_ctr_get_name@PAGEOFF
	ldr	x1, [x9, x8, lsl #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x1, l_.str.6@PAGE
Lloh3:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_3:
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Old 3DS"

l_.str.1:                               ; @.str.1
	.asciz	"Old 3DS XL"

l_.str.2:                               ; @.str.2
	.asciz	"New 3DS"

l_.str.3:                               ; @.str.3
	.asciz	"Old 2DS"

l_.str.4:                               ; @.str.4
	.asciz	"New 3DS XL"

l_.str.5:                               ; @.str.5
	.asciz	"New 2DS XL"

l_.str.6:                               ; @.str.6
	.asciz	"Unknown Device"

	.no_dead_strip	_frontend_ctr_get_name
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.frontend_ctr_get_name
l_switch.table.frontend_ctr_get_name:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5

.subsections_via_symbols
