	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_server_request_add_ptr_reply ## -- Begin function evdns_server_request_add_ptr_reply
	.p2align	4, 0x90
_evdns_server_request_add_ptr_reply:    ## @evdns_server_request_add_ptr_reply
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rsi, %rsi
	setne	%cl
	testq	%rdx, %rdx
	setne	%dl
	movl	$-1, %eax
	cmpb	%dl, %cl
	je	LBB0_4
## %bb.1:
	movl	%r8d, %r14d
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	leaq	-80(%rbp), %rbx
	movl	(%rsi), %edi
	callq	_ntohl
                                        ## kill: def $eax killed $eax def $rax
	movzbl	%al, %ecx
	movzbl	%ah, %edx
	movl	%edx, %r8d
	movl	%eax, %edx
	shrl	$16, %edx
	movzbl	%dl, %r9d
	shrl	$24, %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$32, %esi
	pushq	%rax
	callq	_evutil_snprintf
	addq	$16, %rsp
LBB0_3:
	movq	_EVDNS_ANSWER_SECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TYPE_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CLASS_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movl	%r14d, %r9d
	pushq	%r15
	pushq	$1
	pushq	$-1
	callq	_evdns_server_request_add_reply
	addq	$32, %rsp
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d.%d.%d.%d.in-addr.arpa"

	.comm	_EVDNS_ANSWER_SECTION,4,2       ## @EVDNS_ANSWER_SECTION
	.comm	_TYPE_PTR,4,2                   ## @TYPE_PTR
	.comm	_CLASS_INET,4,2                 ## @CLASS_INET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evdns_server_request_add_ptr_reply ; -- Begin function evdns_server_request_add_ptr_reply
	.p2align	2
_evdns_server_request_add_ptr_reply:    ; @evdns_server_request_add_ptr_reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cmp	x1, #0
	cset	w8, ne
	cmp	x2, #0
	cset	w9, ne
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x22, x3
	mov	x20, x2
	mov	x21, x0
	cbz	x1, LBB0_3
; %bb.2:
	add	x20, sp, #8
	ldr	w0, [x1]
	bl	_ntohl
	ubfx	w4, w0, #8, #8
	and	w3, w0, #0xff
	ubfx	w5, w0, #16, #8
	lsr	w6, w0, #24
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	bl	_evutil_snprintf
LBB0_3:
Lloh5:
	adrp	x8, _EVDNS_ANSWER_SECTION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVDNS_ANSWER_SECTION@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _TYPE_PTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TYPE_PTR@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x8, _CLASS_INET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CLASS_INET@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	str	x22, [sp]
	mov	x0, x21
	mov	x2, x20
	mov	x5, x19
	mov	w6, #-1
	mov	w7, #1
	bl	_evdns_server_request_add_reply
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldr	x8, [sp, #40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	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
	add	sp, sp, #96
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d.%d.%d.%d.in-addr.arpa"

	.comm	_EVDNS_ANSWER_SECTION,4,2       ; @EVDNS_ANSWER_SECTION
	.comm	_TYPE_PTR,4,2                   ; @TYPE_PTR
	.comm	_CLASS_INET,4,2                 ; @CLASS_INET
.subsections_via_symbols
