	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regex_fixed_prefix
_regex_fixed_prefix:                    ## @regex_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	(%rdi), %r14
	movq	_BYTEAOID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r15, %r12
	movl	(%rax), %r15d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movq	%r12, %r15
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	8(%r13), %edi
	callq	_DatumGetTextPP
	leaq	-44(%rbp), %rcx
	movl	%eax, %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_regexp_fixed_prefix
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_string_to_const
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%r15, %r15
	je	LBB0_9
## %bb.6:
	cmpl	$0, -44(%rbp)
	je	LBB0_8
## %bb.7:
	movabsq	$4607182418800017408, %rax      ## imm = 0x3FF0000000000000
	movq	%rax, (%r15)
	jmp	LBB0_9
LBB0_3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	_Pattern_Prefix_None@GOTPCREL(%rip), %rbx
	testq	%r15, %r15
	je	LBB0_12
## %bb.4:
	movl	8(%r13), %edi
	callq	_TextDatumGetCString
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_regex_selectivity
	movsd	%xmm0, (%r15)
	movq	%r14, %rdi
	callq	_pfree
	jmp	LBB0_12
LBB0_8:
	movl	8(%r13), %edi
	callq	_TextDatumGetCString
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	movl	%r12d, %r13d
	movq	%r15, %r12
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_regex_selectivity
	movsd	%xmm0, (%r12)
	movq	%r14, %rdi
	callq	_pfree
LBB0_9:
	movq	%rbx, %rdi
	callq	_pfree
	cmpl	$0, -44(%rbp)
	jne	LBB0_10
## %bb.11:
	movq	_Pattern_Prefix_Partial@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
LBB0_10:
	movq	_Pattern_Prefix_Exact@GOTPCREL(%rip), %rbx
LBB0_12:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BYTEAOID,8,3                   ## @BYTEAOID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regular-expression matching not supported on type bytea"

	.comm	_Pattern_Prefix_None,4,2        ## @Pattern_Prefix_None
	.comm	_Pattern_Prefix_Exact,4,2       ## @Pattern_Prefix_Exact
	.comm	_Pattern_Prefix_Partial,4,2     ## @Pattern_Prefix_Partial
	.no_dead_strip	_regex_fixed_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regex_fixed_prefix
_regex_fixed_prefix:                    ; @regex_fixed_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x0]
Lloh0:
	adrp	x8, _BYTEAOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BYTEAOID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_2:
	ldr	w0, [x21, #8]
	bl	_DatumGetTextPP
	add	x3, sp, #12
	mov	x1, x20
	mov	x2, x23
	bl	_regexp_fixed_prefix
	cbz	x0, LBB0_6
; %bb.3:
	mov	x23, x0
	mov	x1, x24
	bl	_string_to_const
	str	x0, [x22]
	cbz	x19, LBB0_10
; %bb.4:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_9
; %bb.5:
	mov	x8, #4607182418800017408
	str	x8, [x19]
	b	LBB0_10
LBB0_6:
	str	xzr, [x22]
	cbz	x19, LBB0_8
; %bb.7:
	ldr	w0, [x21, #8]
	bl	_TextDatumGetCString
	mov	x21, x0
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	w3, #0
	bl	_regex_selectivity
	str	d0, [x19]
	mov	x0, x21
	bl	_pfree
LBB0_8:
Lloh11:
	adrp	x8, _Pattern_Prefix_None@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Pattern_Prefix_None@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	ldr	w0, [x21, #8]
	bl	_TextDatumGetCString
	mov	x21, x0
	bl	_strlen
	mov	x22, x0
	mov	x0, x23
	bl	_strlen
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_regex_selectivity
	str	d0, [x19]
	mov	x0, x21
	bl	_pfree
LBB0_10:
	mov	x0, x23
	bl	_pfree
	ldr	w8, [sp, #12]
Lloh13:
	adrp	x9, _Pattern_Prefix_Exact@GOTPAGE
Lloh14:
	ldr	x9, [x9, _Pattern_Prefix_Exact@GOTPAGEOFF]
Lloh15:
	adrp	x10, _Pattern_Prefix_Partial@GOTPAGE
Lloh16:
	ldr	x10, [x10, _Pattern_Prefix_Partial@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BYTEAOID,8,3                   ; @BYTEAOID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regular-expression matching not supported on type bytea"

	.comm	_Pattern_Prefix_None,4,2        ; @Pattern_Prefix_None
	.comm	_Pattern_Prefix_Exact,4,2       ; @Pattern_Prefix_Exact
	.comm	_Pattern_Prefix_Partial,4,2     ; @Pattern_Prefix_Partial
	.no_dead_strip	_regex_fixed_prefix
.subsections_via_symbols
