	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getResInfo                     ## -- Begin function getResInfo
	.p2align	4, 0x90
_getResInfo:                            ## @getResInfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_CountNameServers
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	cmpl	$0, -32(%rbp)
	je	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	-32(%rbp), %edx
	shll	$2, %edx
	movl	%eax, %edi
	callq	_HeapAlloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %rbx
	cmpl	$0, -32(%rbp)
	je	LBB0_10
## %bb.9:
	movl	$0, -32(%rbp)
	movq	%r14, -24(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_MakeNameServerList
	movq	%r14, 8(%rbx)
	movl	-32(%rbp), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_10
LBB0_6:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_10
## %bb.7:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_10:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getResInfo                     ; -- Begin function getResInfo
	.p2align	2
_getResInfo:                            ; @getResInfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [sp]
	mov	x0, sp
	bl	_CountNameServers
Lloh0:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	ldr	w8, [sp]
Lloh3:
	adrp	x20, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh4:
	ldr	x20, [x20, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	bl	_GetProcessHeap
	ldr	w1, [x20]
	ldr	w8, [sp]
	lsl	w2, w8, #2
	bl	_HeapAlloc
	mov	x19, x0
	cbnz	x0, LBB0_4
	b	LBB0_9
LBB0_3:
	mov	x19, #0
LBB0_4:
	bl	_GetProcessHeap
	ldr	w1, [x20]
	mov	w2, #4
	bl	_HeapAlloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
	ldr	w8, [sp]
	cbz	w8, LBB0_10
; %bb.6:
	str	wzr, [sp]
	str	x19, [sp, #8]
	mov	x0, sp
	bl	_MakeNameServerList
	str	x19, [x20, #8]
	ldr	w8, [sp]
	str	w8, [x20]
	b	LBB0_10
LBB0_7:
	cbz	x19, LBB0_9
; %bb.8:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
.subsections_via_symbols
