	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_REQ_check_private_key     ## -- Begin function X509_REQ_check_private_key
	.p2align	4, 0x90
_X509_REQ_check_private_key:            ## @X509_REQ_check_private_key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_X509_REQ_get_pubkey
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_EVP_PKEY_cmp
                                        ## kill: def $eax killed $eax def $rax
	xorl	%r14d, %r14d
	addl	$2, %eax
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_id
	movq	_EVP_PKEY_EC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movq	_X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EC_LIB@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509_R_KEY_VALUES_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_4:
	movq	_X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509_R_KEY_TYPE_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_id
	movq	_EVP_PKEY_DH@GOTPCREL(%rip), %rcx
	movq	_X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	movq	_X509_R_CANT_CHECK_DH_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_X509_R_UNKNOWN_KEY_TYPE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	callq	_X509err
LBB0_11:
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_X509_F_X509_REQ_CHECK_PRIVATE_KEY,4,2 ## @X509_F_X509_REQ_CHECK_PRIVATE_KEY
	.comm	_X509_R_KEY_VALUES_MISMATCH,4,2 ## @X509_R_KEY_VALUES_MISMATCH
	.comm	_X509_R_KEY_TYPE_MISMATCH,4,2   ## @X509_R_KEY_TYPE_MISMATCH
	.comm	_EVP_PKEY_EC,4,2                ## @EVP_PKEY_EC
	.comm	_ERR_R_EC_LIB,4,2               ## @ERR_R_EC_LIB
	.comm	_EVP_PKEY_DH,4,2                ## @EVP_PKEY_DH
	.comm	_X509_R_CANT_CHECK_DH_KEY,4,2   ## @X509_R_CANT_CHECK_DH_KEY
	.comm	_X509_R_UNKNOWN_KEY_TYPE,4,2    ## @X509_R_UNKNOWN_KEY_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_REQ_check_private_key     ; -- Begin function X509_REQ_check_private_key
	.p2align	2
_X509_REQ_check_private_key:            ; @X509_REQ_check_private_key
	.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
	mov	x20, x1
	bl	_X509_REQ_get_pubkey
	mov	x19, x0
	mov	x1, x20
	bl	_EVP_PKEY_cmp
	add	w8, w0, #2
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	bl	_EVP_PKEY_id
Lloh2:
	adrp	x8, _EVP_PKEY_EC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVP_PKEY_EC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_EC_LIB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_EC_LIB@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x8, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _X509_R_KEY_VALUES_MISMATCH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _X509_R_KEY_VALUES_MISMATCH@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	mov	w20, #1
	b	LBB0_12
LBB0_6:
Lloh15:
	adrp	x8, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _X509_R_KEY_TYPE_MISMATCH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _X509_R_KEY_TYPE_MISMATCH@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_EVP_PKEY_id
	mov	x8, x0
Lloh20:
	adrp	x9, _EVP_PKEY_DH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EVP_PKEY_DH@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGE
Lloh24:
	ldr	x10, [x10, _X509_F_X509_REQ_CHECK_PRIVATE_KEY@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x10]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
Lloh26:
	adrp	x8, _X509_R_CANT_CHECK_DH_KEY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _X509_R_CANT_CHECK_DH_KEY@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh28:
	adrp	x8, _X509_R_UNKNOWN_KEY_TYPE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _X509_R_UNKNOWN_KEY_TYPE@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	bl	_X509err
LBB0_11:
	mov	w20, #0
LBB0_12:
	mov	x0, x19
	bl	_EVP_PKEY_free
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_X509_F_X509_REQ_CHECK_PRIVATE_KEY,4,2 ; @X509_F_X509_REQ_CHECK_PRIVATE_KEY
	.comm	_X509_R_KEY_VALUES_MISMATCH,4,2 ; @X509_R_KEY_VALUES_MISMATCH
	.comm	_X509_R_KEY_TYPE_MISMATCH,4,2   ; @X509_R_KEY_TYPE_MISMATCH
	.comm	_EVP_PKEY_EC,4,2                ; @EVP_PKEY_EC
	.comm	_ERR_R_EC_LIB,4,2               ; @ERR_R_EC_LIB
	.comm	_EVP_PKEY_DH,4,2                ; @EVP_PKEY_DH
	.comm	_X509_R_CANT_CHECK_DH_KEY,4,2   ; @X509_R_CANT_CHECK_DH_KEY
	.comm	_X509_R_UNKNOWN_KEY_TYPE,4,2    ; @X509_R_UNKNOWN_KEY_TYPE
.subsections_via_symbols
