	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pick_salt
_pick_salt:                             ## @pick_salt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpb	$0, _pick_salt.salt(%rip)
	jne	LBB0_7
## %bb.1:
	leaq	_pick_salt.salt(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$32, %edx
	callq	_strlcpy
	xorl	%eax, %eax
	callq	_setpwent
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getpwent
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_shadow_pw
	cmpb	$36, (%rax)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	leaq	1(%rax), %rdi
	movl	$36, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	subq	%rbx, %rax
	incq	%rax
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_MIN
	leaq	_pick_salt.salt(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_explicit_bzero
LBB0_6:
	xorl	%eax, %eax
	callq	_endpwent
LBB0_7:
	leaq	_pick_salt.salt(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_pick_salt.salt,32,4 ## @pick_salt.salt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xx"

	.no_dead_strip	_pick_salt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pick_salt
_pick_salt:                             ; @pick_salt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x8, _pick_salt.salt@PAGE
	ldrb	w8, [x8, _pick_salt.salt@PAGEOFF]
	cbnz	w8, LBB0_7
; %bb.1:
Lloh0:
	adrp	x0, _pick_salt.salt@PAGE
Lloh1:
	add	x0, x0, _pick_salt.salt@PAGEOFF
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #32
	bl	_strlcpy
	bl	_setpwent
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_getpwent
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_shadow_pw
	ldrb	w8, [x0]
	cmp	w8, #36
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x19, x0
	add	x0, x0, #1
	mov	w1, #36
	bl	_strrchr
	cbz	x0, LBB0_2
; %bb.5:
	sub	x8, x0, x19
	add	x0, x8, #1
	mov	w1, #32
	bl	_MIN
	mov	x2, x0
Lloh4:
	adrp	x0, _pick_salt.salt@PAGE
Lloh5:
	add	x0, x0, _pick_salt.salt@PAGEOFF
	mov	x1, x19
	bl	_strlcpy
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_explicit_bzero
LBB0_6:
	bl	_endpwent
LBB0_7:
Lloh6:
	adrp	x0, _pick_salt.salt@PAGE
Lloh7:
	add	x0, x0, _pick_salt.salt@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_pick_salt.salt,32,0 ; @pick_salt.salt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xx"

	.no_dead_strip	_pick_salt
.subsections_via_symbols
