	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_switch_name                    ## -- Begin function switch_name
	.p2align	4, 0x90
_switch_name:                           ## @switch_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	callq	_variant_name
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_color_name
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MAX_SWITCH_NAME_LENGTH@GOTPCREL(%rip), %r14
	movq	(%r14), %r13
	movl	%ebx, %edi
	callq	_brand_name
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rax, %rcx
	callq	_snprintf
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_strlen
	subq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_strncat
	movq	%r15, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_strlen
	subq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strncat
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_strlen
	subq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_strncat
LBB0_2:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_strlen
	subq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strncat                        ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SWITCH_NAME_LENGTH,8,3     ## @MAX_SWITCH_NAME_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	" "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_switch_name                    ; -- Begin function switch_name
	.p2align	2
_switch_name:                           ; @switch_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	and	x22, x0, #0xffffffff
	mov	x0, x22
	bl	_variant_name
	mov	x21, x0
	mov	x0, x22
	bl	_color_name
	mov	x20, x0
Lloh0:
	adrp	x24, _MAX_SWITCH_NAME_LENGTH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_SWITCH_NAME_LENGTH@GOTPAGEOFF]
	ldr	x23, [x24]
	mov	x0, x22
	bl	_brand_name
	mov	x3, x0
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	bl	_snprintf
	ldr	x22, [x24]
	mov	x0, x19
	bl	_strlen
	sub	x2, x22, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strncat
	mov	x0, x21
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x22, [x24]
	mov	x0, x19
	bl	_strlen
	sub	x2, x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_strncat
	ldr	x21, [x24]
	mov	x0, x19
	bl	_strlen
	sub	x2, x21, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strncat
LBB0_2:
	mov	x0, x20
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x21, [x24]
	mov	x0, x19
	bl	_strlen
	sub	x2, x21, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_strncat
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SWITCH_NAME_LENGTH,8,3     ; @MAX_SWITCH_NAME_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	" "

.subsections_via_symbols
