	.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	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_strdup
	xorl	%edi, %edi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_3:
	movq	_hints@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r12d, (%rbx)
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	_method@GOTPCREL(%rip), %rax
	movl	$129, (%rax)
LBB0_5:
	movq	_addrinfo@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_clone_addrinfo@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_free_addrinfo@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	-48(%rbp), %rsi
	callq	_TEST_DATA_INIT
	movl	(%rbx), %edi
	movl	(%r14), %edx
	movl	(%r12), %ecx
	leaq	-56(%rbp), %rsi
	callq	_TEST_DATA_INIT
	movq	_R_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_access
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	callq	_ATF_REQUIRE_MSG
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	callq	_printf
	movl	(%rbx), %edi
	movq	_addrinfo_read_hostlist_func@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rsi
	leaq	-48(%rbp), %rdx
	callq	_TEST_SNAPSHOT_FILE_READ
	testl	%eax, %eax
	je	LBB0_6
LBB0_20:
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	_TEST_DATA_DESTROY
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_TEST_DATA_DESTROY
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%r15, %r15
	je	LBB0_13
## %bb.7:
	movq	_W_OK@GOTPCREL(%rip), %rax
	movl	(%r14), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_access
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	_method@GOTPCREL(%rip), %rax
	movl	$129, (%rax)
	jmp	LBB0_18
LBB0_11:
	movl	(%rbx), %edi
	movq	_addrinfo_read_snapshot_func@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_TEST_SNAPSHOT_FILE_READ
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_20
LBB0_13:
	movq	_method@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_17
## %bb.14:
	cmpl	$128, %eax
	jne	LBB0_20
## %bb.15:
	testq	%r15, %r15
	je	LBB0_20
## %bb.16:
	movl	(%rbx), %edi
	movq	_compare_addrinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_DO_2PASS_TEST
	jmp	LBB0_19
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_printf
	jmp	LBB0_20
LBB0_17:
	testq	%r15, %r15
	je	LBB0_20
LBB0_18:
	movl	(%rbx), %edi
	movq	_sdump_addrinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rsi
	callq	_TEST_SNAPSHOT_FILE_WRITE
LBB0_19:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ATF_CHECK
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_hints,8,2                      ## @hints
	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.comm	_method,4,2                     ## @method
	.comm	_addrinfo,4,2                   ## @addrinfo
	.comm	_clone_addrinfo,4,2             ## @clone_addrinfo
	.comm	_free_addrinfo,4,2              ## @free_addrinfo
	.comm	_R_OK,4,2                       ## @R_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't access the hostlist file %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"building host lists from %s\n"

	.comm	_addrinfo_read_hostlist_func,4,2 ## @addrinfo_read_hostlist_func
	.comm	_W_OK,4,2                       ## @W_OK
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"can't access the snapshot file %s\n"

	.comm	_addrinfo_read_snapshot_func,4,2 ## @addrinfo_read_snapshot_func
L_.str.3:                               ## @.str.3
	.asciz	"error reading snapshot file: %s\n"

	.comm	_compare_addrinfo,4,2           ## @compare_addrinfo
	.comm	_sdump_addrinfo,4,2             ## @sdump_addrinfo
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_strdup
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	b	LBB0_3
LBB0_2:
	mov	x19, #0
LBB0_3:
Lloh0:
	adrp	x23, _hints@GOTPAGE
Lloh1:
	ldr	x23, [x23, _hints@GOTPAGEOFF]
	mov	x0, x23
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh2:
	adrp	x8, _AI_CANONNAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AI_CANONNAME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w22, w8, [x23]
	cbz	x20, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _method@GOTPAGE
Lloh6:
	ldr	x8, [x8, _method@GOTPAGEOFF]
	mov	w9, #129
Lloh7:
	str	w9, [x8]
LBB0_5:
Lloh8:
	adrp	x22, _addrinfo@GOTPAGE
Lloh9:
	ldr	x22, [x22, _addrinfo@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh10:
	adrp	x23, _clone_addrinfo@GOTPAGE
Lloh11:
	ldr	x23, [x23, _clone_addrinfo@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh12:
	adrp	x24, _free_addrinfo@GOTPAGE
Lloh13:
	ldr	x24, [x24, _free_addrinfo@GOTPAGEOFF]
	ldr	w3, [x24]
	add	x1, sp, #8
	bl	_TEST_DATA_INIT
	ldr	w0, [x22]
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x1, sp
	bl	_TEST_DATA_INIT
Lloh14:
	adrp	x23, _R_OK@GOTPAGE
Lloh15:
	ldr	x23, [x23, _R_OK@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x21
	bl	_access
	cmp	x0, #0
	cset	w0, eq
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_ATF_REQUIRE_MSG
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_printf
	ldr	w0, [x22]
Lloh20:
	adrp	x8, _addrinfo_read_hostlist_func@GOTPAGE
Lloh21:
	ldr	x8, [x8, _addrinfo_read_hostlist_func@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x1, x21
	bl	_TEST_SNAPSHOT_FILE_READ
	cbz	w0, LBB0_7
LBB0_6:
	ldr	w0, [x22]
	mov	x1, sp
	bl	_TEST_DATA_DESTROY
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_TEST_DATA_DESTROY
	mov	x0, x19
	bl	_free
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	cbz	x20, LBB0_13
; %bb.8:
Lloh23:
	adrp	x8, _W_OK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _W_OK@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_access
	cbz	x0, LBB0_11
; %bb.9:
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _ENOENT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.10:
Lloh32:
	adrp	x8, _method@GOTPAGE
Lloh33:
	ldr	x8, [x8, _method@GOTPAGEOFF]
	mov	w9, #129
Lloh34:
	str	w9, [x8]
	b	LBB0_19
LBB0_11:
	ldr	w0, [x22]
Lloh35:
	adrp	x8, _addrinfo_read_snapshot_func@GOTPAGE
Lloh36:
	ldr	x8, [x8, _addrinfo_read_snapshot_func@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	mov	x2, sp
	mov	x1, x20
	bl	_TEST_SNAPSHOT_FILE_READ
	cbz	w0, LBB0_13
; %bb.12:
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	b	LBB0_6
LBB0_13:
Lloh43:
	adrp	x8, _method@GOTPAGE
Lloh44:
	ldr	x8, [x8, _method@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w8, #129
	b.eq	LBB0_18
; %bb.14:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.15:
	cbz	x20, LBB0_6
; %bb.16:
	ldr	w0, [x22]
Lloh46:
	adrp	x8, _compare_addrinfo@GOTPAGE
Lloh47:
	ldr	x8, [x8, _compare_addrinfo@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x2, sp
	mov	x4, #0
	bl	_DO_2PASS_TEST
	b	LBB0_20
LBB0_17:
Lloh49:
	adrp	x0, l_.str.2@PAGE
Lloh50:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_printf
	b	LBB0_6
LBB0_18:
	cbz	x20, LBB0_6
LBB0_19:
	ldr	w0, [x22]
Lloh51:
	adrp	x8, _sdump_addrinfo@GOTPAGE
Lloh52:
	ldr	x8, [x8, _sdump_addrinfo@GOTPAGEOFF]
Lloh53:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x1, x20
	bl	_TEST_SNAPSHOT_FILE_WRITE
LBB0_20:
	cmp	w0, #0
	cset	w0, eq
	bl	_ATF_CHECK
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_hints,8,2                      ; @hints
	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.comm	_method,4,2                     ; @method
	.comm	_addrinfo,4,2                   ; @addrinfo
	.comm	_clone_addrinfo,4,2             ; @clone_addrinfo
	.comm	_free_addrinfo,4,2              ; @free_addrinfo
	.comm	_R_OK,4,2                       ; @R_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't access the hostlist file %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"building host lists from %s\n"

	.comm	_addrinfo_read_hostlist_func,4,2 ; @addrinfo_read_hostlist_func
	.comm	_W_OK,4,2                       ; @W_OK
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"can't access the snapshot file %s\n"

	.comm	_addrinfo_read_snapshot_func,4,2 ; @addrinfo_read_snapshot_func
l_.str.3:                               ; @.str.3
	.asciz	"error reading snapshot file: %s\n"

	.comm	_compare_addrinfo,4,2           ; @compare_addrinfo
	.comm	_sdump_addrinfo,4,2             ; @sdump_addrinfo
	.no_dead_strip	_run_tests
.subsections_via_symbols
