	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_check_private_exponent
_test_check_private_exponent:           ## @test_check_private_exponent
	.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
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_RSA_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_23
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_24
## %bb.3:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_24
## %bb.4:
	movq	%r13, %rdi
	movl	$15, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_24
## %bb.5:
	movq	%rbx, %rdi
	movl	$17, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_24
## %bb.6:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_RSA_set0_factors
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_24
## %bb.7:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_27
## %bb.8:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_29
## %bb.9:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testq	%rax, %rax
	je	LBB0_28
## %bb.10:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_28
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$157, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_28
## %bb.12:
	movq	%r13, %rdi
	movl	$255, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_28
## %bb.13:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_RSA_set0_key
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_28
## %bb.14:
	movq	%r12, %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	callq	_rsa_check_private_exponent
	movl	%eax, %edi
	callq	_TEST_false
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_26
## %bb.15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_26
## %bb.16:
	movq	%r12, %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	callq	_rsa_check_private_exponent
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_26
## %bb.17:
	movq	%r12, %rdi
	movl	$16, %esi
	movq	%r14, %rdx
	callq	_rsa_check_private_exponent
	movl	%eax, %edi
	callq	_TEST_false
	testq	%rax, %rax
	je	LBB0_26
## %bb.18:
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_26
## %bb.19:
	movq	%r12, %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	callq	_rsa_check_private_exponent
	movl	%eax, %edi
	callq	_TEST_false
	testq	%rax, %rax
	je	LBB0_26
## %bb.20:
	movq	%rbx, %rdi
	movl	$46, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testq	%rax, %rax
	je	LBB0_26
## %bb.21:
	movq	%r12, %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	callq	_rsa_check_private_exponent
	movl	%eax, %edi
	callq	_TEST_false
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	jmp	LBB0_26
LBB0_22:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_23:
	xorl	%r13d, %r13d
LBB0_24:
	movq	%r13, %rdi
	callq	_BN_free
	movq	%rbx, %rdi
LBB0_25:
	callq	_BN_free
LBB0_26:
	movq	%r12, %rdi
	callq	_RSA_free
	movq	%r14, %rdi
	callq	_BN_CTX_free
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%rbx, %rdi
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_28:
	movq	%rbx, %rdi
	jmp	LBB0_30
LBB0_29:
	movq	%rbx, %rdi
	xorl	%r13d, %r13d
LBB0_30:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_31:
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_check_private_exponent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_check_private_exponent
_test_check_private_exponent:           ; @test_check_private_exponent
	.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
	bl	_RSA_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_22
; %bb.1:
	bl	_BN_CTX_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_23
; %bb.2:
	bl	_BN_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_24
; %bb.3:
	bl	_BN_new
	mov	x22, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_25
; %bb.4:
	mov	x0, x21
	mov	w1, #15
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_25
; %bb.5:
	mov	x0, x22
	mov	w1, #17
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_25
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_RSA_set0_factors
	bl	_TEST_true
	cbz	x0, LBB0_25
; %bb.7:
	bl	_BN_new
	mov	x22, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_29
; %bb.8:
	bl	_BN_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_30
; %bb.9:
	bl	_BN_new
	mov	x23, x0
	bl	_TEST_ptr
	cbz	x0, LBB0_31
; %bb.10:
	mov	x0, x22
	mov	w1, #5
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_31
; %bb.11:
	mov	x0, x21
	mov	w1, #157
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_31
; %bb.12:
	mov	x0, x23
	mov	w1, #255
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_31
; %bb.13:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_RSA_set0_key
	bl	_TEST_true
	cbz	x0, LBB0_31
; %bb.14:
	mov	x0, x19
	mov	w1, #8
	mov	x2, x20
	bl	_rsa_check_private_exponent
	bl	_TEST_false
	cbz	x0, LBB0_27
; %bb.15:
	mov	x0, x21
	mov	w1, #45
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.16:
	mov	x0, x19
	mov	w1, #8
	mov	x2, x20
	bl	_rsa_check_private_exponent
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.17:
	mov	x0, x19
	mov	w1, #16
	mov	x2, x20
	bl	_rsa_check_private_exponent
	bl	_TEST_false
	cbz	x0, LBB0_27
; %bb.18:
	mov	x0, x21
	mov	w1, #16
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.19:
	mov	x0, x19
	mov	w1, #8
	mov	x2, x20
	bl	_rsa_check_private_exponent
	bl	_TEST_false
	cbz	x0, LBB0_27
; %bb.20:
	mov	x0, x21
	mov	w1, #46
	bl	_BN_set_word
	bl	_TEST_true
	cbz	x0, LBB0_27
; %bb.21:
	mov	x0, x19
	mov	w1, #8
	mov	x2, x20
	bl	_rsa_check_private_exponent
	bl	_TEST_false
	cmp	x0, #0
	cset	w21, ne
	b	LBB0_28
LBB0_22:
	mov	x22, #0
	mov	x21, #0
	mov	x20, #0
	b	LBB0_25
LBB0_23:
	mov	x22, #0
	mov	x21, #0
	b	LBB0_25
LBB0_24:
	mov	x22, #0
LBB0_25:
	mov	x0, x21
	bl	_BN_free
	mov	x0, x22
LBB0_26:
	bl	_BN_free
LBB0_27:
	mov	w21, #0
LBB0_28:
	mov	x0, x19
	bl	_RSA_free
	mov	x0, x20
	bl	_BN_CTX_free
	mov	x0, x21
	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
LBB0_29:
	mov	x23, #0
	mov	x21, #0
	b	LBB0_31
LBB0_30:
	mov	x23, #0
LBB0_31:
	mov	x0, x22
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x23
	b	LBB0_26
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_check_private_exponent
.subsections_via_symbols
