	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_passwd_search                  ## -- Begin function passwd_search
	.p2align	4, 0x90
_passwd_search:                         ## @passwd_search
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_STREQ
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_xstrdup
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_2:
	movq	%r13, %rdi
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_xstrdup
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:
	movb	$0, (%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	incq	%rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$47, %esi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	movq	%rax, %r14
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	incq	%r14
	movb	$0, (%rax)
	movb	$0, (%r12)
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_xstrlcat
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_xstrlcat
	movb	$0, (%rbx)
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_xstrlcat
	cmpb	$0, (%r12)
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_16
## %bb.10:
	incq	%rax
	cmpb	$0, (%rax)
	je	LBB0_16
## %bb.11:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpb	$0, (%rcx)
	je	LBB0_16
## %bb.12:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$46, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$58, %esi
	callq	_strchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	cmovneq	%rcx, %rax
	leaq	L_.str.4(%rip), %rdx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	pushq	(%rax)
	callq	_xsnprintf
	addq	$16, %rsp
	leaq	L_.str.5(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_dlog
	movb	$46, (%r14)
	jmp	LBB0_15
LBB0_16:
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_3:
	xorl	%edi, %edi
LBB0_17:
	callq	_XFREE
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$58, %esi
	callq	_strchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	cmovneq	%rcx, %rax
	leaq	L_.str.4(%rip), %rdx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	pushq	(%rax)
	callq	_xsnprintf
	addq	$16, %rsp
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_dlog
LBB0_15:
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, (%r15)
	xorl	%eax, %eax
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/defaults"

L_.str.1:                               ## @.str.1
	.asciz	"type:=nfs"

	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_MAXHOSTNAMELEN,4,2             ## @MAXHOSTNAMELEN
L_.str.2:                               ## @.str.2
	.asciz	"."

L_.str.3:                               ## @.str.3
	.asciz	"type:=nfs;rfs:=/${var0}/${var1};rhost:=${var1};sublink:=${var2};fs:=${autodir}${var3}"

L_.str.4:                               ## @.str.4
	.asciz	"var0:=%s;var1:=%s;var2:=%s;var3:=%s;%s"

L_.str.5:                               ## @.str.5
	.asciz	"passwd_search: map=%s key=%s -> %s"

	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_passwd_search                  ; -- Begin function passwd_search
	.p2align	2
_passwd_search:                         ; @passwd_search
	.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
	sub	sp, sp, #48
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_STREQ
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_xstrdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_16
LBB0_2:
	mov	x0, x20
	bl	_getpwnam
	cbz	x0, LBB0_14
; %bb.3:
	mov	x24, x0
	mov	x23, sp
Lloh7:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh9:
	ldr	w12, [x8]
	mov	x9, x12
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x12, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	stp	x12, x8, [x29, #-104]           ; 16-byte Folded Spill
	mov	sp, x8
Lloh12:
	adrp	x8, _MAXHOSTNAMELEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAXHOSTNAMELEN@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	mov	x9, x27
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	ldr	x0, [x0]
	bl	_xstrdup
	mov	x28, x0
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_13
; %bb.4:
	mov	x26, x0
	strb	wzr, [x26], #1
	add	x0, x28, #1
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.5:
	mov	x22, x0
	stur	x21, [x29, #-128]               ; 8-byte Folded Spill
	stur	x23, [x29, #-112]               ; 8-byte Folded Spill
	strb	wzr, [x22], #1
	strb	wzr, [x25]
	mov	x0, x22
	mov	w1, #47
	bl	_strrchr
	cbz	x0, LBB0_8
; %bb.6:
	mov	x21, x0
Lloh17:
	adrp	x23, l_.str.2@PAGE
Lloh18:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x21, #1
	mov	x0, x25
	mov	x2, x27
	bl	_xstrlcat
	mov	x0, x25
	mov	x1, x23
	mov	x2, x27
	bl	_xstrlcat
	strb	wzr, [x21]
	mov	x0, x22
	mov	w1, #47
	bl	_strrchr
	mov	x21, x0
	cbnz	x0, LBB0_7
LBB0_8:
	mov	x0, x25
	mov	x1, x22
	mov	x2, x27
	bl	_xstrlcat
	ldrb	w8, [x25]
	ldur	x23, [x29, #-112]               ; 8-byte Folded Reload
	cbz	w8, LBB0_13
; %bb.9:
	ldrb	w8, [x26]
	cbz	w8, LBB0_13
; %bb.10:
	ldrb	w8, [x28]
	cbz	w8, LBB0_13
; %bb.11:
	mov	w21, #46
	mov	x0, x25
	mov	w1, #46
	bl	_strchr
	cbz	x0, LBB0_18
; %bb.12:
	mov	x22, x0
	strb	wzr, [x0]
	ldur	x27, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x27
	mov	w1, #58
	bl	_strchr
Lloh19:
	adrp	x8, l_.str.3@PAGE
Lloh20:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x0, #0
	csinc	x7, x8, x0, eq
	ldr	x6, [x24]
Lloh21:
	adrp	x2, l_.str.4@PAGE
Lloh22:
	add	x2, x2, l_.str.4@PAGEOFF
	ldp	x1, x24, [x29, #-104]           ; 16-byte Folded Reload
	mov	x0, x24
                                        ; kill: def $w1 killed $w1 killed $x1
	ldur	x3, [x29, #-120]                ; 8-byte Folded Reload
	mov	x4, x25
	mov	x5, x26
	bl	_xsnprintf
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x27
	mov	x2, x20
	mov	x3, x24
	bl	_dlog
	strb	w21, [x22]
	b	LBB0_19
LBB0_13:
	mov	sp, x23
	b	LBB0_15
LBB0_14:
	mov	x28, #0
LBB0_15:
	mov	x0, x28
	bl	_XFREE
Lloh25:
	adrp	x8, _ENOENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.17:
	sub	sp, x29, #80
	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
LBB0_18:
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x21
	mov	w1, #58
	bl	_strchr
Lloh31:
	adrp	x8, l_.str.3@PAGE
Lloh32:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x0, #0
	csinc	x7, x8, x0, eq
	ldr	x6, [x24]
Lloh33:
	adrp	x2, l_.str.4@PAGE
Lloh34:
	add	x2, x2, l_.str.4@PAGEOFF
	ldp	x1, x24, [x29, #-104]           ; 16-byte Folded Reload
	mov	x0, x24
                                        ; kill: def $w1 killed $w1 killed $x1
	ldur	x3, [x29, #-120]                ; 8-byte Folded Reload
	mov	x4, x25
	mov	x5, x26
	bl	_xsnprintf
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x24
	bl	_dlog
LBB0_19:
	mov	x0, x24
	bl	_xstrdup
	str	x0, [x19]
	mov	sp, x23
	mov	w0, #0
	b	LBB0_16
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/defaults"

l_.str.1:                               ; @.str.1
	.asciz	"type:=nfs"

	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_MAXHOSTNAMELEN,4,2             ; @MAXHOSTNAMELEN
l_.str.2:                               ; @.str.2
	.asciz	"."

l_.str.3:                               ; @.str.3
	.asciz	"type:=nfs;rfs:=/${var0}/${var1};rhost:=${var1};sublink:=${var2};fs:=${autodir}${var3}"

l_.str.4:                               ; @.str.4
	.asciz	"var0:=%s;var1:=%s;var2:=%s;var3:=%s;%s"

l_.str.5:                               ; @.str.5
	.asciz	"passwd_search: map=%s key=%s -> %s"

	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
