	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plt_init                       ## -- Begin function plt_init
	.p2align	4, 0x90
_plt_init:                              ## @plt_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_plt_reset
	testq	%rax, %rax
	js	LBB0_14
## %bb.1:
	movq	_XLOG_INFO@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
	xorl	%eax, %eax
	callq	_hlfsd_setpwent
	xorl	%eax, %eax
	callq	_hlfsd_getpwent
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r14
	movq	_root_home@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_hlfsd_getpwent
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	12(%rbx), %edi
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	callq	_table_add
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_STREQ
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_XFREE
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdi
	callq	_xstrdup
	movq	%rax, (%r12)
	movq	%rax, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %eax
	incq	%rax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rcx
	leal	-2(%rax), %edx
	cmpb	$47, (%rcx,%rdx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movb	$0, (%rcx,%rdx)
	decq	%rax
	cmpq	$1, %rax
	ja	LBB0_8
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	callq	_hlfsd_endpwent
	movq	_pwtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_cur_pwtab_num@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_plt_compare_fxn@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_qsort
	movq	_untab@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rbx), %esi
	movq	_unt_compare_fxn@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_qsort
	movq	_root_home@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	callq	_xstrdup
	movq	%rax, (%rbx)
LBB0_13:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_plog                           ## TAILCALL
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading password map"

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

	.comm	_root_home,8,3                  ## @root_home
	.comm	_pwtab,8,3                      ## @pwtab
	.comm	_cur_pwtab_num,4,2              ## @cur_pwtab_num
	.comm	_plt_compare_fxn,4,2            ## @plt_compare_fxn
	.comm	_untab,8,3                      ## @untab
	.comm	_unt_compare_fxn,4,2            ## @unt_compare_fxn
L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"password map read and sorted"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plt_init                       ; -- Begin function plt_init
	.p2align	2
_plt_init:                              ; @plt_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_plt_reset
	tbnz	x0, #63, LBB0_14
; %bb.1:
Lloh0:
	adrp	x21, _XLOG_INFO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _XLOG_INFO@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	bl	_hlfsd_setpwent
	bl	_hlfsd_getpwent
Lloh4:
	adrp	x22, _root_home@GOTPAGE
Lloh5:
	ldr	x22, [x22, _root_home@GOTPAGEOFF]
	cbz	x0, LBB0_11
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x19, l_.str.1@PAGE
Lloh7:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_hlfsd_getpwent
	mov	x20, x0
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x1, [x20]
	ldp	w2, w0, [x20, #8]
	bl	_table_add
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_STREQ
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_XFREE
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20]
	bl	_xstrdup
	str	x0, [x22]
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w0
	add	x8, x8, #1
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x22]
	sub	w10, w8, #2
	ldrb	w11, [x9, x10]
	cmp	w11, #47
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	strb	wzr, [x9, x10]
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_9
	b	LBB0_3
LBB0_11:
	bl	_hlfsd_endpwent
Lloh8:
	adrp	x8, _pwtab@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pwtab@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
Lloh11:
	adrp	x19, _cur_pwtab_num@GOTPAGE
Lloh12:
	ldr	x19, [x19, _cur_pwtab_num@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh13:
	adrp	x8, _plt_compare_fxn@GOTPAGE
Lloh14:
	ldr	x8, [x8, _plt_compare_fxn@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_qsort
Lloh16:
	adrp	x8, _untab@GOTPAGE
Lloh17:
	ldr	x8, [x8, _untab@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	ldr	w1, [x19]
Lloh19:
	adrp	x8, _unt_compare_fxn@GOTPAGE
Lloh20:
	ldr	x8, [x8, _unt_compare_fxn@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_qsort
	ldr	x8, [x22]
	cbnz	x8, LBB0_13
; %bb.12:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xstrdup
	str	x0, [x22]
LBB0_13:
	ldr	w0, [x21]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_plog
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading password map"

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

	.comm	_root_home,8,3                  ; @root_home
	.comm	_pwtab,8,3                      ; @pwtab
	.comm	_cur_pwtab_num,4,2              ; @cur_pwtab_num
	.comm	_plt_compare_fxn,4,2            ; @plt_compare_fxn
	.comm	_untab,8,3                      ; @untab
	.comm	_unt_compare_fxn,4,2            ; @unt_compare_fxn
l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"password map read and sorted"

.subsections_via_symbols
