	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_select_comb
_ecp_select_comb:                       ## @ecp_select_comb
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $al killed $al killed $eax
	shrb	%al
	andb	$63, %al
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$4, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movzbl	%al, %r14d
	movzbl	%cl, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%rbx), %rsi
	xorl	%r15d, %r15d
	cmpq	%r13, %r14
	sete	%r15b
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_mbedtls_mpi_safe_cond_assign
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_mbedtls_mpi_safe_cond_assign
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	incq	%r13
	addq	$8, %rbx
	cmpq	%r13, %r12
	jne	LBB0_2
LBB0_3:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shrb	$7, %al
	movzbl	%al, %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ecp_safe_invert_jac
	movl	%eax, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MBEDTLS_MPI_CHK                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ecp_select_comb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecp_select_comb
_ecp_select_comb:                       ; @ecp_select_comb
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x19, x1
	mov	x21, x0
	cbz	w3, LBB0_3
; %bb.1:
	mov	x22, x2
	ubfx	w25, w20, #1, #6
	add	x23, x19, #4
	mov	w26, w3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x22, #4
	cmp	x25, #0
	cset	w24, eq
	mov	x0, x23
	mov	x2, x24
	bl	_mbedtls_mpi_safe_cond_assign
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_mbedtls_mpi_safe_cond_assign
	bl	_MBEDTLS_MPI_CHK
	add	x22, x22, #8
	sub	x25, x25, #1
	subs	x26, x26, #1
	b.ne	LBB0_2
LBB0_3:
	lsr	w2, w20, #7
	mov	x0, x21
	mov	x1, x19
	bl	_ecp_safe_invert_jac
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_MBEDTLS_MPI_CHK
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ecp_select_comb
.subsections_via_symbols
