	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns_server_gethostbyname_cb
_dns_server_gethostbyname_cb:           ## @dns_server_gethostbyname_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DNS_ERR_CANCEL@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_4
## %bb.1:
	cmpq	$90909, %r9                     ## imm = 0x1631D
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_dns_ok@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_3:
	movq	_dns_got_cancel@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_10
LBB0_4:
	movl	%edi, %eax
	movq	_DNS_ERR_NONE@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_5
## %bb.6:
	cmpl	$1, %edx
	jne	LBB0_7
## %bb.8:
	movsbl	%sil, %esi
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movl	%edx, %esi
LBB0_9:
	xorl	%eax, %eax
	callq	_printf
	movq	_dns_ok@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_10:
	movq	_n_server_responses@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	incl	%ecx
	movl	%ecx, (%rax)
	cmpl	$3, %ecx
	jne	LBB0_11
## %bb.12:
	xorl	%edi, %edi
	popq	%rbp
	jmp	_event_loopexit                 ## TAILCALL
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DNS_ERR_CANCEL,4,2             ## @DNS_ERR_CANCEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected cancelation"

	.comm	_dns_ok,8,3                     ## @dns_ok
	.comm	_dns_got_cancel,4,2             ## @dns_got_cancel
	.comm	_DNS_ERR_NONE,4,2               ## @DNS_ERR_NONE
L_.str.1:                               ## @.str.1
	.asciz	"Unexpected result %d. "

L_.str.2:                               ## @.str.2
	.asciz	"Unexpected answer count %d. "

L_.str.8:                               ## @.str.8
	.asciz	"Bad response type %d. "

	.comm	_n_server_responses,4,2         ## @n_server_responses
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.no_dead_strip	_dns_server_gethostbyname_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_server_gethostbyname_cb
_dns_server_gethostbyname_cb:           ; @dns_server_gethostbyname_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _DNS_ERR_CANCEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DNS_ERR_CANCEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.1:
	mov	w8, #25373
	movk	w8, #1, lsl #16
	cmp	x5, x8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh5:
	adrp	x8, _dns_ok@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dns_ok@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
LBB0_3:
Lloh8:
	adrp	x8, _dns_got_cancel@GOTPAGE
Lloh9:
	ldr	x8, [x8, _dns_got_cancel@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
	b	LBB0_10
LBB0_4:
Lloh11:
	adrp	x8, _DNS_ERR_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DNS_ERR_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_7
; %bb.5:
	cmp	w2, #1
	b.ne	LBB0_8
; %bb.6:
	sxtw	x8, w1
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.8@PAGE
Lloh15:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_9
LBB0_7:
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
	str	x2, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_9:
	bl	_printf
Lloh20:
	adrp	x8, _dns_ok@GOTPAGE
Lloh21:
	ldr	x8, [x8, _dns_ok@GOTPAGEOFF]
Lloh22:
	str	xzr, [x8]
LBB0_10:
Lloh23:
	adrp	x8, _n_server_responses@GOTPAGE
Lloh24:
	ldr	x8, [x8, _n_server_responses@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	cmp	w9, #3
	b.ne	LBB0_12
; %bb.11:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_event_loopexit
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_DNS_ERR_CANCEL,4,2             ; @DNS_ERR_CANCEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected cancelation"

	.comm	_dns_ok,8,3                     ; @dns_ok
	.comm	_dns_got_cancel,4,2             ; @dns_got_cancel
	.comm	_DNS_ERR_NONE,4,2               ; @DNS_ERR_NONE
l_.str.1:                               ; @.str.1
	.asciz	"Unexpected result %d. "

l_.str.2:                               ; @.str.2
	.asciz	"Unexpected answer count %d. "

l_.str.8:                               ; @.str.8
	.asciz	"Bad response type %d. "

	.comm	_n_server_responses,4,2         ; @n_server_responses
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.no_dead_strip	_dns_server_gethostbyname_cb
.subsections_via_symbols
