	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_padding_add_SSLv23         ## -- Begin function RSA_padding_add_SSLv23
	.p2align	4, 0x90
_RSA_padding_add_SSLv23:                ## @RSA_padding_add_SSLv23
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	addl	$-11, %r12d
	subl	%ecx, %r12d
	jge	LBB0_2
## %bb.1:
	movq	_RSA_F_RSA_PADDING_ADD_SSLV23@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_11
LBB0_2:
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movw	$512, (%rdi)                    ## imm = 0x200
	addq	$2, %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_RAND_bytes
	testq	%rax, %rax
	jle	LBB0_9
## %bb.3:
	testl	%r12d, %r12d
	jle	LBB0_10
## %bb.4:
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	incl	%r13d
	cmpl	%r12d, %r13d
	je	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_RAND_bytes
	testq	%rax, %rax
	jg	LBB0_6
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$8, %edx
	callq	_memset
	movb	$0, 8(%rbx)
	addq	$9, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	$1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_F_RSA_PADDING_ADD_SSLV23,4,2 ## @RSA_F_RSA_PADDING_ADD_SSLV23
	.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_SSLv23         ; -- Begin function RSA_padding_add_SSLv23
	.p2align	2
_RSA_padding_add_SSLv23:                ; @RSA_padding_add_SSLv23
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	w8, w1, #11
	subs	w22, w8, w3
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RSA_F_RSA_PADDING_ADD_SSLV23@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_F_RSA_PADDING_ADD_SSLV23@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_RSAerr
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	mov	w8, #512
	strh	w8, [x21], #2
	mov	x0, x21
	mov	x1, x22
	bl	_RAND_bytes
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.3:
	cmp	w22, #1
	b.lt	LBB0_9
; %bb.4:
	mov	w23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	add	w23, w23, #1
	cmp	w23, w22
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	w1, #1
	bl	_RAND_bytes
	cmp	x0, #1
	b.ge	LBB0_6
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	x0, x21
	mov	w1, #3
	mov	w2, #8
	bl	_memset
	add	x0, x21, #9
	strb	wzr, [x21, #8]
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_F_RSA_PADDING_ADD_SSLV23,4,2 ; @RSA_F_RSA_PADDING_ADD_SSLV23
	.comm	_RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE,4,2 ; @RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE
.subsections_via_symbols
