	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evdns_server_callback
_evdns_server_callback:                 ## @evdns_server_callback
	.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
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	jle	LBB0_12
## %bb.1:
	movl	$-1062728949, %edi              ## imm = 0xC0A80B0B
	callq	_htonl
	movl	%eax, %r14d
	movq	_EVDNS_TYPE_A@GOTPCREL(%rip), %r13
	movq	_EVDNS_CLASS_INET@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, -44(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rdx
	cmpq	(%r13), %rdx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	16(%rax), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	leaq	-44(%rbp), %rcx
	movl	$10, %r8d
	callq	_evdns_server_request_add_a_reply
	testl	%eax, %eax
	jns	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rcx
	movq	16(%rax), %rsi
	movq	_EVDNS_TYPE_PTR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r15), %rcx
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	16(%rax), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	leaq	L_.str.3(%rip), %rcx
	movl	$10, %r8d
	callq	_evdns_server_request_add_ptr_reply
	testl	%eax, %eax
	jns	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evdns_server_request_respond
	testl	%eax, %eax
	jns	LBB0_14
## %bb.13:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVDNS_TYPE_A,8,3               ## @EVDNS_TYPE_A
	.comm	_EVDNS_CLASS_INET,8,3           ## @EVDNS_CLASS_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" -- replying for %s (A)\n"

	.comm	_EVDNS_TYPE_PTR,8,3             ## @EVDNS_TYPE_PTR
L_.str.2:                               ## @.str.2
	.asciz	" -- replying for %s (PTR)\n"

L_.str.3:                               ## @.str.3
	.asciz	"foo.bar.example.com"

L_.str.4:                               ## @.str.4
	.asciz	"ugh, no luck"

L_.str.5:                               ## @.str.5
	.asciz	" -- skipping %s [%d %d]\n"

L_str:                                  ## @str
	.asciz	"eeek, couldn't send reply."

L_str.7:                                ## @str.7
	.asciz	"eeep, didn't work."

	.no_dead_strip	_evdns_server_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evdns_server_callback
_evdns_server_callback:                 ; @evdns_server_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	w0, #2827
	movk	w0, #49320, lsl #16
	bl	_htonl
	mov	x20, x0
	mov	x27, #0
Lloh0:
	adrp	x28, _EVDNS_TYPE_A@GOTPAGE
Lloh1:
	ldr	x28, [x28, _EVDNS_TYPE_A@GOTPAGEOFF]
Lloh2:
	adrp	x22, _EVDNS_CLASS_INET@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EVDNS_CLASS_INET@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x26, _EVDNS_TYPE_PTR@GOTPAGE
Lloh7:
	ldr	x26, [x26, _EVDNS_TYPE_PTR@GOTPAGEOFF]
Lloh8:
	adrp	x23, l_.str.5@PAGE
Lloh9:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh10:
	adrp	x24, l_.str.2@PAGE
Lloh11:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh12:
	adrp	x25, l_.str.3@PAGE
Lloh13:
	add	x25, x25, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
	mov	x0, x23
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_printf
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x19]
	cmp	x27, x8
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	w20, [sp, #28]
	ldr	x8, [x19, #8]
	ldr	x9, [x8, x27, lsl #3]
	ldr	x8, [x9]
	ldr	x10, [x28]
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x9, #8]
	ldr	x11, [x22]
	cmp	x10, x11
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x9, #16]
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x1, [x8, #16]
	add	x3, sp, #28
	mov	x0, x19
	mov	w2, #1
	mov	w4, #10
	bl	_evdns_server_request_add_a_reply
	tbz	w0, #31, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x0, l_str.7@PAGE
Lloh15:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x26]
	ldr	x12, [x22]
	ldp	x10, x9, [x9, #8]
	cmp	x8, x11
	ccmp	x10, x12, #0, eq
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [sp]
	mov	x0, x24
	bl	_printf
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x2, [x8, #16]
	mov	x0, x19
	mov	x1, #0
	mov	x3, x25
	mov	w4, #10
	bl	_evdns_server_request_add_ptr_reply
	tbz	w0, #31, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_evdns_server_request_respond
	tbz	w0, #31, LBB0_14
; %bb.13:
Lloh18:
	adrp	x0, l_str@PAGE
Lloh19:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_14:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EVDNS_TYPE_A,8,3               ; @EVDNS_TYPE_A
	.comm	_EVDNS_CLASS_INET,8,3           ; @EVDNS_CLASS_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" -- replying for %s (A)\n"

	.comm	_EVDNS_TYPE_PTR,8,3             ; @EVDNS_TYPE_PTR
l_.str.2:                               ; @.str.2
	.asciz	" -- replying for %s (PTR)\n"

l_.str.3:                               ; @.str.3
	.asciz	"foo.bar.example.com"

l_.str.4:                               ; @.str.4
	.asciz	"ugh, no luck"

l_.str.5:                               ; @.str.5
	.asciz	" -- skipping %s [%d %d]\n"

l_str:                                  ; @str
	.asciz	"eeek, couldn't send reply."

l_str.7:                                ; @str.7
	.asciz	"eeep, didn't work."

	.no_dead_strip	_evdns_server_callback
.subsections_via_symbols
