	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hlfsd_setpwent
_hlfsd_setpwent:                        ## @hlfsd_setpwent
	.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
	movq	_passwdfile@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	_passwd_fp@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_plog
	movq	_passwd_line@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_passwd_ent@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_pw_name@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	_pw_dir@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_setpwent                       ## TAILCALL
LBB0_4:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_plog                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_passwdfile,4,2                 ## @passwdfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_passwd_fp,4,2                  ## @passwd_fp
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"unable to read passwd file %s: %m"

	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"reading password entries from file %s"

	.comm	_passwd_line,8,3                ## @passwd_line
	.comm	_passwd_ent,16,3                ## @passwd_ent
	.comm	_pw_name,4,2                    ## @pw_name
	.comm	_pw_dir,4,2                     ## @pw_dir
	.no_dead_strip	_hlfsd_setpwent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hlfsd_setpwent
_hlfsd_setpwent:                        ; @hlfsd_setpwent
	.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
Lloh0:
	adrp	x19, _passwdfile@GOTPAGE
Lloh1:
	ldr	x19, [x19, _passwdfile@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
Lloh4:
	adrp	x8, _passwd_fp@GOTPAGE
Lloh5:
	ldr	x8, [x8, _passwd_fp@GOTPAGEOFF]
Lloh6:
	str	w0, [x8]
	cbz	w0, LBB0_4
; %bb.2:
Lloh7:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_plog
Lloh12:
	adrp	x8, _passwd_line@GOTPAGE
Lloh13:
	ldr	x8, [x8, _passwd_line@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x19, _passwd_ent@GOTPAGE
Lloh16:
	ldr	x19, [x19, _passwd_ent@GOTPAGEOFF]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh17:
	adrp	x8, _pw_name@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pw_name@GOTPAGEOFF]
Lloh19:
	adrp	x9, _pw_dir@GOTPAGE
Lloh20:
	ldr	x9, [x9, _pw_dir@GOTPAGEOFF]
	stp	x8, x9, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_setpwent
LBB0_4:
Lloh21:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_plog
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_passwdfile,4,2                 ; @passwdfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_passwd_fp,4,2                  ; @passwd_fp
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"unable to read passwd file %s: %m"

	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"reading password entries from file %s"

	.comm	_passwd_line,8,3                ; @passwd_line
	.comm	_passwd_ent,16,3                ; @passwd_ent
	.comm	_pw_name,4,2                    ; @pw_name
	.comm	_pw_dir,4,2                     ; @pw_dir
	.no_dead_strip	_hlfsd_setpwent
.subsections_via_symbols
