	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_setservers                 ## -- Begin function res_setservers
	.p2align	4, 0x90
_res_setservers:                        ## @res_setservers
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_res_nclose
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 24(%r14)
	xorl	%r13d, %r13d
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.1:
	movq	_MAXNS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	xorl	%r13d, %r13d
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$129, (%rbx)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movslq	%r13d, %r12
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%r12,4), %rdi
	addq	(%rax), %rdi
	movl	$4, %edx
	movq	%rbx, %rsi
	callq	_memcpy
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	shlq	$2, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %r12
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	incl	%r13d
	movq	_MAXNS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, %r14d
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %rbx
	incl	%r14d
	cmpl	%eax, %r13d
	jl	LBB0_3
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXNS,4,2                      ## @MAXNS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_res_setservers                 ; -- Begin function res_setservers
	.p2align	2
_res_setservers:                        ; @res_setservers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_res_nclose
	mov	w22, #0
	str	xzr, [x19, #24]
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.1:
Lloh0:
	adrp	x23, _MAXNS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAXNS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	w22, #0
	mov	w24, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	cmp	w9, #129
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	mov	x9, x22
	sxtw	x25, w9
	add	x0, x8, w22, sxtw #2
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x25, w22
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x25, lsl #2
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	add	w22, w22, #1
	ldr	w8, [x23]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w20
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #4
	add	w24, w24, #1
	cmp	w22, w8
	b.lt	LBB0_3
LBB0_10:
	str	w22, [x19]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXNS,4,2                      ; @MAXNS
.subsections_via_symbols
