	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function br_asn1_encode_length
LCPI0_0:
	.quad	-14                             ## 0xfffffffffffffff2
	.quad	-15                             ## 0xfffffffffffffff1
LCPI0_1:
	.quad	-12                             ## 0xfffffffffffffff4
	.quad	-13                             ## 0xfffffffffffffff3
LCPI0_2:
	.quad	-10                             ## 0xfffffffffffffff6
	.quad	-11                             ## 0xfffffffffffffff5
LCPI0_3:
	.quad	-8                              ## 0xfffffffffffffff8
	.quad	-9                              ## 0xfffffffffffffff7
LCPI0_4:
	.quad	-6                              ## 0xfffffffffffffffa
	.quad	-7                              ## 0xfffffffffffffff9
LCPI0_5:
	.quad	-4                              ## 0xfffffffffffffffc
	.quad	-5                              ## 0xfffffffffffffffb
LCPI0_6:
	.quad	-2                              ## 0xfffffffffffffffe
	.quad	-3                              ## 0xfffffffffffffffd
LCPI0_7:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
LCPI0_8:
	.quad	4294967288                      ## 0xfffffff8
	.quad	4294967288                      ## 0xfffffff8
LCPI0_9:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_10:
	.quad	4294967160                      ## 0xffffff78
	.quad	4294967160                      ## 0xffffff78
LCPI0_11:
	.quad	-32                             ## 0xffffffffffffffe0
	.quad	-32                             ## 0xffffffffffffffe0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_br_asn1_encode_length
	.p2align	4, 0x90
_br_asn1_encode_length:                 ## @br_asn1_encode_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$128, %rsi
	jae	LBB0_1
## %bb.7:
	movl	$1, %eax
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.8:
	movb	%sil, (%rdi)
	jmp	LBB0_18
LBB0_1:
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	movq	%rsi, %rdx
	movq	%rsi, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shrq	$8, %rcx
	decq	%r14
	incq	%rax
	cmpq	$255, %rdx
	movq	%rcx, %rdx
	ja	LBB0_2
## %bb.3:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.4:
	movq	%r14, %r9
	negq	%r9
	movq	%r14, %rcx
	notq	%rcx
	leal	-128(%r9), %edx
	movb	%dl, (%rdi)
	cmpl	$15, %ecx
	jb	LBB0_15
## %bb.5:
	movl	%r9d, %r8d
	andl	$-16, %r8d
	movq	%r9, %xmm0
	pshufd	$68, %xmm0, %xmm12              ## xmm12 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [18446744073709551602,18446744073709551601]
	paddq	%xmm12, %xmm5
	movdqa	LCPI0_1(%rip), %xmm15           ## xmm15 = [18446744073709551604,18446744073709551603]
	paddq	%xmm12, %xmm15
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [18446744073709551606,18446744073709551605]
	paddq	%xmm12, %xmm1
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [18446744073709551608,18446744073709551607]
	paddq	%xmm12, %xmm10
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = [18446744073709551610,18446744073709551609]
	paddq	%xmm12, %xmm6
	movdqa	LCPI0_5(%rip), %xmm7            ## xmm7 = [18446744073709551612,18446744073709551611]
	paddq	%xmm12, %xmm7
	movdqa	LCPI0_6(%rip), %xmm8            ## xmm8 = [18446744073709551614,18446744073709551613]
	paddq	%xmm12, %xmm8
	paddq	LCPI0_7(%rip), %xmm12
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm14              ## xmm14 = xmm0[0,1,0,1]
	leaq	-16(%r8), %rcx
	movq	%rcx, %r10
	shrq	$4, %r10
	incq	%r10
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.9:
	movq	%r9, %rcx
	andq	$-16, %rcx
	addq	$-16, %rcx
	shrq	$4, %rcx
	incq	%rcx
	andq	$-2, %rcx
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, -48(%rbp)                ## 16-byte Spill
	movdqa	%xmm15, -144(%rbp)              ## 16-byte Spill
	movdqa	%xmm1, -64(%rbp)                ## 16-byte Spill
	movdqa	%xmm10, -160(%rbp)              ## 16-byte Spill
	movdqa	%xmm6, -176(%rbp)               ## 16-byte Spill
	movdqa	%xmm7, -192(%rbp)               ## 16-byte Spill
	movdqa	%xmm8, -208(%rbp)               ## 16-byte Spill
	movdqa	%xmm12, -224(%rbp)              ## 16-byte Spill
	psllq	$3, %xmm8
	movdqa	%xmm8, %xmm4
	movdqa	%xmm8, -32(%rbp)                ## 16-byte Spill
	psllq	$3, %xmm7
	movdqa	%xmm7, %xmm5
	movdqa	%xmm7, -112(%rbp)               ## 16-byte Spill
	psllq	$3, %xmm6
	movdqa	%xmm6, -96(%rbp)                ## 16-byte Spill
	psllq	$3, %xmm10
	movdqa	%xmm10, %xmm2
	movdqa	%xmm10, -80(%rbp)               ## 16-byte Spill
	movdqa	-64(%rbp), %xmm0                ## 16-byte Reload
	psllq	$3, %xmm0
	movdqa	%xmm0, %xmm8
	movdqa	%xmm0, -128(%rbp)               ## 16-byte Spill
	psllq	$3, %xmm15
	movdqa	-48(%rbp), %xmm9                ## 16-byte Reload
	psllq	$3, %xmm9
	movdqa	%xmm9, %xmm0
	movdqa	LCPI0_8(%rip), %xmm7            ## xmm7 = [4294967288,4294967288]
	paddq	%xmm7, %xmm0
	movdqa	%xmm15, %xmm1
	paddq	%xmm7, %xmm1
	paddq	%xmm7, %xmm8
	paddq	%xmm7, %xmm2
	paddq	%xmm7, %xmm6
	movdqa	%xmm5, %xmm3
	paddq	%xmm7, %xmm3
	movdqa	%xmm4, %xmm10
	paddq	%xmm7, %xmm10
	pand	%xmm7, %xmm10
	pand	%xmm7, %xmm3
	pand	%xmm7, %xmm6
	pand	%xmm7, %xmm2
	pand	%xmm7, %xmm8
	pand	%xmm7, %xmm0
	movdqa	%xmm14, %xmm13
	psrlq	%xmm0, %xmm13
	pand	%xmm7, %xmm1
	pshufd	$238, %xmm0, %xmm4              ## xmm4 = xmm0[2,3,2,3]
	movdqa	%xmm14, %xmm0
	psrlq	%xmm4, %xmm0
	pblendw	$15, %xmm13, %xmm0              ## xmm0 = xmm13[0,1,2,3],xmm0[4,5,6,7]
	movdqa	%xmm14, %xmm4
	psrlq	%xmm1, %xmm4
	pshufd	$238, %xmm1, %xmm13             ## xmm13 = xmm1[2,3,2,3]
	movdqa	%xmm14, %xmm1
	psrlq	%xmm13, %xmm1
	movdqa	%xmm14, %xmm13
	psrlq	%xmm8, %xmm13
	pblendw	$15, %xmm4, %xmm1               ## xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
	pshufd	$238, %xmm8, %xmm4              ## xmm4 = xmm8[2,3,2,3]
	movdqa	%xmm14, %xmm8
	psrlq	%xmm4, %xmm8
	pblendw	$15, %xmm13, %xmm8              ## xmm8 = xmm13[0,1,2,3],xmm8[4,5,6,7]
	movdqa	%xmm14, %xmm4
	psrlq	%xmm2, %xmm4
	pshufd	$238, %xmm2, %xmm13             ## xmm13 = xmm2[2,3,2,3]
	movdqa	%xmm14, %xmm2
	psrlq	%xmm13, %xmm2
	movdqa	%xmm14, %xmm13
	psrlq	%xmm6, %xmm13
	pblendw	$15, %xmm4, %xmm2               ## xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
	pshufd	$238, %xmm6, %xmm4              ## xmm4 = xmm6[2,3,2,3]
	movdqa	%xmm14, %xmm6
	psrlq	%xmm4, %xmm6
	pblendw	$15, %xmm13, %xmm6              ## xmm6 = xmm13[0,1,2,3],xmm6[4,5,6,7]
	movdqa	%xmm14, %xmm13
	psrlq	%xmm3, %xmm13
	pshufd	$238, %xmm3, %xmm3              ## xmm3 = xmm3[2,3,2,3]
	movdqa	%xmm14, %xmm4
	psrlq	%xmm3, %xmm4
	movdqa	%xmm14, %xmm11
	psrlq	%xmm10, %xmm11
	pshufd	$238, %xmm10, %xmm3             ## xmm3 = xmm10[2,3,2,3]
	movdqa	%xmm14, %xmm5
	psrlq	%xmm3, %xmm5
	movdqa	%xmm12, %xmm10
	psllq	$3, %xmm10
	movdqa	%xmm10, %xmm3
	paddq	%xmm7, %xmm3
	pand	%xmm7, %xmm3
	movdqa	%xmm14, %xmm12
	psrlq	%xmm3, %xmm12
	pblendw	$15, %xmm13, %xmm4              ## xmm4 = xmm13[0,1,2,3],xmm4[4,5,6,7]
	pshufd	$238, %xmm3, %xmm13             ## xmm13 = xmm3[2,3,2,3]
	movdqa	%xmm14, %xmm3
	psrlq	%xmm13, %xmm3
	pblendw	$15, %xmm11, %xmm5              ## xmm5 = xmm11[0,1,2,3],xmm5[4,5,6,7]
	pblendw	$15, %xmm12, %xmm3              ## xmm3 = xmm12[0,1,2,3],xmm3[4,5,6,7]
	movdqa	LCPI0_9(%rip), %xmm13           ## xmm13 = [255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0]
	pand	%xmm13, %xmm3
	pand	%xmm13, %xmm5
	packusdw	%xmm5, %xmm3
	pand	%xmm13, %xmm4
	pand	%xmm13, %xmm6
	packusdw	%xmm6, %xmm4
	packusdw	%xmm4, %xmm3
	pand	%xmm13, %xmm2
	pand	%xmm13, %xmm8
	packusdw	%xmm8, %xmm2
	pand	%xmm13, %xmm1
	pand	%xmm13, %xmm0
	packusdw	%xmm0, %xmm1
	packusdw	%xmm1, %xmm2
	packuswb	%xmm2, %xmm3
	movdqu	%xmm3, 1(%rdi,%r11)
	movdqa	LCPI0_10(%rip), %xmm0           ## xmm0 = [4294967160,4294967160]
	paddq	%xmm0, %xmm9
	paddq	%xmm0, %xmm15
	movdqa	-128(%rbp), %xmm5               ## 16-byte Reload
	paddq	%xmm0, %xmm5
	movdqa	-80(%rbp), %xmm3                ## 16-byte Reload
	paddq	%xmm0, %xmm3
	movdqa	-96(%rbp), %xmm6                ## 16-byte Reload
	paddq	%xmm0, %xmm6
	movdqa	-112(%rbp), %xmm2               ## 16-byte Reload
	paddq	%xmm0, %xmm2
	movdqa	-32(%rbp), %xmm1                ## 16-byte Reload
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm10
	pand	%xmm7, %xmm10
	pand	%xmm7, %xmm1
	movdqa	%xmm1, -32(%rbp)                ## 16-byte Spill
	pand	%xmm7, %xmm2
	movdqa	%xmm2, %xmm0
	pand	%xmm7, %xmm6
	movdqa	%xmm6, %xmm8
	pand	%xmm7, %xmm3
	movdqa	%xmm3, %xmm12
	pand	%xmm7, %xmm15
	pand	%xmm7, %xmm9
	movdqa	%xmm14, %xmm2
	psrlq	%xmm9, %xmm2
	pshufd	$238, %xmm9, %xmm1              ## xmm1 = xmm9[2,3,2,3]
	movdqa	%xmm14, %xmm9
	psrlq	%xmm1, %xmm9
	movdqa	%xmm14, %xmm4
	psrlq	%xmm15, %xmm4
	movdqa	%xmm5, %xmm6
	pand	%xmm7, %xmm6
	pshufd	$238, %xmm15, %xmm3             ## xmm3 = xmm15[2,3,2,3]
	movdqa	%xmm14, %xmm1
	psrlq	%xmm3, %xmm1
	pblendw	$15, %xmm2, %xmm9               ## xmm9 = xmm2[0,1,2,3],xmm9[4,5,6,7]
	movdqa	%xmm14, %xmm5
	psrlq	%xmm6, %xmm5
	pshufd	$238, %xmm6, %xmm2              ## xmm2 = xmm6[2,3,2,3]
	movdqa	%xmm14, %xmm11
	psrlq	%xmm2, %xmm11
	movdqa	%xmm14, %xmm7
	movdqa	%xmm12, %xmm2
	psrlq	%xmm12, %xmm7
	pblendw	$15, %xmm4, %xmm1               ## xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
	pshufd	$238, %xmm12, %xmm4             ## xmm4 = xmm12[2,3,2,3]
	movdqa	%xmm14, %xmm2
	psrlq	%xmm4, %xmm2
	pblendw	$15, %xmm5, %xmm11              ## xmm11 = xmm5[0,1,2,3],xmm11[4,5,6,7]
	movdqa	%xmm14, %xmm4
	movdqa	%xmm8, %xmm3
	psrlq	%xmm8, %xmm4
	pshufd	$238, %xmm8, %xmm5              ## xmm5 = xmm8[2,3,2,3]
	movdqa	%xmm14, %xmm6
	psrlq	%xmm5, %xmm6
	movdqa	%xmm14, %xmm12
	psrlq	%xmm0, %xmm12
	pblendw	$15, %xmm7, %xmm2               ## xmm2 = xmm7[0,1,2,3],xmm2[4,5,6,7]
	pshufd	$238, %xmm0, %xmm8              ## xmm8 = xmm0[2,3,2,3]
	movdqa	%xmm14, %xmm7
	psrlq	%xmm8, %xmm7
	pblendw	$15, %xmm4, %xmm6               ## xmm6 = xmm4[0,1,2,3],xmm6[4,5,6,7]
	movdqa	%xmm14, %xmm0
	movdqa	-32(%rbp), %xmm3                ## 16-byte Reload
	psrlq	%xmm3, %xmm0
	pshufd	$238, %xmm3, %xmm4              ## xmm4 = xmm3[2,3,2,3]
	movdqa	%xmm14, %xmm3
	psrlq	%xmm4, %xmm3
	movdqa	%xmm14, %xmm5
	psrlq	%xmm10, %xmm5
	pblendw	$15, %xmm12, %xmm7              ## xmm7 = xmm12[0,1,2,3],xmm7[4,5,6,7]
	movdqa	-224(%rbp), %xmm12              ## 16-byte Reload
	pshufd	$238, %xmm10, %xmm8             ## xmm8 = xmm10[2,3,2,3]
	movdqa	%xmm14, %xmm4
	psrlq	%xmm8, %xmm4
	movdqa	-208(%rbp), %xmm8               ## 16-byte Reload
	pblendw	$15, %xmm0, %xmm3               ## xmm3 = xmm0[0,1,2,3],xmm3[4,5,6,7]
	pblendw	$15, %xmm5, %xmm4               ## xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
	movdqa	-160(%rbp), %xmm10              ## 16-byte Reload
	pand	%xmm13, %xmm4
	pand	%xmm13, %xmm3
	packusdw	%xmm3, %xmm4
	movdqa	-144(%rbp), %xmm15              ## 16-byte Reload
	pand	%xmm13, %xmm7
	pand	%xmm13, %xmm6
	packusdw	%xmm6, %xmm7
	movdqa	-176(%rbp), %xmm6               ## 16-byte Reload
	packusdw	%xmm7, %xmm4
	movdqa	-192(%rbp), %xmm7               ## 16-byte Reload
	pand	%xmm13, %xmm2
	pand	%xmm13, %xmm11
	packusdw	%xmm11, %xmm2
	pand	%xmm13, %xmm1
	pand	%xmm13, %xmm9
	packusdw	%xmm9, %xmm1
	movdqa	-48(%rbp), %xmm5                ## 16-byte Reload
	packusdw	%xmm1, %xmm2
	packuswb	%xmm2, %xmm4
	movdqu	%xmm4, 17(%rdi,%r11)
	addq	$32, %r11
	movdqa	LCPI0_11(%rip), %xmm0           ## xmm0 = [18446744073709551584,18446744073709551584]
	paddq	%xmm0, %xmm12
	paddq	%xmm0, %xmm8
	paddq	%xmm0, %xmm7
	paddq	%xmm0, %xmm6
	paddq	%xmm0, %xmm10
	movdqa	-64(%rbp), %xmm1                ## 16-byte Reload
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm15
	paddq	%xmm0, %xmm5
	addq	$-2, %rcx
	jne	LBB0_10
## %bb.11:
	testb	$1, %r10b
	je	LBB0_13
LBB0_12:
	psllq	$3, %xmm12
	psllq	$3, %xmm8
	psllq	$3, %xmm7
	psllq	$3, %xmm6
	psllq	$3, %xmm10
	movdqa	%xmm1, %xmm4
	psllq	$3, %xmm4
	psllq	$3, %xmm15
	psllq	$3, %xmm5
	movdqa	LCPI0_8(%rip), %xmm0            ## xmm0 = [4294967288,4294967288]
	paddq	%xmm0, %xmm5
	paddq	%xmm0, %xmm15
	paddq	%xmm0, %xmm4
	paddq	%xmm0, %xmm10
	paddq	%xmm0, %xmm6
	paddq	%xmm0, %xmm7
	paddq	%xmm0, %xmm8
	paddq	%xmm0, %xmm12
	pand	%xmm0, %xmm12
	pand	%xmm0, %xmm8
	pand	%xmm0, %xmm7
	pand	%xmm0, %xmm6
	pand	%xmm0, %xmm10
	pand	%xmm0, %xmm4
	pand	%xmm0, %xmm5
	movdqa	%xmm14, %xmm1
	psrlq	%xmm5, %xmm1
	pand	%xmm0, %xmm15
	pshufd	$238, %xmm5, %xmm2              ## xmm2 = xmm5[2,3,2,3]
	movdqa	%xmm14, %xmm9
	psrlq	%xmm2, %xmm9
	pblendw	$15, %xmm1, %xmm9               ## xmm9 = xmm1[0,1,2,3],xmm9[4,5,6,7]
	movdqa	%xmm14, %xmm2
	psrlq	%xmm15, %xmm2
	pshufd	$238, %xmm15, %xmm3             ## xmm3 = xmm15[2,3,2,3]
	movdqa	%xmm14, %xmm1
	psrlq	%xmm3, %xmm1
	movdqa	%xmm14, %xmm3
	psrlq	%xmm4, %xmm3
	pblendw	$15, %xmm2, %xmm1               ## xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
	pshufd	$238, %xmm4, %xmm4              ## xmm4 = xmm4[2,3,2,3]
	movdqa	%xmm14, %xmm2
	psrlq	%xmm4, %xmm2
	pblendw	$15, %xmm3, %xmm2               ## xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
	movdqa	%xmm14, %xmm4
	psrlq	%xmm10, %xmm4
	pshufd	$238, %xmm10, %xmm5             ## xmm5 = xmm10[2,3,2,3]
	movdqa	%xmm14, %xmm3
	psrlq	%xmm5, %xmm3
	movdqa	%xmm14, %xmm5
	psrlq	%xmm6, %xmm5
	pblendw	$15, %xmm4, %xmm3               ## xmm3 = xmm4[0,1,2,3],xmm3[4,5,6,7]
	pshufd	$238, %xmm6, %xmm6              ## xmm6 = xmm6[2,3,2,3]
	movdqa	%xmm14, %xmm4
	psrlq	%xmm6, %xmm4
	pblendw	$15, %xmm5, %xmm4               ## xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
	movdqa	%xmm14, %xmm5
	psrlq	%xmm7, %xmm5
	pshufd	$238, %xmm7, %xmm6              ## xmm6 = xmm7[2,3,2,3]
	movdqa	%xmm14, %xmm7
	psrlq	%xmm6, %xmm7
	movdqa	%xmm14, %xmm6
	psrlq	%xmm8, %xmm6
	pblendw	$15, %xmm5, %xmm7               ## xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pshufd	$238, %xmm8, %xmm8              ## xmm8 = xmm8[2,3,2,3]
	movdqa	%xmm14, %xmm5
	psrlq	%xmm8, %xmm5
	pblendw	$15, %xmm6, %xmm5               ## xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
	movdqa	%xmm14, %xmm6
	psrlq	%xmm12, %xmm6
	pshufd	$238, %xmm12, %xmm0             ## xmm0 = xmm12[2,3,2,3]
	psrlq	%xmm0, %xmm14
	pblendw	$15, %xmm6, %xmm14              ## xmm14 = xmm6[0,1,2,3],xmm14[4,5,6,7]
	movdqa	LCPI0_9(%rip), %xmm0            ## xmm0 = [255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0]
	pand	%xmm0, %xmm14
	pand	%xmm0, %xmm5
	packusdw	%xmm5, %xmm14
	pand	%xmm0, %xmm7
	pand	%xmm0, %xmm4
	packusdw	%xmm4, %xmm7
	packusdw	%xmm7, %xmm14
	pand	%xmm0, %xmm3
	pand	%xmm0, %xmm2
	packusdw	%xmm2, %xmm3
	pand	%xmm0, %xmm1
	pand	%xmm0, %xmm9
	packusdw	%xmm9, %xmm1
	packusdw	%xmm1, %xmm3
	packuswb	%xmm3, %xmm14
	movdqu	%xmm14, 1(%rdi,%r11)
LBB0_13:
	cmpq	%r8, %r9
	je	LBB0_17
## %bb.14:
	andq	$-16, %rax
	addq	%r14, %rax
	negq	%rax
	addq	%r8, %rdi
	movq	%rax, %r9
LBB0_15:
	leal	1(%r9), %eax
	leaq	-8(,%r9,8), %rdx
	incq	%rdi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ecx
	andb	$-8, %cl
	movq	%rsi, %rbx
	shrq	%cl, %rbx
	movb	%bl, (%rdi)
	decl	%eax
	addq	$-8, %rdx
	incq	%rdi
	cmpl	$1, %eax
	jg	LBB0_16
LBB0_17:
	movl	$1, %eax
	subq	%r14, %rax
LBB0_18:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%r11d, %r11d
	testb	$1, %r10b
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
.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 br_asn1_encode_length
lCPI0_0:
	.quad	-14                             ; 0xfffffffffffffff2
	.quad	-15                             ; 0xfffffffffffffff1
lCPI0_1:
	.quad	-12                             ; 0xfffffffffffffff4
	.quad	-13                             ; 0xfffffffffffffff3
lCPI0_2:
	.quad	-10                             ; 0xfffffffffffffff6
	.quad	-11                             ; 0xfffffffffffffff5
lCPI0_3:
	.quad	-8                              ; 0xfffffffffffffff8
	.quad	-9                              ; 0xfffffffffffffff7
lCPI0_4:
	.quad	-6                              ; 0xfffffffffffffffa
	.quad	-7                              ; 0xfffffffffffffff9
lCPI0_5:
	.quad	-4                              ; 0xfffffffffffffffc
	.quad	-5                              ; 0xfffffffffffffffb
lCPI0_6:
	.quad	-2                              ; 0xfffffffffffffffe
	.quad	-3                              ; 0xfffffffffffffffd
lCPI0_7:
	.quad	0                               ; 0x0
	.quad	-1                              ; 0xffffffffffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_br_asn1_encode_length
	.p2align	2
_br_asn1_encode_length:                 ; @br_asn1_encode_length
	.cfi_startproc
; %bb.0:
	cmp	x1, #128
	b.hs	LBB0_3
; %bb.1:
	cbz	x0, LBB0_8
; %bb.2:
	strb	w1, [x0]
	mov	w0, #1
	ret
LBB0_3:
	mov	x9, #0
	mov	x8, #0
	mov	x10, x1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x11, x10, #8
	sub	x8, x8, #1
	add	x9, x9, #1
	cmp	x10, #255
	mov	x10, x11
	b.hi	LBB0_4
; %bb.5:
	cbz	x0, LBB0_14
; %bb.6:
	neg	x14, x8
	mvn	x10, x8
	eor	w11, w14, #0x80
	strb	w11, [x0]
	neg	x11, x8
	cmp	w10, #15
	b.hs	LBB0_9
; %bb.7:
	mov	x9, x11
	mov	x10, x0
	b	LBB0_12
LBB0_8:
	mov	w0, #1
	ret
LBB0_9:
	and	x12, x11, #0xfffffff0
	and	x9, x9, #0xfffffffffffffff0
	add	x9, x9, x8
	neg	x9, x9
	add	x10, x0, x12
	dup.2d	v7, x11
Lloh0:
	adrp	x13, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x13, lCPI0_0@PAGEOFF]
	add.2d	v0, v7, v0
Lloh2:
	adrp	x13, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x13, lCPI0_1@PAGEOFF]
	add.2d	v1, v7, v1
Lloh4:
	adrp	x13, lCPI0_2@PAGE
Lloh5:
	ldr	q2, [x13, lCPI0_2@PAGEOFF]
	add.2d	v2, v7, v2
Lloh6:
	adrp	x13, lCPI0_3@PAGE
Lloh7:
	ldr	q3, [x13, lCPI0_3@PAGEOFF]
	add.2d	v3, v7, v3
Lloh8:
	adrp	x13, lCPI0_4@PAGE
Lloh9:
	ldr	q4, [x13, lCPI0_4@PAGEOFF]
	add.2d	v4, v7, v4
Lloh10:
	adrp	x13, lCPI0_5@PAGE
Lloh11:
	ldr	q5, [x13, lCPI0_5@PAGEOFF]
	add.2d	v5, v7, v5
Lloh12:
	adrp	x13, lCPI0_6@PAGE
Lloh13:
	ldr	q6, [x13, lCPI0_6@PAGEOFF]
	add.2d	v6, v7, v6
Lloh14:
	adrp	x13, lCPI0_7@PAGE
Lloh15:
	ldr	q16, [x13, lCPI0_7@PAGEOFF]
	add.2d	v7, v7, v16
	dup.2d	v16, x1
	add	x13, x0, #1
	and	x14, x14, #0xfffffffffffffff0
	mov	w15, #-8
	dup.2d	v17, x15
	mov	x15, #-16
	dup.2d	v18, x15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	shl.2d	v19, v7, #3
	shl.2d	v20, v6, #3
	shl.2d	v21, v4, #3
	shl.2d	v22, v5, #3
	shl.2d	v23, v2, #3
	shl.2d	v24, v3, #3
	shl.2d	v25, v0, #3
	shl.2d	v26, v1, #3
	add.2d	v26, v26, v17
	add.2d	v25, v25, v17
	add.2d	v24, v24, v17
	add.2d	v23, v23, v17
	add.2d	v22, v22, v17
	add.2d	v21, v21, v17
	add.2d	v20, v20, v17
	add.2d	v19, v19, v17
	and.16b	v19, v19, v17
	and.16b	v20, v20, v17
	and.16b	v21, v21, v17
	and.16b	v22, v22, v17
	and.16b	v23, v23, v17
	and.16b	v24, v24, v17
	and.16b	v25, v25, v17
	and.16b	v26, v26, v17
	neg.2d	v26, v26
	ushl.2d	v26, v16, v26
	neg.2d	v25, v25
	ushl.2d	v25, v16, v25
	neg.2d	v24, v24
	ushl.2d	v24, v16, v24
	neg.2d	v23, v23
	ushl.2d	v23, v16, v23
	neg.2d	v22, v22
	ushl.2d	v22, v16, v22
	neg.2d	v21, v21
	ushl.2d	v21, v16, v21
	neg.2d	v20, v20
	ushl.2d	v20, v16, v20
	neg.2d	v19, v19
	ushl.2d	v19, v16, v19
	uzp1.4s	v19, v19, v20
	uzp1.4s	v20, v22, v21
	uzp1.8h	v19, v19, v20
	uzp1.4s	v20, v24, v23
	uzp1.4s	v21, v26, v25
	uzp1.8h	v20, v20, v21
	uzp1.16b	v19, v19, v20
	str	q19, [x13], #16
	add.2d	v6, v6, v18
	add.2d	v7, v7, v18
	add.2d	v5, v5, v18
	add.2d	v4, v4, v18
	add.2d	v3, v3, v18
	add.2d	v2, v2, v18
	add.2d	v1, v1, v18
	add.2d	v0, v0, v18
	subs	x14, x14, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x11, x12
	b.eq	LBB0_14
LBB0_12:
	add	w11, w9, #1
	lsl	x9, x9, #3
	sub	x9, x9, #8
	add	x10, x10, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	and	x12, x9, #0xfffffff8
	lsr	x12, x1, x12
	strb	w12, [x10], #1
	sub	w11, w11, #1
	sub	x9, x9, #8
	cmp	w11, #1
	b.gt	LBB0_13
LBB0_14:
	mov	w9, #1
	sub	x0, x9, x8
	ret
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
