	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_encode_size
_get_encode_size:                       ## @get_encode_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	cmpq	$256, %rdi                      ## imm = 0x100
	jb	LBB0_8
## %bb.2:
	movl	$2, %eax
	cmpq	$65536, %rdi                    ## imm = 0x10000
	jb	LBB0_8
## %bb.3:
	movl	$3, %eax
	cmpq	$16777216, %rdi                 ## imm = 0x1000000
	jb	LBB0_8
## %bb.4:
	movq	%rdi, %rax
	shrq	$32, %rax
	movl	$4, %eax
	je	LBB0_8
## %bb.5:
	movq	%rdi, %rax
	shrq	$40, %rax
	movl	$5, %eax
	je	LBB0_8
## %bb.6:
	movq	%rdi, %rax
	shrq	$48, %rax
	movl	$6, %eax
	je	LBB0_8
## %bb.7:
	shrq	$56, %rdi
	cmpq	$1, %rdi
	movl	$7, %eax
	sbbl	$-1, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_encode_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_encode_size
_get_encode_size:                       ; @get_encode_size
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #1
	cbz	x8, LBB0_2
; %bb.1:
	mov	w9, #2
	mov	w10, #3
	lsr	x11, x8, #24
	mov	w12, #4
	lsr	x13, x8, #32
	mov	w14, #5
	lsr	x15, x8, #40
	mov	w16, #6
	lsr	x17, x8, #48
	lsr	x1, x8, #56
	cmp	x1, #0
	mov	w1, #7
	cinc	w1, w1, ne
	cmp	x17, #0
	csel	w16, w16, w1, eq
	cmp	x15, #0
	csel	w14, w14, w16, eq
	cmp	x13, #0
	csel	w12, w12, w14, eq
	cmp	x11, #0
	csel	w10, w10, w12, eq
	cmp	x8, #16, lsl #12                ; =65536
	csel	w9, w9, w10, lo
	cmp	x8, #256
	csel	w0, w0, w9, lo
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_encode_size
.subsections_via_symbols
