	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_copy_msg                   ## -- Begin function dns_copy_msg
	.p2align	4, 0x90
_dns_copy_msg:                          ## @dns_copy_msg
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	$12, %esi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	4(%r15), %rax
	movq	%rax, 4(%rbx)
	movl	4(%r15), %edx
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_regional_alloc_init
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	(%r15), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_reply_info_copy
	movl	%eax, (%rbx)
	testl	%eax, %eax
	cmoveq	%r15, %rbx
	jmp	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_copy_msg                   ; -- Begin function dns_copy_msg
	.p2align	2
_dns_copy_msg:                          ; @dns_copy_msg
	.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, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #12
	bl	_regional_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldur	x8, [x21, #4]
	stur	x8, [x0, #4]
	ldp	w2, w1, [x21, #4]
	mov	x0, x19
	bl	_regional_alloc_init
	str	w0, [x20, #8]
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	mov	x1, #0
	mov	x2, x19
	bl	_reply_info_copy
	str	w0, [x20]
	cmp	w0, #0
	csel	x0, xzr, x20, eq
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
