	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RE_compile
_RE_compile:                            ## @RE_compile
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -164(%rbp)                ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_VARSIZE_ANY_EXHDR
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_VARDATA_ANY
	movq	%rax, %rbx
	leal	4(,%r13,4), %edi
	callq	_palloc
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	callq	_pg_mb2wchar_with_len
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movl	%r12d, %ecx
	movl	-164(%rbp), %r8d                ## 4-byte Reload
	callq	_pg_regcomp
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_pfree
	movq	_REG_OKAY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_2
## %bb.1:
	leaq	-160(%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_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_OKAY,4,2                   ## @REG_OKAY
	.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	"invalid regular expression: %s"

	.no_dead_strip	_RE_compile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RE_compile
_RE_compile:                            ; @RE_compile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	x0, x1
	bl	_VARSIZE_ANY_EXHDR
	mov	x23, x0
	mov	x0, x22
	bl	_VARDATA_ANY
	mov	x22, x0
	lsl	w8, w23, #2
	add	w0, w8, #4
	bl	_palloc
	mov	x24, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_pg_mb2wchar_with_len
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	mov	x3, x21
	mov	x4, x20
	bl	_pg_regcomp
	mov	x20, x0
	mov	x0, x24
	bl	_pfree
Lloh3:
	adrp	x8, _REG_OKAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_OKAY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w20, w8
	b.eq	LBB0_2
; %bb.1:
	add	x2, sp, #4
	mov	x0, x20
	mov	x1, x19
	mov	w3, #100
	bl	_pg_regerror
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _ERRCODE_INVALID_REGULAR_EXPRESSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_INVALID_REGULAR_EXPRESSION@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #4
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_OKAY,4,2                   ; @REG_OKAY
	.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	"invalid regular expression: %s"

	.no_dead_strip	_RE_compile
.subsections_via_symbols
