	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function res_searchN
_res_searchN:                           ## @res_searchN
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_MAXDNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r13, %rdi
	movl	$130, %esi
	callq	_RES_SET_H_ERRNO
	movb	(%rbx), %dl
	testb	%dl, %dl
	je	LBB0_1
## %bb.4:
	xorl	%eax, %eax
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	cmpb	$46, %dl
	sete	%sil
	addq	%rsi, %rax
	movzbl	1(%rcx), %edx
	incq	%rcx
	testb	%dl, %dl
	jne	LBB0_5
## %bb.6:
	cmpq	%rbx, %rcx
	jbe	LBB0_7
## %bb.8:
	cmpb	$46, -1(%rcx)
	sete	%r15b
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_2
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_2
LBB0_7:
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_2
LBB0_10:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_2:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_res_hostalias
	testq	%rax, %rax
	je	LBB0_3
## %bb.60:
	movq	%rax, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_res_queryN
	movl	%eax, %ebx
	jmp	LBB0_58
LBB0_3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
LBB0_11:
	cmpq	(%r13), %rax
	setge	%r12b
	orb	%r15b, %r12b
	movl	$-1, %edx
	cmpb	$1, %r12b
	jne	LBB0_19
## %bb.12:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_res_querydomainN
	movl	%eax, %ebx
	testl	%eax, %eax
	setg	%al
	orb	%r15b, %al
	jne	LBB0_58
## %bb.13:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_14:
	movq	%r13, %rdi
	movl	$128, %esi
	jmp	LBB0_15
LBB0_16:
	movl	8(%r13), %edx
	leal	-129(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_19
## %bb.17:
	movl	$-1, %ebx
	cmpl	$128, %edx
	jne	LBB0_58
## %bb.18:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_SERVFAIL@GOTPCREL(%rip), %rcx
	movl	$128, %edx
	cmpl	(%rcx), %eax
	jne	LBB0_58
LBB0_19:
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	cmpb	$0, -60(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_23
## %bb.20:
	movq	_RES_DEFNAMES@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_23:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r14d
	movl	$0, %ecx
	testb	%r15b, %r15b
	jne	LBB0_44
## %bb.24:
	movq	_RES_DNSRCH@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	testl	%eax, 12(%r13)
	je	LBB0_22
## %bb.25:
	movq	16(%r13), %r15
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.26:
	addq	$8, %r15
	xorl	%r14d, %r14d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %eax
	testb	%al, %al
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpb	$46, %al
	jne	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpb	$0, 1(%rsi)
	jne	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	incl	%r14d
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=1
	testl	%r14d, %r14d
	setne	%cl
	xorl	%eax, %eax
	testb	%r12b, %cl
	jne	LBB0_42
## %bb.32:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_res_querydomainN
	testl	%eax, %eax
	jg	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.35:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	8(%r13), %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpl	$130, %ecx
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_27 Depth=1
	cmpl	$129, %ecx
	jne	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_27 Depth=1
	incl	-56(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_27 Depth=1
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movq	_SERVFAIL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	$1, %eax
LBB0_41:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	_RES_DNSRCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	12(%r13), %ecx
	cmpl	$1, %ecx
	adcl	$0, %eax
LBB0_42:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	(%r15), %rsi
	movb	$1, %cl
	testq	%rsi, %rsi
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_27 Depth=1
	addq	$8, %r15
	testl	%eax, %eax
	je	LBB0_27
	jmp	LBB0_44
LBB0_22:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
LBB0_44:
	movl	8(%r13), %eax
	leal	-129(%rax), %edx
	cmpl	$2, %edx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jb	LBB0_47
## %bb.45:
	cmpl	$128, %eax
	jne	LBB0_52
## %bb.46:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	_SERVFAIL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_52
LBB0_47:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	andb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_49
## %bb.48:
	movq	_RES_NOTLDQUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r13)
	setne	%al
	orb	%r12b, %al
	cmpb	$1, %al
	jne	LBB0_50
	jmp	LBB0_52
LBB0_49:
	testb	%r12b, %r12b
	jne	LBB0_52
LBB0_50:
	testl	%r14d, %r14d
	jne	LBB0_52
## %bb.51:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_res_querydomainN
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jg	LBB0_58
LBB0_52:
	cmpl	$-1, %esi
	je	LBB0_54
## %bb.53:
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_15
LBB0_54:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_56
## %bb.55:
	movq	%r13, %rdi
	movl	$129, %esi
LBB0_15:
	callq	_RES_SET_H_ERRNO
	movl	$-1, %ebx
LBB0_58:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_61
## %bb.59:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_56:
	movl	$-1, %ebx
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_58
## %bb.57:
	movq	%r13, %rdi
	movl	$128, %esi
	callq	_RES_SET_H_ERRNO
	jmp	LBB0_58
LBB0_33:
	movl	%eax, %ebx
	jmp	LBB0_58
LBB0_61:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXDNAME,4,2                   ## @MAXDNAME
	.comm	_errno,8,3                      ## @errno
	.comm	_ECONNREFUSED,8,3               ## @ECONNREFUSED
	.comm	_SERVFAIL,4,2                   ## @SERVFAIL
	.comm	_RES_DEFNAMES,4,2               ## @RES_DEFNAMES
	.comm	_RES_DNSRCH,4,2                 ## @RES_DNSRCH
	.comm	_RES_NOTLDQUERY,4,2             ## @RES_NOTLDQUERY
	.no_dead_strip	_res_searchN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function res_searchN
_res_searchN:                           ; @res_searchN
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x2
	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, #-88]
	ldr	x24, [x1]
Lloh3:
	adrp	x8, _MAXDNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXDNAME@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
Lloh8:
	adrp	x25, _errno@GOTPAGE
Lloh9:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	str	xzr, [x25]
	mov	x0, x2
	mov	w1, #130
	bl	_RES_SET_H_ERRNO
	ldrb	w10, [x21]
	cbz	w10, LBB0_5
; %bb.1:
	mov	x8, #0
	mov	x9, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #46
	cinc	x8, x8, eq
	ldrb	w10, [x9, #1]!
	cbnz	w10, LBB0_2
; %bb.3:
	cmp	x9, x21
	b.ls	LBB0_6
; %bb.4:
	ldurb	w9, [x9, #-1]
	cmp	w9, #46
	cset	w27, eq
	cbnz	x8, LBB0_7
	b	LBB0_8
LBB0_5:
	mov	w27, #0
	b	LBB0_8
LBB0_6:
	mov	w27, #0
	cbz	x8, LBB0_8
LBB0_7:
	mov	w23, #0
	b	LBB0_11
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_res_hostalias
	cbz	x0, LBB0_10
; %bb.9:
	mov	x1, x20
	mov	x2, x19
	bl	_res_queryN
	b	LBB0_61
LBB0_10:
	mov	x8, #0
	mov	w23, #1
LBB0_11:
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w8, ge
	orr	w26, w27, w8
	cmp	w26, #1
	b.ne	LBB0_18
; %bb.12:
	mov	x0, x21
	mov	x1, #0
	mov	x2, x20
	mov	x3, x19
	bl	_res_querydomainN
	cmp	w0, #0
	cset	w8, gt
	orr	w8, w27, w8
	tbnz	w8, #0, LBB0_61
; %bb.13:
	ldr	x8, [x25]
Lloh10:
	adrp	x9, _ECONNREFUSED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ECONNREFUSED@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_58
; %bb.14:
	ldr	w9, [x19, #8]
	sub	w8, w9, #129
	cmp	w8, #2
	b.lo	LBB0_19
; %bb.15:
	cmp	w9, #128
	b.ne	LBB0_60
; %bb.16:
	ldr	w8, [x24]
Lloh13:
	adrp	x9, _SERVFAIL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SERVFAIL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_60
; %bb.17:
	mov	w9, #128
	b	LBB0_19
LBB0_18:
	mov	w9, #-1
LBB0_19:
	stur	w9, [x29, #-96]                 ; 4-byte Folded Spill
	cbz	w23, LBB0_21
; %bb.20:
	ldr	w8, [x19, #12]
Lloh16:
	adrp	x9, _RES_DEFNAMES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RES_DEFNAMES@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
	tbnz	w27, #0, LBB0_44
; %bb.22:
	ldr	w8, [x19, #12]
Lloh18:
	adrp	x9, _RES_DNSRCH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RES_DNSRCH@GOTPAGEOFF]
LBB0_23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_44
; %bb.24:
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	cbz	x1, LBB0_44
; %bb.25:
	mov	w22, #0
	stur	wzr, [x29, #-92]                ; 4-byte Folded Spill
	mov	w27, #0
	add	x28, x8, #8
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x1]
	cbz	w8, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w8, #46
	b.ne	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	ldrb	w8, [x1, #1]
	cbnz	w8, LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_26 Depth=1
	add	w22, w22, #1
LBB0_30:                                ;   in Loop: Header=BB0_26 Depth=1
	cmp	w22, #0
	cset	w8, ne
	and	w8, w8, w26
	tbz	w8, #0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w9, #0
	b	LBB0_42
LBB0_32:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_res_querydomainN
	cmp	w0, #0
	b.gt	LBB0_61
; %bb.33:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x25]
Lloh20:
	adrp	x9, _ECONNREFUSED@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ECONNREFUSED@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_58
; %bb.34:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #128
	b.eq	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w8, #130
	b.eq	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w8, #129
	b.ne	LBB0_40
; %bb.37:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w8, #0
	add	w27, w27, #1
	b	LBB0_41
LBB0_38:                                ;   in Loop: Header=BB0_26 Depth=1
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	add	w8, w8, #1
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	ldr	w8, [x24]
Lloh23:
	adrp	x9, _SERVFAIL@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SERVFAIL@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w8, #0
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w8, #1
LBB0_41:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w9, [x19, #12]
Lloh26:
	adrp	x10, _RES_DNSRCH@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RES_DNSRCH@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	tst	w10, w9
	cinc	w9, w8, eq
LBB0_42:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x1, [x28], #8
	mov	w8, #1
	cbz	x1, LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_26 Depth=1
	cbz	w9, LBB0_26
	b	LBB0_45
LBB0_44:
	mov	w27, #0
	stur	wzr, [x29, #-92]                ; 4-byte Folded Spill
	mov	w22, #0
	mov	w8, #0
LBB0_45:
	ldr	w9, [x19, #8]
	sub	w10, w9, #129
	cmp	w10, #2
	b.lo	LBB0_48
; %bb.46:
	cmp	w9, #128
	b.ne	LBB0_53
; %bb.47:
	ldr	w9, [x24]
Lloh29:
	adrp	x10, _SERVFAIL@GOTPAGE
Lloh30:
	ldr	x10, [x10, _SERVFAIL@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_53
LBB0_48:
	and	w8, w23, w8
	cmp	w8, #1
	b.ne	LBB0_50
; %bb.49:
	ldr	w8, [x19, #12]
Lloh32:
	adrp	x9, _RES_NOTLDQUERY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RES_NOTLDQUERY@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	orr	w8, w8, w26
	cmp	w8, #1
	ccmp	w22, #0, #0, ne
	b.eq	LBB0_52
	b	LBB0_53
LBB0_50:
	tbnz	w26, #0, LBB0_53
; %bb.51:
	cbnz	w22, LBB0_53
LBB0_52:
	mov	x0, x21
	mov	x1, #0
	mov	x2, x20
	mov	x3, x19
	bl	_res_querydomainN
	cmp	w0, #0
	b.gt	LBB0_61
LBB0_53:
	ldur	w1, [x29, #-96]                 ; 4-byte Folded Reload
	cmn	w1, #1
	b.eq	LBB0_55
; %bb.54:
	mov	x0, x19
	b	LBB0_59
LBB0_55:
	cbz	w27, LBB0_57
; %bb.56:
	mov	x0, x19
	mov	w1, #129
	b	LBB0_59
LBB0_57:
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cbz	w8, LBB0_60
LBB0_58:
	mov	x0, x19
	mov	w1, #128
LBB0_59:
	bl	_RES_SET_H_ERRNO
LBB0_60:
	mov	w0, #-1
LBB0_61:
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_63
; %bb.62:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_63:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXDNAME,4,2                   ; @MAXDNAME
	.comm	_errno,8,3                      ; @errno
	.comm	_ECONNREFUSED,8,3               ; @ECONNREFUSED
	.comm	_SERVFAIL,4,2                   ; @SERVFAIL
	.comm	_RES_DEFNAMES,4,2               ; @RES_DEFNAMES
	.comm	_RES_DNSRCH,4,2                 ; @RES_DNSRCH
	.comm	_RES_NOTLDQUERY,4,2             ; @RES_NOTLDQUERY
	.no_dead_strip	_res_searchN
.subsections_via_symbols
