	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flex_regcomp                   ## -- Begin function flex_regcomp
	.p2align	4, 0x90
_flex_regcomp:                          ## @flex_regcomp
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_regcomp
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %r12d
	movl	$200, %edi
	callq	_flex_alloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	callq	_flexfatal
LBB0_3:
	movl	$200, %edi
	callq	_flex_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	callq	_flexfatal
LBB0_5:
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	$200, %ecx
	callq	_regerror
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	$200, %esi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_snprintf
	movq	%r15, %rdi
	callq	_flexfatal
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate buffer to report regcomp"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to allocate buffer for regerror"

L_.str.2:                               ## @.str.2
	.asciz	"regcomp for \"%s\" failed: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flex_regcomp                   ; -- Begin function flex_regcomp
	.p2align	2
_flex_regcomp:                          ; @flex_regcomp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_regcomp
	cbz	w0, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	w0, #200
	bl	_flex_alloc
	mov	x21, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_flexfatal
LBB0_3:
	mov	w0, #200
	bl	_flex_alloc
	mov	x23, x0
	cbnz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_flexfatal
LBB0_5:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	w3, #200
	bl	_regerror
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w1, #200
	mov	x3, x19
	mov	x4, x23
	bl	_snprintf
	mov	x0, x21
	bl	_flexfatal
	mov	x0, x21
	bl	_free
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_free
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate buffer to report regcomp"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to allocate buffer for regerror"

l_.str.2:                               ; @.str.2
	.asciz	"regcomp for \"%s\" failed: %s"

.subsections_via_symbols
