	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GFp_simple_group_get_curve  ## -- Begin function ec_GFp_simple_group_get_curve
	.p2align	4, 0x90
_ec_GFp_simple_group_get_curve:         ## @ec_GFp_simple_group_get_curve
	.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
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, %r13
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	16(%r13), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_BN_copy
	testl	%eax, %eax
	je	LBB0_9
LBB0_2:
	movq	%rbx, %rax
	orq	%r14, %rax
	je	LBB0_6
## %bb.3:
	movq	8(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.4:
	xorl	%r15d, %r15d
	testq	%r12, %r12
	je	LBB0_15
## %bb.5:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
LBB0_9:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	movl	4(%r13), %esi
	movq	%rbx, %rdi
	callq	_BN_copy
	testl	%eax, %eax
	je	LBB0_24
LBB0_13:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_6
## %bb.14:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_BN_copy
	movl	$0, %edi
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_6:
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_15:
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r12
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
LBB0_16:
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.17:
	movq	8(%r13), %rax
	movl	4(%r13), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_21
LBB0_18:
	testq	%r14, %r14
	je	LBB0_22
## %bb.19:
	movq	8(%r13), %rax
	movl	(%r13), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_21
LBB0_22:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	movl	$1, %r15d
LBB0_8:
	callq	_BN_CTX_free
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_24:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GFp_simple_group_get_curve  ; -- Begin function ec_GFp_simple_group_get_curve
	.p2align	2
_ec_GFp_simple_group_get_curve:         ; @ec_GFp_simple_group_get_curve
	.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
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x21, x0
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w8, [x21, #16]
	mov	x0, x1
	mov	x1, x8
	bl	_BN_copy
	cbz	w0, LBB0_19
LBB0_2:
	orr	x8, x23, x19
	cbz	x8, LBB0_10
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	cbz	x22, LBB0_13
; %bb.5:
	mov	x20, #0
	b	LBB0_14
LBB0_6:
	cbz	x23, LBB0_8
; %bb.7:
	ldr	w1, [x21, #4]
	mov	x0, x23
	bl	_BN_copy
	cbz	w0, LBB0_21
LBB0_8:
	cbz	x19, LBB0_10
; %bb.9:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_BN_copy
	mov	x20, #0
	cbnz	w0, LBB0_11
	b	LBB0_18
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	w19, #1
LBB0_12:
	mov	x0, x20
	bl	_BN_CTX_free
	b	LBB0_20
LBB0_13:
	bl	_BN_CTX_new
	mov	x22, x0
	mov	x20, x0
	cbz	x0, LBB0_19
LBB0_14:
	cbz	x23, LBB0_16
; %bb.15:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x21
	mov	x1, x23
	mov	x3, x22
	blr	x8
	cbz	w0, LBB0_18
LBB0_16:
	cbz	x19, LBB0_11
; %bb.17:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w2, [x21]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x22
	blr	x8
	cbnz	w0, LBB0_11
LBB0_18:
	mov	w19, #0
	b	LBB0_12
LBB0_19:
	mov	w19, #0
LBB0_20:
	mov	x0, x19
	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_21:
	mov	w19, #0
	mov	x20, #0
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
