	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_msg_create                 ## -- Begin function dns_msg_create
	.p2align	4, 0x90
_dns_msg_create:                        ## @dns_msg_create
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$48, %esi
	movq	%r8, %rdi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_regional_alloc_init
	movl	%eax, 40(%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	%r14, 8(%rbx)
	movq	%r13, 32(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	%r15, %rdi
	movl	$20, %esi
	callq	_regional_alloc_zero
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, (%rdx)
	jb	LBB0_7
## %bb.4:
	movq	_BIT_QR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	movl	$1, (%rcx)
	shlq	$3, %rsi
	movq	%r15, %rdi
	callq	_regional_alloc
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	cmoveq	%rax, %rbx
	movq	%rbx, %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RR_COUNT_MAX,8,3               ## @RR_COUNT_MAX
	.comm	_BIT_QR,4,2                     ## @BIT_QR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_msg_create                 ; -- Begin function dns_msg_create
	.p2align	2
_dns_msg_create:                        ; @dns_msg_create
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x19, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
	mov	x0, x4
	mov	w1, #48
	bl	_regional_alloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	bl	_regional_alloc_init
	str	w0, [x21, #40]
	cbz	w0, LBB0_5
; %bb.2:
	stp	x22, x24, [x21, #24]
	stp	x23, xzr, [x21, #8]
	mov	x0, x19
	mov	w1, #20
	bl	_regional_alloc_zero
	mov	x8, x0
	mov	x0, #0
	str	x8, [x21]
	cbz	x8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x9, _RR_COUNT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x20
	b.lo	LBB0_6
; %bb.4:
Lloh3:
	adrp	x9, _BIT_QR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIT_QR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	mov	w9, #1
	str	w9, [x8]
	lsl	x1, x20, #3
	mov	x0, x19
	bl	_regional_alloc
	ldr	x8, [x21]
	str	x0, [x8, #8]
	cmp	x0, #0
	csel	x0, xzr, x21, eq
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RR_COUNT_MAX,8,3               ; @RR_COUNT_MAX
	.comm	_BIT_QR,4,2                     ; @BIT_QR
.subsections_via_symbols
