	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_qinfo_edns
_setup_qinfo_edns:                      ## @setup_qinfo_edns
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movups	8(%rax), %xmm0
	movups	%xmm0, 16(%rdx)
	movq	$0, (%rdx)
	movl	(%rax), %edi
	leaq	12(%rdx), %rsi
	callq	_sldns_str2wire_dname
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	$0, (%rbx)
	movl	$1, (%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	_EDNS_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	$0, 8(%r15)
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_sldns_buffer_capacity
	movl	%eax, %ecx
	movl	$65535, %eax                    ## imm = 0xFFFF
	cmpl	$65534, %ecx                    ## imm = 0xFFFE
	jg	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_sldns_buffer_capacity
LBB0_4:
	movl	%eax, 4(%r15)
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDNS_DO,4,2                    ## @EDNS_DO
	.no_dead_strip	_setup_qinfo_edns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_qinfo_edns
_setup_qinfo_edns:                      ; @setup_qinfo_edns
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x1]
	ldp	x10, x9, [x8, #8]
	stp	x10, x9, [x2, #16]
	str	xzr, [x2]
	ldr	w0, [x8]
	add	x1, x2, #12
	bl	_sldns_str2wire_dname
	str	w0, [x21, #8]
	cbz	w0, LBB0_5
; %bb.1:
	str	xzr, [x21]
	mov	w8, #1
	str	w8, [x19]
Lloh0:
	adrp	x8, _EDNS_DO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDNS_DO@GOTPAGEOFF]
	stp	xzr, xzr, [x19, #24]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_sldns_buffer_capacity
	mov	w8, #65534
	cmp	w0, w8
	b.gt	LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_sldns_buffer_capacity
	b	LBB0_4
LBB0_3:
	mov	w0, #65535
LBB0_4:
	str	w0, [x19, #4]
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EDNS_DO,4,2                    ; @EDNS_DO
	.no_dead_strip	_setup_qinfo_edns
.subsections_via_symbols
