	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GFp_nistp256_point_get_affine_coordinates ## -- Begin function ec_GFp_nistp256_point_get_affine_coordinates
	.p2align	4, 0x90
_ec_GFp_nistp256_point_get_affine_coordinates: ## @ec_GFp_nistp256_point_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_EC_POINT_is_at_infinity
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EC_R_POINT_AT_INFINITY@GOTPCREL(%rip), %rax
LBB0_10:
	movq	_EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%r12d, %r12d
LBB0_11:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	8(%rbx), %esi
	callq	_BN_to_felem
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movl	4(%rbx), %esi
	callq	_BN_to_felem
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movl	(%rbx), %esi
	callq	_BN_to_felem
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	callq	_felem_inv
	callq	_felem_square
	callq	_felem_reduce
	callq	_felem_mul
	callq	_felem_reduce
	callq	_felem_contract
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_smallfelem_to_BN
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:
	callq	_felem_mul
	callq	_felem_reduce
	callq	_felem_mul
	callq	_felem_reduce
	callq	_felem_contract
	movl	$1, %r12d
	testq	%r14, %r14
	je	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	callq	_smallfelem_to_BN
	testl	%eax, %eax
	jne	LBB0_11
LBB0_9:
	movq	_ERR_R_BN_LIB@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES,4,2 ## @EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES
	.comm	_EC_R_POINT_AT_INFINITY,4,2     ## @EC_R_POINT_AT_INFINITY
	.comm	_ERR_R_BN_LIB,4,2               ## @ERR_R_BN_LIB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GFp_nistp256_point_get_affine_coordinates ; -- Begin function ec_GFp_nistp256_point_get_affine_coordinates
	.p2align	2
_ec_GFp_nistp256_point_get_affine_coordinates: ; @ec_GFp_nistp256_point_get_affine_coordinates
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_EC_POINT_is_at_infinity
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EC_R_POINT_AT_INFINITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_R_POINT_AT_INFINITY@GOTPAGEOFF]
LBB0_2:
Lloh2:
	adrp	x9, _EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_ECerr
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w1, [x21, #8]
	bl	_BN_to_felem
	cbz	w0, LBB0_3
; %bb.5:
	ldr	w1, [x21, #4]
	bl	_BN_to_felem
	cbz	w0, LBB0_3
; %bb.6:
	ldr	w1, [x21]
	bl	_BN_to_felem
	cbz	w0, LBB0_3
; %bb.7:
	bl	_felem_inv
	bl	_felem_square
	bl	_felem_reduce
	bl	_felem_mul
	bl	_felem_reduce
	bl	_felem_contract
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_smallfelem_to_BN
	cbz	w0, LBB0_12
LBB0_9:
	bl	_felem_mul
	bl	_felem_reduce
	bl	_felem_mul
	bl	_felem_reduce
	bl	_felem_contract
	cbz	x19, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_smallfelem_to_BN
	cbz	w0, LBB0_12
LBB0_11:
	mov	w0, #1
	b	LBB0_3
LBB0_12:
Lloh5:
	adrp	x8, _ERR_R_BN_LIB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_BN_LIB@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES,4,2 ; @EC_F_EC_GFP_NISTP256_POINT_GET_AFFINE_COORDINATES
	.comm	_EC_R_POINT_AT_INFINITY,4,2     ; @EC_R_POINT_AT_INFINITY
	.comm	_ERR_R_BN_LIB,4,2               ; @ERR_R_BN_LIB
.subsections_via_symbols
