	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_padding_md
_check_padding_md:                      ## @check_padding_md
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %r14d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%esi, %ebx
	callq	_EVP_MD_type
	movq	_RSA_NO_PADDING@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_RSA_R_INVALID_PADDING_MODE@GOTPCREL(%rip), %rax
LBB0_8:
	movq	_RSA_F_CHECK_PADDING_MD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_RSAerr
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_RSA_X931_PADDING@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_6
## %bb.4:
	movl	%eax, %edi
	callq	_RSA_X931_hash_id
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.5:
	movq	_RSA_R_INVALID_X931_DIGEST@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	addl	$-128, %eax
	cmpl	$15, %eax
	jb	LBB0_9
## %bb.7:
	movq	_RSA_R_INVALID_DIGEST@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_NO_PADDING,4,2             ## @RSA_NO_PADDING
	.comm	_RSA_F_CHECK_PADDING_MD,4,2     ## @RSA_F_CHECK_PADDING_MD
	.comm	_RSA_R_INVALID_PADDING_MODE,4,2 ## @RSA_R_INVALID_PADDING_MODE
	.comm	_RSA_X931_PADDING,4,2           ## @RSA_X931_PADDING
	.comm	_RSA_R_INVALID_X931_DIGEST,4,2  ## @RSA_R_INVALID_X931_DIGEST
	.comm	_RSA_R_INVALID_DIGEST,4,2       ## @RSA_R_INVALID_DIGEST
	.no_dead_strip	_check_padding_md
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_padding_md
_check_padding_md:                      ; @check_padding_md
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	bl	_EVP_MD_type
Lloh0:
	adrp	x8, _RSA_NO_PADDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_NO_PADDING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _RSA_R_INVALID_PADDING_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_R_INVALID_PADDING_MODE@GOTPAGEOFF]
LBB0_3:
Lloh5:
	adrp	x9, _RSA_F_CHECK_PADDING_MD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RSA_F_CHECK_PADDING_MD@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_RSAerr
	mov	w0, #0
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, _RSA_X931_PADDING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RSA_X931_PADDING@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_7
; %bb.5:
	bl	_RSA_X931_hash_id
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.6:
Lloh11:
	adrp	x8, _RSA_R_INVALID_X931_DIGEST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RSA_R_INVALID_X931_DIGEST@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	sub	w8, w0, #128
	cmp	w8, #15
	b.hs	LBB0_10
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh13:
	adrp	x8, _RSA_R_INVALID_DIGEST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RSA_R_INVALID_DIGEST@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_NO_PADDING,4,2             ; @RSA_NO_PADDING
	.comm	_RSA_F_CHECK_PADDING_MD,4,2     ; @RSA_F_CHECK_PADDING_MD
	.comm	_RSA_R_INVALID_PADDING_MODE,4,2 ; @RSA_R_INVALID_PADDING_MODE
	.comm	_RSA_X931_PADDING,4,2           ; @RSA_X931_PADDING
	.comm	_RSA_R_INVALID_X931_DIGEST,4,2  ; @RSA_R_INVALID_X931_DIGEST
	.comm	_RSA_R_INVALID_DIGEST,4,2       ; @RSA_R_INVALID_DIGEST
	.no_dead_strip	_check_padding_md
.subsections_via_symbols
