	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_ipv6_for_domain_test_impl
_http_ipv6_for_domain_test_impl:        ## @http_ipv6_for_domain_test_impl
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$0, -116(%rbp)
	movl	(%rdi), %edi
	movq	_ipv6_search_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-116(%rbp), %rsi
	callq	_regress_dnsserver
	movq	%rax, %rdi
	callq	_tt_assert
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_evdns_base_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_tt_assert
	movl	-116(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	movl	$64, %esi
	callq	_evutil_snprintf
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_evdns_base_nameserver_ip_add
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	movl	$1, %r8d
	movl	%r14d, %r9d
	callq	_http_connection_test_
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evdns_base_free
LBB0_2:
	xorl	%eax, %eax
	callq	_regress_clean_dnsserver
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ipv6_search_table,4,2          ## @ipv6_search_table
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"127.0.0.1:%d"

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

	.no_dead_strip	_http_ipv6_for_domain_test_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_ipv6_for_domain_test_impl
_http_ipv6_for_domain_test_impl:        ; @http_ipv6_for_domain_test_impl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	wzr, [sp, #4]
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _ipv6_search_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ipv6_search_table@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #4
	bl	_regress_dnsserver
	bl	_tt_assert
	ldr	w0, [x21]
	mov	w1, #0
	bl	_evdns_base_new
	mov	x19, x0
	bl	_tt_assert
	ldr	w3, [sp, #4]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	bl	_evutil_snprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_evdns_base_nameserver_ip_add
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #0
	mov	x3, x19
	mov	w4, #1
	mov	x5, x20
	bl	_http_connection_test_
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_evdns_base_free
LBB0_2:
	bl	_regress_clean_dnsserver
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ipv6_search_table,4,2          ; @ipv6_search_table
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"127.0.0.1:%d"

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

	.no_dead_strip	_http_ipv6_for_domain_test_impl
.subsections_via_symbols
