	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GF2m_simple_point_get_affine_coordinates ## -- Begin function ec_GF2m_simple_point_get_affine_coordinates
	.p2align	4, 0x90
_ec_GF2m_simple_point_get_affine_coordinates: ## @ec_GF2m_simple_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	%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	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_EC_POINT_is_at_infinity
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EC_R_POINT_AT_INFINITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_2:
	movl	8(%rbx), %r13d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BN_value_one
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_BN_cmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	jmp	LBB0_11
LBB0_4:
	testq	%r12, %r12
	je	LBB0_7
## %bb.5:
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	callq	_BN_copy
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_BN_set_negative
LBB0_7:
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_BN_copy
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_BN_set_negative
LBB0_10:
	movl	$1, %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES,4,2 ## @EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES
	.comm	_EC_R_POINT_AT_INFINITY,4,2     ## @EC_R_POINT_AT_INFINITY
	.comm	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED,4,2 ## @ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GF2m_simple_point_get_affine_coordinates ; -- Begin function ec_GF2m_simple_point_get_affine_coordinates
	.p2align	2
_ec_GF2m_simple_point_get_affine_coordinates: ; @ec_GF2m_simple_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	x21, x2
	mov	x20, x1
	bl	_EC_POINT_is_at_infinity
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EC_R_POINT_AT_INFINITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EC_R_POINT_AT_INFINITY@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w22, [x20, #8]
	bl	_BN_value_one
	mov	x1, x0
	mov	x0, x22
	bl	_BN_cmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w0, #0
LBB0_5:
	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_6:
	cbz	x21, LBB0_9
; %bb.7:
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_BN_copy
	cbz	w0, LBB0_5
; %bb.8:
	mov	x0, x21
	mov	w1, #0
	bl	_BN_set_negative
LBB0_9:
	cbz	x19, LBB0_12
; %bb.10:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_BN_copy
	cbz	w0, LBB0_5
; %bb.11:
	mov	x0, x19
	mov	w1, #0
	bl	_BN_set_negative
LBB0_12:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES,4,2 ; @EC_F_EC_GF2M_SIMPLE_POINT_GET_AFFINE_COORDINATES
	.comm	_EC_R_POINT_AT_INFINITY,4,2     ; @EC_R_POINT_AT_INFINITY
	.comm	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED,4,2 ; @ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
.subsections_via_symbols
