	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_entry_create_rrset         ## -- Begin function key_entry_create_rrset
	.p2align	4, 0x90
_key_entry_create_rrset:                ## @key_entry_create_rrset
	.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
	movq	%r9, %r14
	movq	%r8, %rbx
	movq	%rdi, %r15
	movq	8(%r8), %r12
	leaq	-48(%rbp), %r8
	leaq	-40(%rbp), %r9
	callq	_key_entry_setup
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	16(%rbp), %rax
	addq	(%r12), %rax
	movq	-40(%rbp), %rcx
	movq	%rax, 40(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rcx)
	movl	(%rbx), %edi
	callq	_ntohs
	movq	-40(%rbp), %rcx
	movl	%eax, 16(%rcx)
	movq	%r12, %rdi
	callq	_packed_rrset_sizeof
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_regional_alloc_init
	movq	-40(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-40(%rbp), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.2:
	testq	%r14, %r14
	je	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_regional_strdup
	movq	-40(%rbp), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	(%rcx), %rdi
	jmp	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_7:
	movq	$0, 8(%rax)
LBB0_8:
	callq	_packed_rrset_ptr_fixup
	movq	-48(%rbp), %rax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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	_key_entry_create_rrset         ; -- Begin function key_entry_create_rrset
	.p2align	2
_key_entry_create_rrset:                ; @key_entry_create_rrset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x6
	mov	x19, x5
	mov	x22, x4
	mov	x20, x0
	ldr	x21, [x4, #8]
	add	x4, sp, #8
	mov	x5, sp
	bl	_key_entry_setup
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	x9, [sp]
	stp	xzr, x8, [x9, #32]
	str	xzr, [x9, #24]
	ldr	w0, [x22]
	bl	_ntohs
	ldr	x8, [sp]
	str	w0, [x8, #16]
	mov	x0, x21
	bl	_packed_rrset_sizeof
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_regional_alloc_init
	ldr	x8, [sp]
	str	x0, [x8]
	ldr	x8, [sp]
	ldr	x0, [x8]
	cbz	x0, LBB0_8
; %bb.2:
	cbz	x19, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_regional_strdup
	ldr	x8, [sp]
	str	x0, [x8, #8]
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_5:
	mov	x0, #0
	b	LBB0_8
LBB0_6:
	str	xzr, [x8, #8]
LBB0_7:
	bl	_packed_rrset_ptr_fixup
	ldr	x0, [sp, #8]
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
