	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_entry_get_rrset            ## -- Begin function key_entry_get_rrset
	.p2align	4, 0x90
_key_entry_get_rrset:                   ## @key_entry_get_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.1:
	cmpl	$0, (%r12)
	je	LBB0_10
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movl	$48, %esi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_regional_alloc_init
	movq	%rax, 40(%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movl	4(%rbx), %eax
	movl	%eax, 32(%r15)
	movl	4(%r12), %edi
	callq	_htons
	movq	%rax, 24(%r15)
	movl	(%rbx), %edi
	callq	_htons
	movq	%rax, 16(%r15)
	movq	%r15, 8(%r15)
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_packed_rrset_sizeof
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_regional_alloc_init
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_packed_rrset_ptr_fixup
	jmp	LBB0_11
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	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_get_rrset            ; -- Begin function key_entry_get_rrset
	.p2align	2
_key_entry_get_rrset:                   ; @key_entry_get_rrset
	.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
	ldr	x22, [x0, #16]
	cbz	x22, LBB0_6
; %bb.1:
	ldr	w8, [x22]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #48
	bl	_regional_alloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldp	w2, w1, [x21, #4]
	mov	x0, x20
	bl	_regional_alloc_init
	str	x0, [x19, #40]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x21, #4]
	str	w8, [x19, #32]
	ldr	w0, [x22, #4]
	bl	_htons
	str	x0, [x19, #24]
	ldr	w0, [x21]
	bl	_htons
	stp	x19, x0, [x19, #8]
	ldr	w21, [x22]
	mov	x0, x21
	bl	_packed_rrset_sizeof
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_regional_alloc_init
	cbz	x0, LBB0_6
; %bb.5:
	str	x0, [x19]
	bl	_packed_rrset_ptr_fixup
	b	LBB0_7
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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
