	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_fromdata_rsa
_test_fromdata_rsa:                     ## @test_fromdata_rsa
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -88(%rbp)
	movq	_OSSL_PKEY_PARAM_RSA_N@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_N@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	_test_fromdata_rsa.key_numbers(%rip), %rbx
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -80(%rbp)
	movq	_OSSL_PKEY_PARAM_RSA_E@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_E@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -76(%rbp)
	movq	_OSSL_PKEY_PARAM_RSA_D@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_D@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -72(%rbp)
	movq	_OSSL_PKEY_PARAM_RSA_FACTOR@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -68(%rbp)
	movl	(%r14), %edi
	movq	_Q@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -64(%rbp)
	movq	_OSSL_PKEY_PARAM_RSA_EXPONENT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_DP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -60(%rbp)
	movl	(%r14), %edi
	movq	_DQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -56(%rbp)
	movq	_OSSL_PKEY_PARAM_RSA_COEFFICIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_QINV@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	callq	_OSSL_PARAM_ulong
	movl	%eax, -52(%rbp)
	movq	_OSSL_PARAM_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_EVP_PKEY_CTX_new_provided
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	movl	$0, %ebx
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_EVP_PKEY_key_fromdata_init
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	-88(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	callq	_EVP_PKEY_fromdata
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
	movq	-88(%rbp), %r15
	jmp	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	movq	%r14, %rdi
	callq	_EVP_PKEY_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @test_fromdata_rsa.key_numbers
_test_fromdata_rsa.key_numbers:
	.quad	3161751493                      ## 0xbc747fc5
	.quad	65537                           ## 0x10001
	.quad	2064855961                      ## 0x7b133399
	.quad	59747                           ## 0xe963
	.quad	52919                           ## 0xceb7
	.quad	34201                           ## 0x8599
	.quad	48519                           ## 0xbd87
	.quad	52283                           ## 0xcc3b

	.comm	_OSSL_PKEY_PARAM_RSA_N,4,2      ## @OSSL_PKEY_PARAM_RSA_N
	.comm	_N,8,3                          ## @N
	.comm	_OSSL_PKEY_PARAM_RSA_E,4,2      ## @OSSL_PKEY_PARAM_RSA_E
	.comm	_E,8,3                          ## @E
	.comm	_OSSL_PKEY_PARAM_RSA_D,4,2      ## @OSSL_PKEY_PARAM_RSA_D
	.comm	_D,8,3                          ## @D
	.comm	_OSSL_PKEY_PARAM_RSA_FACTOR,4,2 ## @OSSL_PKEY_PARAM_RSA_FACTOR
	.comm	_P,8,3                          ## @P
	.comm	_Q,8,3                          ## @Q
	.comm	_OSSL_PKEY_PARAM_RSA_EXPONENT,4,2 ## @OSSL_PKEY_PARAM_RSA_EXPONENT
	.comm	_DP,8,3                         ## @DP
	.comm	_DQ,8,3                         ## @DQ
	.comm	_OSSL_PKEY_PARAM_RSA_COEFFICIENT,4,2 ## @OSSL_PKEY_PARAM_RSA_COEFFICIENT
	.comm	_QINV,8,3                       ## @QINV
	.comm	_OSSL_PARAM_END,4,2             ## @OSSL_PARAM_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSA"

	.no_dead_strip	_test_fromdata_rsa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_fromdata_rsa
_test_fromdata_rsa:                     ; @test_fromdata_rsa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _OSSL_PKEY_PARAM_RSA_N@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSSL_PKEY_PARAM_RSA_N@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _N@GOTPAGE
Lloh7:
	ldr	x8, [x8, _N@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x19, _test_fromdata_rsa.key_numbers@PAGE
Lloh10:
	add	x19, x19, _test_fromdata_rsa.key_numbers@PAGEOFF
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
Lloh11:
	adrp	x8, _OSSL_PKEY_PARAM_RSA_E@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OSSL_PKEY_PARAM_RSA_E@GOTPAGEOFF]
	str	w0, [sp, #20]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _E@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
Lloh17:
	adrp	x8, _OSSL_PKEY_PARAM_RSA_D@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OSSL_PKEY_PARAM_RSA_D@GOTPAGEOFF]
	str	w0, [sp, #24]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _D@GOTPAGE
Lloh21:
	ldr	x8, [x8, _D@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
Lloh23:
	adrp	x20, _OSSL_PKEY_PARAM_RSA_FACTOR@GOTPAGE
Lloh24:
	ldr	x20, [x20, _OSSL_PKEY_PARAM_RSA_FACTOR@GOTPAGEOFF]
	str	w0, [sp, #28]
	ldr	w0, [x20]
Lloh25:
	adrp	x8, _P@GOTPAGE
Lloh26:
	ldr	x8, [x8, _P@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
	str	w0, [sp, #32]
	ldr	w0, [x20]
Lloh28:
	adrp	x8, _Q@GOTPAGE
Lloh29:
	ldr	x8, [x8, _Q@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
Lloh31:
	adrp	x20, _OSSL_PKEY_PARAM_RSA_EXPONENT@GOTPAGE
Lloh32:
	ldr	x20, [x20, _OSSL_PKEY_PARAM_RSA_EXPONENT@GOTPAGEOFF]
	str	w0, [sp, #36]
	ldr	w0, [x20]
Lloh33:
	adrp	x8, _DP@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DP@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
	str	w0, [sp, #40]
	ldr	w0, [x20]
Lloh36:
	adrp	x8, _DQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DQ@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
Lloh39:
	adrp	x8, _OSSL_PKEY_PARAM_RSA_COEFFICIENT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _OSSL_PKEY_PARAM_RSA_COEFFICIENT@GOTPAGEOFF]
	str	w0, [sp, #44]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _QINV@GOTPAGE
Lloh43:
	ldr	x8, [x8, _QINV@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	add	x1, x19, x8, lsl #3
	bl	_OSSL_PARAM_ulong
Lloh45:
	adrp	x8, _OSSL_PARAM_END@GOTPAGE
Lloh46:
	ldr	x8, [x8, _OSSL_PARAM_END@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #48]
Lloh48:
	adrp	x1, l_.str@PAGE
Lloh49:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	mov	x2, #0
	bl	_EVP_PKEY_CTX_new_provided
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_EVP_PKEY_key_fromdata_init
	bl	_TEST_true
	cbz	w0, LBB0_3
; %bb.2:
	add	x1, sp, #8
	add	x2, sp, #20
	mov	x0, x19
	bl	_EVP_PKEY_fromdata
	bl	_TEST_true
	cmp	w0, #0
	cset	w20, ne
	ldr	x0, [sp, #8]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
	mov	w20, #0
LBB0_4:
	bl	_EVP_PKEY_free
	mov	x0, x19
	bl	_EVP_PKEY_CTX_free
	ldur	x8, [x29, #-24]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @test_fromdata_rsa.key_numbers
_test_fromdata_rsa.key_numbers:
	.quad	3161751493                      ; 0xbc747fc5
	.quad	65537                           ; 0x10001
	.quad	2064855961                      ; 0x7b133399
	.quad	59747                           ; 0xe963
	.quad	52919                           ; 0xceb7
	.quad	34201                           ; 0x8599
	.quad	48519                           ; 0xbd87
	.quad	52283                           ; 0xcc3b

	.comm	_OSSL_PKEY_PARAM_RSA_N,4,2      ; @OSSL_PKEY_PARAM_RSA_N
	.comm	_N,8,3                          ; @N
	.comm	_OSSL_PKEY_PARAM_RSA_E,4,2      ; @OSSL_PKEY_PARAM_RSA_E
	.comm	_E,8,3                          ; @E
	.comm	_OSSL_PKEY_PARAM_RSA_D,4,2      ; @OSSL_PKEY_PARAM_RSA_D
	.comm	_D,8,3                          ; @D
	.comm	_OSSL_PKEY_PARAM_RSA_FACTOR,4,2 ; @OSSL_PKEY_PARAM_RSA_FACTOR
	.comm	_P,8,3                          ; @P
	.comm	_Q,8,3                          ; @Q
	.comm	_OSSL_PKEY_PARAM_RSA_EXPONENT,4,2 ; @OSSL_PKEY_PARAM_RSA_EXPONENT
	.comm	_DP,8,3                         ; @DP
	.comm	_DQ,8,3                         ; @DQ
	.comm	_OSSL_PKEY_PARAM_RSA_COEFFICIENT,4,2 ; @OSSL_PKEY_PARAM_RSA_COEFFICIENT
	.comm	_QINV,8,3                       ; @QINV
	.comm	_OSSL_PARAM_END,4,2             ; @OSSL_PARAM_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSA"

	.no_dead_strip	_test_fromdata_rsa
.subsections_via_symbols
