	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_pkcs_padding
_add_pkcs_padding:                      ## @add_pkcs_padding
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	subq	%rdx, %rax
	je	LBB0_21
## %bb.1:
	cmpq	$8, %rax
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_3:
	movq	%rdx, %r8
	notq	%r8
	addq	%rsi, %r8
	xorl	%ecx, %ecx
	cmpb	$-1, %r8b
	je	LBB0_19
## %bb.4:
	cmpq	$255, %r8
	ja	LBB0_19
## %bb.5:
	movzbl	%al, %r8d
	cmpq	$32, %rax
	jae	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_7:
	movq	%rax, %rcx
	andq	$-32, %rcx
	movd	%r8d, %xmm0
	pxor	%xmm1, %xmm1
	pshufb	%xmm1, %xmm0
	leaq	-32(%rcx), %rsi
	movq	%rsi, %r10
	shrq	$5, %r10
	incq	%r10
	movl	%r10d, %r9d
	andl	$3, %r9d
	cmpq	$96, %rsi
	jae	LBB0_9
## %bb.8:
	xorl	%esi, %esi
	jmp	LBB0_11
LBB0_9:
	andq	$-4, %r10
	leaq	(%rdx,%rdi), %r11
	addq	$112, %r11
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -112(%r11,%rsi)
	movdqu	%xmm0, -96(%r11,%rsi)
	movdqu	%xmm0, -80(%r11,%rsi)
	movdqu	%xmm0, -64(%r11,%rsi)
	movdqu	%xmm0, -48(%r11,%rsi)
	movdqu	%xmm0, -32(%r11,%rsi)
	movdqu	%xmm0, -16(%r11,%rsi)
	movdqu	%xmm0, (%r11,%rsi)
	subq	$-128, %rsi
	addq	$-4, %r10
	jne	LBB0_10
LBB0_11:
	testq	%r9, %r9
	je	LBB0_14
## %bb.12:
	addq	%rdx, %rsi
	leaq	(%rdi,%rsi), %r10
	addq	$16, %r10
	shlq	$5, %r9
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%r10,%rsi)
	movdqu	%xmm0, (%r10,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_13
LBB0_14:
	cmpq	%rcx, %rax
	je	LBB0_21
## %bb.15:
	testb	$24, %al
	je	LBB0_19
LBB0_16:
	movq	%rcx, %rsi
	movq	%rax, %rcx
	andq	$-8, %rcx
	movd	%r8d, %xmm0
	punpcklbw	%xmm0, %xmm0            ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	leaq	(%rdi,%rdx), %r8
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%xmm0, (%r8,%rsi)
	addq	$8, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_17
## %bb.18:
	cmpq	%rcx, %rax
	je	LBB0_21
LBB0_19:
	addq	%rdx, %rdi
	incq	%rcx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movb	%al, -1(%rdi,%rcx)
	movzbl	%cl, %edx
	incq	%rcx
	cmpq	%rdx, %rax
	ja	LBB0_20
LBB0_21:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_pkcs_padding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_pkcs_padding
_add_pkcs_padding:                      ; @add_pkcs_padding
	.cfi_startproc
; %bb.0:
	subs	x8, x1, x2
	b.eq	LBB0_16
; %bb.1:
	cmp	x8, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_14
LBB0_3:
	mov	x9, #0
	mvn	x10, x2
	add	x10, x10, x1
	mvn	w11, w10
	tst	w11, #0xff
	b.eq	LBB0_14
; %bb.4:
	cmp	x10, #255
	b.hi	LBB0_14
; %bb.5:
	cmp	x8, #64
	b.hs	LBB0_7
; %bb.6:
	mov	x9, #0
	b	LBB0_11
LBB0_7:
	and	x9, x8, #0xffffffffffffffc0
	dup.16b	v0, w8
	add	x10, x2, x0
	add	x10, x10, #32
	mov	x11, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x10, #-32]
	stp	q0, q0, [x10], #64
	subs	x11, x11, #64
	b.ne	LBB0_8
; %bb.9:
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.10:
	tst	x8, #0x38
	b.eq	LBB0_14
LBB0_11:
	mov	x11, x9
	and	x9, x8, #0xfffffffffffffff8
	dup.8b	v0, w8
	add	x10, x11, x2
	add	x10, x0, x10
	sub	x11, x11, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_12
; %bb.13:
	cmp	x8, x9
	b.eq	LBB0_16
LBB0_14:
	add	x10, x0, x2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	strb	w8, [x10, x9]
	add	x9, x9, #1
	cmp	x8, w9, uxtb
	b.hi	LBB0_15
LBB0_16:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_pkcs_padding
.subsections_via_symbols
