	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pack_kvlen
_pack_kvlen:                            ## @pack_kvlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SDB_MAX_KEY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	%rsi, (%rcx)
	jl	LBB0_3
## %bb.1:
	movq	_SDB_MAX_VALUE@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	%rsi, (%rdi)
	movzbl	%dl, %eax
	movq	%rax, 8(%rdi)
	movzbl	%dh, %eax
	movq	%rax, 16(%rdi)
	shrl	$16, %edx
	movzbl	%dl, %eax
	movq	%rax, 24(%rdi)
	movl	$1, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDB_MAX_KEY,8,3                ## @SDB_MAX_KEY
	.comm	_SDB_MAX_VALUE,8,3              ## @SDB_MAX_VALUE
	.no_dead_strip	_pack_kvlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function pack_kvlen
lCPI0_0:
	.quad	-8                              ; 0xfffffffffffffff8
	.quad	-16                             ; 0xfffffffffffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pack_kvlen:                            ; @pack_kvlen
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SDB_MAX_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDB_MAX_KEY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SDB_MAX_VALUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDB_MAX_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x2, #4, ge
	b.gt	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	and	x8, x2, #0xff
	stp	x1, x8, [x0]
	dup.2d	v0, x2
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	ushl.2d	v0, v0, v1
	movi.2d	v1, #0x000000000000ff
	and.16b	v0, v0, v1
	str	q0, [x0, #16]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SDB_MAX_KEY,8,3                ; @SDB_MAX_KEY
	.comm	_SDB_MAX_VALUE,8,3              ; @SDB_MAX_VALUE
	.no_dead_strip	_pack_kvlen
.subsections_via_symbols
