	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sun_entry2amd                  ## -- Begin function sun_entry2amd
	.p2align	4, 0x90
_sun_entry2amd:                         ## @sun_entry2amd
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INFO_MAX_LINE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	testq	%r15, %r15
	je	LBB0_1
## %bb.3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_xstrlcpy
	movq	%r13, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	movl	%eax, %ebx
	incq	%rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%r13,%r14)
	decq	%rbx
	cmpq	$1, %rbx
	jbe	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %r14d
	movzbl	(%r13,%r14), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$10, (%r13,%r14)
	je	LBB0_9
LBB0_10:
	movq	%r13, %rdi
	callq	_sun_map_parse_read
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r14
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_sun_opts2amd
LBB0_14:
	cmpq	$0, 8(%r14)
	je	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_sun_multi2amd
	jmp	LBB0_25
LBB0_1:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_11:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_plog
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_16:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.17:
	movq	_SUN_NFS_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_NSTREQ
	testq	%rax, %rax
	jne	LBB0_24
## %bb.18:
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SUN_HSFS_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_NSTREQ
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_sun_hsfs2amd
	jmp	LBB0_25
LBB0_23:
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
LBB0_24:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_sun_nfs2amd
LBB0_25:
	movq	%r13, %rdi
	callq	_xstrdup
	movq	%rax, %rbx
LBB0_26:
	movq	%r14, %rdi
	callq	_XFREE
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	(%r14), %r15
	movq	_SUN_AUTOFS_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_NSTREQ
	testq	%rax, %rax
	jne	LBB0_21
## %bb.22:
	movq	(%r14), %r15
	movq	_SUN_CACHEFS_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_NSTREQ
LBB0_21:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_plog
	jmp	LBB0_26
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INFO_MAX_LINE_LEN,4,2          ## @INFO_MAX_LINE_LEN
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sun key value was null"

L_.str.1:                               ## @.str.1
	.asciz	"Sun entry value was null"

L_.str.2:                               ## @.str.2
	.asciz	"could not parse Sun style map"

	.comm	_SUN_NFS_TYPE,8,3               ## @SUN_NFS_TYPE
	.comm	_SUN_HSFS_TYPE,8,3              ## @SUN_HSFS_TYPE
	.comm	_SUN_AUTOFS_TYPE,8,3            ## @SUN_AUTOFS_TYPE
L_.str.3:                               ## @.str.3
	.asciz	"Sun fstype %s is currently not supported by Amd."

	.comm	_SUN_CACHEFS_TYPE,8,3           ## @SUN_CACHEFS_TYPE
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"No SUN fstype specified defaulting to NFS."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sun_entry2amd                  ; -- Begin function sun_entry2amd
	.p2align	2
_sun_entry2amd:                         ; @sun_entry2amd
	.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
	sub	sp, sp, #16
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _INFO_MAX_LINE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INFO_MAX_LINE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	cbz	x0, LBB0_12
; %bb.1:
	cbz	x1, LBB0_13
; %bb.2:
	mov	x0, x20
	mov	x2, x22
	bl	_xstrlcpy
	mov	x0, x20
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w8, w0
	add	x19, x8, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x20, x23]
	sub	x19, x19, #1
	cmp	x19, #1
	b.ls	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w19, #2
	ldrb	w0, [x20, x23]
	bl	_isspace
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x20, x23]
	cmp	w8, #10
	b.eq	LBB0_4
LBB0_7:
	mov	x0, x20
	bl	_sun_map_parse_read
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.8:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	ldr	x3, [x19, #16]
	cbz	x3, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_sun_opts2amd
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.11:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_sun_multi2amd
	b	LBB0_22
LBB0_12:
Lloh8:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh13:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	bl	_plog
	mov	x20, #0
	mov	x19, #0
	b	LBB0_23
LBB0_15:
Lloh18:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_plog
	mov	x20, #0
	b	LBB0_23
LBB0_16:
	ldr	x23, [x19]
	cbz	x23, LBB0_20
; %bb.17:
Lloh23:
	adrp	x8, _SUN_NFS_TYPE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SUN_NFS_TYPE@GOTPAGEOFF]
Lloh25:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_NSTREQ
	cbnz	x0, LBB0_21
; %bb.18:
	ldr	x23, [x19]
Lloh26:
	adrp	x8, _SUN_HSFS_TYPE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SUN_HSFS_TYPE@GOTPAGEOFF]
Lloh28:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_NSTREQ
	cbz	x0, LBB0_25
; %bb.19:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_sun_hsfs2amd
	b	LBB0_22
LBB0_20:
Lloh29:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_plog
LBB0_21:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_sun_nfs2amd
LBB0_22:
	mov	x0, x20
	bl	_xstrdup
	mov	x20, x0
LBB0_23:
	mov	x0, x19
	bl	_XFREE
	ldur	x8, [x29, #-56]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.24:
	mov	x0, x20
	sub	sp, x29, #48
	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
LBB0_25:
	ldr	x20, [x19]
Lloh37:
	adrp	x8, _SUN_AUTOFS_TYPE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SUN_AUTOFS_TYPE@GOTPAGEOFF]
Lloh39:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_NSTREQ
	cbnz	x0, LBB0_27
; %bb.26:
	ldr	x20, [x19]
Lloh40:
	adrp	x8, _SUN_CACHEFS_TYPE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SUN_CACHEFS_TYPE@GOTPAGEOFF]
Lloh42:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_NSTREQ
LBB0_27:
Lloh43:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp, #-16]!
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_plog
	add	sp, sp, #16
	mov	x20, #0
	b	LBB0_23
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_INFO_MAX_LINE_LEN,4,2          ; @INFO_MAX_LINE_LEN
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sun key value was null"

l_.str.1:                               ; @.str.1
	.asciz	"Sun entry value was null"

l_.str.2:                               ; @.str.2
	.asciz	"could not parse Sun style map"

	.comm	_SUN_NFS_TYPE,8,3               ; @SUN_NFS_TYPE
	.comm	_SUN_HSFS_TYPE,8,3              ; @SUN_HSFS_TYPE
	.comm	_SUN_AUTOFS_TYPE,8,3            ; @SUN_AUTOFS_TYPE
l_.str.3:                               ; @.str.3
	.asciz	"Sun fstype %s is currently not supported by Amd."

	.comm	_SUN_CACHEFS_TYPE,8,3           ; @SUN_CACHEFS_TYPE
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"No SUN fstype specified defaulting to NFS."

.subsections_via_symbols
