	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun_expand2amd
_sun_expand2amd:                        ## @sun_expand2amd
	.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	%rdi, %rbx
	callq	_xstrdup
	movq	%rax, %rdi
	xorl	%r14d, %r14d
	movq	_SUN_ARCH@GOTPCREL(%rip), %r15
	movq	_AMD_ARCH@GOTPCREL(%rip), %r12
	movq	_SUN_CPU@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$36, %al
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_XFREE
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdi, %r14
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	testq	%rax, %rax
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	testq	%rax, %rax
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SUN_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AMD_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	testq	%rax, %rax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SUN_OSNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AMD_OSNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	testq	%rax, %rax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SUN_OSREL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AMD_OSVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SUN_OSVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AMD_OSVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SUN_NATISA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_sun_strsub
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%rax, %r14
	jmp	LBB0_16
LBB0_3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.17:
	callq	_XFREE
	jmp	LBB0_18
LBB0_4:
	movq	%rdi, %r14
LBB0_18:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUN_ARCH,4,2                   ## @SUN_ARCH
	.comm	_AMD_ARCH,4,2                   ## @AMD_ARCH
	.comm	_SUN_CPU,4,2                    ## @SUN_CPU
	.comm	_SUN_HOST,4,2                   ## @SUN_HOST
	.comm	_AMD_HOST,4,2                   ## @AMD_HOST
	.comm	_SUN_OSNAME,4,2                 ## @SUN_OSNAME
	.comm	_AMD_OSNAME,4,2                 ## @AMD_OSNAME
	.comm	_SUN_OSREL,4,2                  ## @SUN_OSREL
	.comm	_AMD_OSVER,4,2                  ## @AMD_OSVER
	.comm	_SUN_OSVERS,4,2                 ## @SUN_OSVERS
	.comm	_SUN_NATISA,4,2                 ## @SUN_NATISA
	.no_dead_strip	_sun_expand2amd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun_expand2amd
_sun_expand2amd:                        ; @sun_expand2amd
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	bl	_xstrdup
	mov	x20, #0
Lloh0:
	adrp	x21, _SUN_ARCH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SUN_ARCH@GOTPAGEOFF]
Lloh2:
	adrp	x22, _AMD_ARCH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _AMD_ARCH@GOTPAGEOFF]
Lloh4:
	adrp	x23, _SUN_CPU@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SUN_CPU@GOTPAGEOFF]
Lloh6:
	adrp	x24, _SUN_HOST@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SUN_HOST@GOTPAGEOFF]
Lloh8:
	adrp	x25, _AMD_HOST@GOTPAGE
Lloh9:
	ldr	x25, [x25, _AMD_HOST@GOTPAGEOFF]
Lloh10:
	adrp	x26, _SUN_OSNAME@GOTPAGE
Lloh11:
	ldr	x26, [x26, _SUN_OSNAME@GOTPAGEOFF]
Lloh12:
	adrp	x27, _AMD_OSNAME@GOTPAGE
Lloh13:
	ldr	x27, [x27, _AMD_OSNAME@GOTPAGEOFF]
Lloh14:
	adrp	x28, _AMD_OSVER@GOTPAGE
Lloh15:
	ldr	x28, [x28, _AMD_OSVER@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x0
	mov	x0, x20
	mov	x20, x8
	add	x19, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #36
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_15
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x20, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_XFREE
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, x0
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_sun_strsub
	cbnz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_sun_strsub
	cbnz	x0, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_sun_strsub
	cbnz	x0, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x26]
	ldr	w2, [x27]
	mov	x0, x20
	bl	_sun_strsub
	cbnz	x0, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x8, _SUN_OSREL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SUN_OSREL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_sun_strsub
	cbnz	x0, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _SUN_OSVERS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SUN_OSVERS@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_sun_strsub
	cbnz	x0, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x8, _SUN_NATISA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SUN_NATISA@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_sun_strsub
	mov	x1, x0
	mov	x0, x20
	mov	x20, x1
	b	LBB0_4
LBB0_15:
	cbz	x20, LBB0_17
; %bb.16:
	bl	_XFREE
	b	LBB0_18
LBB0_17:
	mov	x20, x0
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SUN_ARCH,4,2                   ; @SUN_ARCH
	.comm	_AMD_ARCH,4,2                   ; @AMD_ARCH
	.comm	_SUN_CPU,4,2                    ; @SUN_CPU
	.comm	_SUN_HOST,4,2                   ; @SUN_HOST
	.comm	_AMD_HOST,4,2                   ; @AMD_HOST
	.comm	_SUN_OSNAME,4,2                 ; @SUN_OSNAME
	.comm	_AMD_OSNAME,4,2                 ; @AMD_OSNAME
	.comm	_SUN_OSREL,4,2                  ; @SUN_OSREL
	.comm	_AMD_OSVER,4,2                  ; @AMD_OSVER
	.comm	_SUN_OSVERS,4,2                 ; @SUN_OSVERS
	.comm	_SUN_NATISA,4,2                 ; @SUN_NATISA
	.no_dead_strip	_sun_expand2amd
.subsections_via_symbols
