	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dosearch
_dosearch:                              ## @dosearch
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ecx
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdx
	movl	$1, %r8d
	callq	_search
	movq	%rax, %r15
	testq	%rax, %rax
	setne	%r12b
	cmovneq	%rax, %rbx
	movq	-40(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_report
	movq	_o_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_M_DEFAULT_Q@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, %rcx
	setne	%al
	andb	%r12b, %al
	cmpq	%rdx, %rcx
	jne	LBB0_5
## %bb.1:
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_o_rrtype@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_doquery_filtered
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_LDNS_RR_TYPE_MX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_doquery_filtered
	testl	%eax, %eax
	setne	%al
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movzbl	%al, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_o_mode,8,3                     ## @o_mode
	.comm	_M_DEFAULT_Q,8,3                ## @M_DEFAULT_Q
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ## @LDNS_RR_TYPE_AAAA
	.comm	_o_rrtype,8,3                   ## @o_rrtype
	.comm	_LDNS_RR_TYPE_MX,8,3            ## @LDNS_RR_TYPE_MX
	.no_dead_strip	_dosearch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dosearch
_dosearch:                              ; @dosearch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x3, x2
	mov	x21, x1
	mov	x19, x0
	add	x2, sp, #8
	mov	w4, #1
	bl	_search
	mov	x20, x0
	cmp	x0, #0
	csel	x1, x0, x21, ne
	cset	w21, ne
	ldr	x2, [sp, #8]
	mov	x0, x19
	bl	_report
Lloh0:
	adrp	x8, _o_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _o_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _M_DEFAULT_Q@GOTPAGE
Lloh4:
	ldr	x9, [x9, _M_DEFAULT_Q@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, ne
	ccmp	x20, #0, #4, eq
	b.ne	LBB0_2
; %bb.1:
	and	w0, w8, w21
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x21, _o_rrtype@GOTPAGE
Lloh10:
	ldr	x21, [x21, _o_rrtype@GOTPAGEOFF]
	str	x8, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_doquery_filtered
	cbz	w0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _LDNS_RR_TYPE_MX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LDNS_RR_TYPE_MX@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_doquery_filtered
	cmp	w0, #0
	cset	w0, ne
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_o_mode,8,3                     ; @o_mode
	.comm	_M_DEFAULT_Q,8,3                ; @M_DEFAULT_Q
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ; @LDNS_RR_TYPE_AAAA
	.comm	_o_rrtype,8,3                   ; @o_rrtype
	.comm	_LDNS_RR_TYPE_MX,8,3            ; @LDNS_RR_TYPE_MX
	.no_dead_strip	_dosearch
.subsections_via_symbols
