	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ecp_point_read_binary  ## -- Begin function mbedtls_ecp_point_read_binary
	.p2align	4, 0x90
_mbedtls_ecp_point_read_binary:         ## @mbedtls_ecp_point_read_binary
	.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
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	cmpb	$0, (%rdx)
	je	LBB0_5
## %bb.2:
	callq	_mbedtls_mpi_size
	cmpb	$4, (%r12)
	jne	LBB0_8
## %bb.3:
	movq	%rax, %r15
	addq	%rax, %rax
	incq	%rax
	cmpq	%rbx, %rax
	jne	LBB0_7
## %bb.4:
	leaq	8(%r14), %rdi
	leaq	1(%r12), %rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_read_binary
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	4(%r14), %rdi
	leaq	(%r12,%r15), %rsi
	incq	%rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_read_binary
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
                                        ## implicit-def: $eax
	jmp	LBB0_10
LBB0_5:
	cmpq	$1, %rbx
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mbedtls_ecp_set_zero           ## TAILCALL
LBB0_7:
	movq	_MBEDTLS_ERR_ECP_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_ECP_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_ECP_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE,4,2 ## @MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ecp_point_read_binary  ; -- Begin function mbedtls_ecp_point_read_binary
	.p2align	2
_mbedtls_ecp_point_read_binary:         ; @mbedtls_ecp_point_read_binary
	.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
	cbz	x3, LBB0_7
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	ldrb	w8, [x2]
	cbz	w8, LBB0_5
; %bb.2:
	bl	_mbedtls_mpi_size
	ldrb	w8, [x21]
	cmp	w8, #4
	b.ne	LBB0_8
; %bb.3:
	mov	x20, x0
	mov	w8, #1
	bfi	x8, x0, #1, #63
	cmp	x8, x22
	b.ne	LBB0_7
; %bb.4:
	add	x0, x19, #8
	add	x21, x21, #1
	mov	x1, x21
	mov	x2, x20
	bl	_mbedtls_mpi_read_binary
	bl	_MBEDTLS_MPI_CHK
	add	x0, x19, #4
	add	x1, x21, x20
	mov	x2, x20
	bl	_mbedtls_mpi_read_binary
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x19
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
                                        ; implicit-def: $w0
	b	LBB0_10
LBB0_5:
	cmp	x22, #1
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	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
	b	_mbedtls_ecp_set_zero
LBB0_7:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_ECP_BAD_INPUT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_ECP_BAD_INPUT_DATA@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_ECP_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_ECP_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE,4,2 ; @MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE
.subsections_via_symbols
