	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_executor_errposition           ## -- Begin function executor_errposition
	.p2align	4, 0x90
_executor_errposition:                  ## @executor_errposition
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testl	%esi, %esi
	js	LBB0_3
## %bb.2:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_pg_mbstrlen_with_len
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	popq	%rbp
	jmp	_errposition                    ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_executor_errposition           ; -- Begin function executor_errposition
	.p2align	2
_executor_errposition:                  ; @executor_errposition
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_4
; %bb.1:
	tbnz	w1, #31, LBB0_4
; %bb.2:
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_pg_mbstrlen_with_len
	add	w0, w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_errposition
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
