	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_padding_add_PKCS1_type_1   ## -- Begin function RSA_padding_add_PKCS1_type_1
	.p2align	4, 0x90
_RSA_padding_add_PKCS1_type_1:          ## @RSA_padding_add_PKCS1_type_1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	_RSA_PKCS1_PADDING_SIZE@GOTPCREL(%rip), %rax
	movl	%esi, %ecx
	subl	(%rax), %ecx
	cmpl	%r15d, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	movw	$256, (%rdi)                    ## imm = 0x100
	addq	$2, %rdi
	subl	%r15d, %ebx
	addl	$-3, %ebx
	movl	$255, %esi
	movl	%ebx, %edx
	callq	_memset
	movslq	%ebx, %rax
	leaq	(%r12,%rax), %rdi
	addq	$3, %rdi
	movb	$0, 2(%r12,%rax)
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	$1, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_PKCS1_PADDING_SIZE,4,2     ## @RSA_PKCS1_PADDING_SIZE
	.comm	_RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1,4,2 ## @RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1
	.comm	_RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE,4,2 ## @RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_padding_add_PKCS1_type_1   ; -- Begin function RSA_padding_add_PKCS1_type_1
	.p2align	2
_RSA_padding_add_PKCS1_type_1:          ; @RSA_padding_add_PKCS1_type_1
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _RSA_PKCS1_PADDING_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_PKCS1_PADDING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w1, w8
	cmp	w8, w3
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_RSAerr
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	mov	w8, #256
	strh	w8, [x21], #2
	sub	w8, w1, w3
	sub	w22, w8, #3
	mov	x0, x21
	mov	w1, #255
	mov	x2, x22
	bl	_memset
	add	x0, x21, w22, sxtw
	strb	wzr, [x0], #1
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_PKCS1_PADDING_SIZE,4,2     ; @RSA_PKCS1_PADDING_SIZE
	.comm	_RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1,4,2 ; @RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1
	.comm	_RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE,4,2 ; @RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE
.subsections_via_symbols
