	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esc_dec_len
_esc_dec_len:                           ## @esc_dec_len
	.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
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	%esi, %r15d
	addq	%rdi, %r15
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpq	%r15, %r14
	jae	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$92, (%r14)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	3(%r14), %rax
	cmpq	%r15, %rax
	jae	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%r14), %ecx
	andb	$-4, %cl
	cmpb	$48, %cl
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	2(%r14), %ecx
	andb	$-8, %cl
	cmpb	$48, %cl
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rax), %eax
	andb	$-8, %al
	cmpb	$48, %al
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r14), %rax
	cmpq	%r15, %rax
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$92, (%rax)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_errmsg
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_14
LBB0_1:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ## @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid input syntax for type %s"

L_.str.1:                               ## @.str.1
	.asciz	"bytea"

	.no_dead_strip	_esc_dec_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esc_dec_len
_esc_dec_len:                           ; @esc_dec_len
	.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
	cbz	w1, LBB0_14
; %bb.1:
	mov	x20, x0
	mov	w19, #0
	add	x24, x0, w1, uxtw
Lloh0:
	adrp	x25, _ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	cmp	x20, x24
	b.hs	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #92
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x20, #3
	cmp	x8, x24
	b.hs	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x20, #1]
	and	w9, w9, #0xfc
	cmp	w9, #48
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x20, #2]
	and	w9, w9, #0xf8
	cmp	w9, #48
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x8]
	and	w8, w8, #0xf8
	cmp	w8, #48
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #4
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x20, #1
	cmp	x8, x24
	b.hs	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x8]
	cmp	w8, #92
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #2
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w23, [x25]
	ldr	w0, [x26]
	bl	_errcode
	mov	x0, x21
	mov	x1, x22
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	b	LBB0_3
LBB0_14:
	mov	w19, #0
LBB0_15:
	mov	x0, x19
	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
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ; @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid input syntax for type %s"

l_.str.1:                               ; @.str.1
	.asciz	"bytea"

	.no_dead_strip	_esc_dec_len
.subsections_via_symbols
