	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_lookup6                 ## -- Begin function server_lookup6
	.p2align	4, 0x90
_server_lookup6:                        ## @server_lookup6
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	-112(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_PF_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	%r15d, -64(%rbp)
	leaq	-68(%rbp), %rdi
	leaq	16(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-72(%rbp), %rdi
	leaq	16(%r13), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	8(%rbx), %eax
	movl	%eax, -76(%rbp)
	movl	8(%r13), %eax
	movl	%eax, -80(%rbp)
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DIOCNATLOOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movl	$72, (%r12)
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r12)
	leaq	16(%r12), %rdi
	leaq	-100(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-108(%rbp), %eax
	movl	%eax, 8(%r12)
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_OUT,4,2                     ## @PF_OUT
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_dev,4,2                        ## @dev
	.comm	_DIOCNATLOOK,4,2                ## @DIOCNATLOOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_lookup6                 ; -- Begin function server_lookup6
	.p2align	2
_server_lookup6:                        ; @server_lookup6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	add	x23, sp, #8
	mov	w24, #72
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh0:
	adrp	x8, _PF_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AF_INET6@GOTPAGEOFF]
	str	w8, [sp, #72]
	ldr	x8, [x25]
	str	x8, [sp, #64]
	str	w20, [sp, #56]
	add	x0, x23, #44
	add	x1, x22, #16
	mov	w2, #4
	bl	_memcpy
	add	x0, x23, #40
	add	x1, x21, #16
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x22, #8]
	ldr	w9, [x21, #8]
	stp	w9, w8, [sp, #40]
Lloh5:
	adrp	x8, _dev@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _DIOCNATLOOK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DIOCNATLOOK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	str	w24, [x19]
	ldr	x8, [x25]
	str	x8, [x19, #24]
	add	x0, x19, #16
	add	x1, x23, #12
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_OUT,4,2                     ; @PF_OUT
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_dev,4,2                        ; @dev
	.comm	_DIOCNATLOOK,4,2                ; @DIOCNATLOOK
.subsections_via_symbols
