	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regexp_fixed_prefix            ## -- Begin function regexp_fixed_prefix
	.p2align	4, 0x90
_regexp_fixed_prefix:                   ## @regexp_fixed_prefix
	.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	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$0, (%rcx)
	movq	_REG_ADVANCED@GOTPCREL(%rip), %rax
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_REG_ICASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_2:
	orl	(%rax), %esi
	callq	_RE_compile_and_cache
	movq	%rax, %r15
	leaq	-160(%rbp), %rsi
	leaq	-152(%rbp), %rdx
	movq	%rax, %rdi
	callq	_pg_regprefix
	cmpl	$128, %eax
	je	LBB0_8
## %bb.3:
	movl	%eax, %ebx
	cmpl	$129, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$130, %ebx
	jne	LBB0_7
## %bb.6:
	movl	$1, (%r14)
	jmp	LBB0_8
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	leaq	-144(%rbp), %r14
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	$100, %ecx
	callq	_pg_regerror
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_REGULAR_EXPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	xorl	%eax, %eax
	callq	_pg_database_encoding_max_length
	movq	%rax, %rbx
	imulq	-152(%rbp), %rbx
	incq	%rbx
	movq	%rbx, %rdi
	callq	_palloc
	movq	%rax, %r14
	movq	-160(%rbp), %rdi
	movq	-152(%rbp), %rdx
	movq	%rax, %rsi
	callq	_pg_wchar2mb_with_len
	movq	%rax, -152(%rbp)
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setb	%dil
	callq	_Assert
	movq	-160(%rbp), %rdi
	callq	_free
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_ADVANCED,4,2               ## @REG_ADVANCED
	.comm	_REG_ICASE,4,2                  ## @REG_ICASE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_REGULAR_EXPRESSION,4,2 ## @ERRCODE_INVALID_REGULAR_EXPRESSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regular expression failed: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regexp_fixed_prefix            ; -- Begin function regexp_fixed_prefix
	.p2align	2
_regexp_fixed_prefix:                   ; @regexp_fixed_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x3
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	wzr, [x3]
Lloh3:
	adrp	x8, _REG_ADVANCED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_ADVANCED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _REG_ICASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_ICASE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w1, #0
	csel	w9, wzr, w9, eq
	orr	w1, w9, w8
	bl	_RE_compile_and_cache
	mov	x20, x0
	add	x1, sp, #8
	mov	x2, sp
	bl	_pg_regprefix
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.1:
	mov	x21, x0
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w21, #130
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_4:
	mov	x19, #0
	b	LBB0_7
LBB0_5:
	bl	_CHECK_FOR_INTERRUPTS
	add	x2, sp, #20
	mov	x0, x21
	mov	x1, x20
	mov	w3, #100
	bl	_pg_regerror
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _ERRCODE_INVALID_REGULAR_EXPRESSION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_INVALID_REGULAR_EXPRESSION@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_6:
	bl	_pg_database_encoding_max_length
	ldr	x8, [sp]
	orr	x9, xzr, #0x1
	madd	x20, x8, x0, x9
	mov	x0, x20
	bl	_palloc
	mov	x19, x0
	ldp	x2, x0, [sp]
	mov	x1, x19
	bl	_pg_wchar2mb_with_len
	str	x0, [sp]
	cmp	x0, x20
	cset	w0, lo
	bl	_Assert
	ldr	x0, [sp, #8]
	bl	_free
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_ADVANCED,4,2               ; @REG_ADVANCED
	.comm	_REG_ICASE,4,2                  ; @REG_ICASE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_REGULAR_EXPRESSION,4,2 ; @ERRCODE_INVALID_REGULAR_EXPRESSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regular expression failed: %s"

.subsections_via_symbols
