	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_rrset_sizeof            ## -- Begin function packed_rrset_sizeof
	.p2align	4, 0x90
_packed_rrset_sizeof:                   ## @packed_rrset_sizeof
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movl	4(%rbx), %ecx
	addl	%ecx, %eax
	decl	%eax
	cltq
	leaq	(,%rax,8), %rcx
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx)
	setg	%dil
	callq	_log_assert
	movslq	4(%rbx), %rax
	leaq	-8(,%rax,8), %rcx
	decq	%rax
LBB0_3:
	addq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	subq	%rbx, %rcx
	sarq	$2, %rcx
	movq	8(%rbx), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	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	_packed_rrset_sizeof            ; -- Begin function packed_rrset_sizeof
	.p2align	2
_packed_rrset_sizeof:                   ; @packed_rrset_sizeof
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x9, [x19, #16]
	ldr	w10, [x19, #4]
	add	w8, w8, w10
	sub	w10, w8, #1
	sxtw	x8, w10
	add	x9, x9, w10, sxtw #3
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w0, gt
	bl	_log_assert
	ldr	x9, [x19, #16]
	ldrsw	x8, [x19, #4]
	sub	x8, x8, #1
	add	x9, x9, x8, lsl #3
LBB0_3:
	ldr	x9, [x9]
	sub	x9, x9, x19
	ldr	x10, [x19, #8]
	ldrsw	x8, [x10, x8, lsl #2]
	add	x0, x8, x9, asr #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
