	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_position_ex
_get_position_ex:                       ## @get_position_ex
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	(%rdx), %rdi
	leal	(,%r15,4), %edx
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rcx
	movslq	%r12d, %rdx
	movl	(%rcx,%rdx,4), %esi
	leal	(%rsi,%rsi,4), %esi
	leal	(%rax,%rsi,2), %eax
	addl	$-48, %eax
	movl	%eax, (%rcx,%rdx,4)
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$93, %al
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r15d, %r12d
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	jbe	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	cmpb	$44, %al
	sete	%cl
	addl	%ecx, %r12d
	incq	%rbx
	jmp	LBB0_1
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_position_ex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_position_ex
_get_position_ex:                       ; @get_position_ex
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x2]
	lsl	w2, w21, #2
	mov	w1, #0
	bl	_memset
	mov	w8, #0
	mov	w9, #10
	ldrb	w10, [x20]
	cbnz	w10, LBB0_2
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x19]
	sbfiz	x12, x8, #2, #32
	ldr	w13, [x11, x12]
	madd	w10, w13, w9, w10
	sub	w10, w10, #48
	str	w10, [x11, x12]
	add	x20, x20, #1
	ldrb	w10, [x20]
	cbz	w10, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #93
	ccmp	w8, w21, #0, ne
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w10, w10
	sub	w11, w10, #48
	cmp	w11, #9
	b.ls	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, #44
	cinc	w8, w8, eq
	add	x20, x20, #1
	ldrb	w10, [x20]
	cbnz	w10, LBB0_2
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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_position_ex
.subsections_via_symbols
