	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_tests
_run_tests:                             ## @run_tests
	.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
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_passwd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_clone_passwd@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_free_passwd@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	-48(%rbp), %rsi
	callq	_TEST_DATA_INIT
	movl	(%rbx), %edi
	movq	%r15, %rbx
	movl	(%r15), %edx
	movl	(%r12), %ecx
	leaq	-56(%rbp), %rsi
	callq	_TEST_DATA_INIT
	testq	%r14, %r14
	je	LBB0_6
## %bb.1:
	movq	_W_OK@GOTPCREL(%rip), %rax
	movq	_R_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	callq	_access
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	$132, %r13d
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_printf
	movl	$-1, %r15d
	jmp	LBB0_27
LBB0_4:
	xorl	%r15d, %r15d
	cmpl	$132, %r13d
	je	LBB0_27
## %bb.5:
	movq	_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_passwd_read_snapshot_func@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdx
	movq	%r14, %rsi
	callq	_TEST_SNAPSHOT_FILE_READ
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_passwd_fill_test_data
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.8:
	addl	$-128, %r13d
	cmpl	$4, %r13d
	ja	LBB0_9
## %bb.10:
	movl	%eax, %r15d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_15:
	movq	_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_passwd_test_getpwuid@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movl	$-1, %r15d
	jmp	LBB0_28
LBB0_9:
	xorl	%r15d, %r15d
	jmp	LBB0_27
LBB0_11:
	movq	_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_passwd_test_getpwnam@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %edx
	testq	%r14, %r14
	je	LBB0_13
## %bb.16:
	leaq	-56(%rbp), %rcx
	jmp	LBB0_14
LBB0_20:
	movq	_passwd@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %edx
	movl	(%r12), %ecx
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_TEST_DATA_INIT
	movq	%rbx, %rdi
	callq	_passwd_fill_test_data
	cmpl	$-1, %eax
	je	LBB0_21
## %bb.22:
	movl	(%r14), %edi
	movq	_compare_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_DO_2PASS_TEST
	movl	%eax, %r15d
	jmp	LBB0_23
LBB0_17:
	movq	_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%r14, %r14
	je	LBB0_18
## %bb.19:
	movq	_compare_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_DO_2PASS_TEST
	jmp	LBB0_26
LBB0_24:
	testq	%r14, %r14
	je	LBB0_27
## %bb.25:
	movq	_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sdump_passwd@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r14, %rsi
	callq	_TEST_SNAPSHOT_FILE_WRITE
	jmp	LBB0_26
LBB0_21:
	movl	$-1, %r15d
LBB0_23:
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_TEST_DATA_DESTROY
	jmp	LBB0_27
LBB0_18:
	movq	_passwd_test_getpwent@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_13:
	leaq	-48(%rbp), %rcx
LBB0_14:
	movq	%rcx, %rsi
	callq	_DO_1PASS_TEST
LBB0_26:
	movl	%eax, %r15d
LBB0_27:
	movq	_passwd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	_TEST_DATA_DESTROY
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_TEST_DATA_DESTROY
LBB0_28:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_20
	.long	L0_0_set_17
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_passwd,4,2                     ## @passwd
	.comm	_clone_passwd,4,2               ## @clone_passwd
	.comm	_free_passwd,4,2                ## @free_passwd
	.comm	_W_OK,4,2                       ## @W_OK
	.comm	_R_OK,4,2                       ## @R_OK
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't access the file %s\n"

	.comm	_passwd_read_snapshot_func,4,2  ## @passwd_read_snapshot_func
	.comm	_passwd_test_getpwnam,4,2       ## @passwd_test_getpwnam
	.comm	_passwd_test_getpwuid,4,2       ## @passwd_test_getpwuid
	.comm	_passwd_test_getpwent,4,2       ## @passwd_test_getpwent
	.comm	_compare_passwd,4,2             ## @compare_passwd
	.comm	_sdump_passwd,4,2               ## @sdump_passwd
	.no_dead_strip	_run_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_tests
_run_tests:                             ; @run_tests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _passwd@GOTPAGE
Lloh1:
	ldr	x22, [x22, _passwd@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x23, _clone_passwd@GOTPAGE
Lloh3:
	ldr	x23, [x23, _clone_passwd@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh4:
	adrp	x24, _free_passwd@GOTPAGE
Lloh5:
	ldr	x24, [x24, _free_passwd@GOTPAGEOFF]
	ldr	w3, [x24]
	add	x1, sp, #24
	bl	_TEST_DATA_INIT
	ldr	w0, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	add	x1, sp, #16
	bl	_TEST_DATA_INIT
	cbz	x19, LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _W_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _W_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _R_OK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _R_OK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_access
	cbz	x0, LBB0_4
; %bb.2:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _ENOENT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	mov	w21, #132
	b	LBB0_6
LBB0_4:
	cmp	w21, #132
	b.eq	LBB0_11
; %bb.5:
	ldr	w0, [x22]
Lloh18:
	adrp	x8, _passwd_read_snapshot_func@GOTPAGE
Lloh19:
	ldr	x8, [x8, _passwd_read_snapshot_func@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	add	x2, sp, #16
	mov	x1, x19
	bl	_TEST_SNAPSHOT_FILE_READ
LBB0_6:
	add	x0, sp, #24
	bl	_passwd_fill_test_data
	mov	x20, x0
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.7:
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_11
; %bb.8:
Lloh21:
	adrp	x9, lJTI0_0@PAGE
Lloh22:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	ldr	w0, [x22]
Lloh23:
	adrp	x8, _passwd_test_getpwuid@GOTPAGE
Lloh24:
	ldr	x8, [x8, _passwd_test_getpwuid@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	cbnz	x19, LBB0_13
	b	LBB0_23
LBB0_10:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
	mov	w20, #-1
	b	LBB0_26
LBB0_11:
	mov	w20, #0
	b	LBB0_26
LBB0_12:
	ldr	w0, [x22]
Lloh28:
	adrp	x8, _passwd_test_getpwnam@GOTPAGE
Lloh29:
	ldr	x8, [x8, _passwd_test_getpwnam@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	cbz	x19, LBB0_23
LBB0_13:
	add	x1, sp, #16
	add	x3, sp, #16
	b	LBB0_24
LBB0_14:
	ldr	w0, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	add	x1, sp, #8
	bl	_TEST_DATA_INIT
	add	x0, sp, #8
	bl	_passwd_fill_test_data
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.15:
	ldr	w0, [x22]
Lloh31:
	adrp	x8, _compare_passwd@GOTPAGE
Lloh32:
	ldr	x8, [x8, _compare_passwd@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	x4, #0
	bl	_DO_2PASS_TEST
	mov	x20, x0
	b	LBB0_21
LBB0_16:
	ldr	w0, [x22]
	cbz	x19, LBB0_22
; %bb.17:
Lloh34:
	adrp	x8, _compare_passwd@GOTPAGE
Lloh35:
	ldr	x8, [x8, _compare_passwd@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x4, #0
	bl	_DO_2PASS_TEST
	b	LBB0_25
LBB0_18:
	cbz	x19, LBB0_26
; %bb.19:
	ldr	w0, [x22]
Lloh37:
	adrp	x8, _sdump_passwd@GOTPAGE
Lloh38:
	ldr	x8, [x8, _sdump_passwd@GOTPAGEOFF]
Lloh39:
	ldr	w3, [x8]
	add	x2, sp, #24
	mov	x1, x19
	bl	_TEST_SNAPSHOT_FILE_WRITE
	b	LBB0_25
LBB0_20:
	mov	w20, #-1
LBB0_21:
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_TEST_DATA_DESTROY
	b	LBB0_26
LBB0_22:
Lloh40:
	adrp	x8, _passwd_test_getpwent@GOTPAGE
Lloh41:
	ldr	x8, [x8, _passwd_test_getpwent@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
LBB0_23:
	add	x1, sp, #24
	add	x3, sp, #24
LBB0_24:
	bl	_DO_1PASS_TEST
LBB0_25:
	mov	x20, x0
LBB0_26:
	ldr	w0, [x22]
	add	x1, sp, #16
	bl	_TEST_DATA_DESTROY
	ldr	w0, [x22]
	add	x1, sp, #24
	bl	_TEST_DATA_DESTROY
LBB0_27:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
                                        ; -- End function
	.comm	_passwd,4,2                     ; @passwd
	.comm	_clone_passwd,4,2               ; @clone_passwd
	.comm	_free_passwd,4,2                ; @free_passwd
	.comm	_W_OK,4,2                       ; @W_OK
	.comm	_R_OK,4,2                       ; @R_OK
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't access the file %s\n"

	.comm	_passwd_read_snapshot_func,4,2  ; @passwd_read_snapshot_func
	.comm	_passwd_test_getpwnam,4,2       ; @passwd_test_getpwnam
	.comm	_passwd_test_getpwuid,4,2       ; @passwd_test_getpwuid
	.comm	_passwd_test_getpwent,4,2       ; @passwd_test_getpwent
	.comm	_compare_passwd,4,2             ; @compare_passwd
	.comm	_sdump_passwd,4,2               ; @sdump_passwd
	.no_dead_strip	_run_tests
.subsections_via_symbols
