	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EC_POINT_set_affine_coordinates ## -- Begin function EC_POINT_set_affine_coordinates
	.p2align	4, 0x90
_EC_POINT_set_affine_coordinates:       ## @EC_POINT_set_affine_coordinates
	.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	(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_ec_point_is_compat
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_EC_POINT_is_on_curve
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jg	LBB0_9
## %bb.6:
	movq	_EC_R_POINT_IS_NOT_ON_CURVE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_EC_R_INCOMPATIBLE_OBJECTS@GOTPCREL(%rip), %rax
LBB0_7:
	movq	_EC_F_EC_POINT_SET_AFFINE_COORDINATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_ECerr
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_EC_POINT_SET_AFFINE_COORDINATES,4,2 ## @EC_F_EC_POINT_SET_AFFINE_COORDINATES
	.comm	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED,4,2 ## @ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
	.comm	_EC_R_INCOMPATIBLE_OBJECTS,4,2  ## @EC_R_INCOMPATIBLE_OBJECTS
	.comm	_EC_R_POINT_IS_NOT_ON_CURVE,4,2 ## @EC_R_POINT_IS_NOT_ON_CURVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EC_POINT_set_affine_coordinates ; -- Begin function EC_POINT_set_affine_coordinates
	.p2align	2
_EC_POINT_set_affine_coordinates:       ; @EC_POINT_set_affine_coordinates
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x21
	bl	_ec_point_is_compat
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_9
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_EC_POINT_is_on_curve
	cmp	x0, #0
	b.le	LBB0_7
; %bb.4:
	mov	w0, #1
	b	LBB0_9
LBB0_5:
Lloh0:
	adrp	x8, _ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _EC_R_INCOMPATIBLE_OBJECTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EC_R_INCOMPATIBLE_OBJECTS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x8, _EC_R_POINT_IS_NOT_ON_CURVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EC_R_POINT_IS_NOT_ON_CURVE@GOTPAGEOFF]
LBB0_8:
Lloh6:
	adrp	x9, _EC_F_EC_POINT_SET_AFFINE_COORDINATES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EC_F_EC_POINT_SET_AFFINE_COORDINATES@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_ECerr
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_EC_POINT_SET_AFFINE_COORDINATES,4,2 ; @EC_F_EC_POINT_SET_AFFINE_COORDINATES
	.comm	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED,4,2 ; @ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
	.comm	_EC_R_INCOMPATIBLE_OBJECTS,4,2  ; @EC_R_INCOMPATIBLE_OBJECTS
	.comm	_EC_R_POINT_IS_NOT_ON_CURVE,4,2 ; @EC_R_POINT_IS_NOT_ON_CURVE
.subsections_via_symbols
