	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regcomp                        ## -- Begin function regcomp
	.p2align	4, 0x90
_regcomp:                               ## @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, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_REG_EXTENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	jne	LBB0_1
## %bb.2:
	movq	_RE_SYNTAX_POSIX_BASIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_RE_SYNTAX_POSIX_EXTENDED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r12d
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r13)
	movq	$0, 40(%r13)
	movq	_BYTEWIDTH@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shll	%cl, %edi
	callq	_malloc
	movq	%rax, (%r13)
	movq	_REG_ICASE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.4:
	movq	_CHAR_SET_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_22
## %bb.5:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	callq	_TOLOWER
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ISUPPER
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %eax
	jmp	LBB0_10
LBB0_11:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 8(%r13)
LBB0_12:
	movq	_REG_NEWLINE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.14:
	movq	_RE_DOT_NEWLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r12d
	movq	_RE_HAT_LISTS_NOT_NEWLINE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	$1, %eax
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
LBB0_15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 16(%r13)
	movq	_REG_NOSUB@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	andl	(%rax), %r15d
	setne	%cl
	movl	%ecx, 20(%r13)
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movq	%r13, %rcx
	callq	_byte_regex_compile
	movq	%rax, %r14
	movq	_REG_ERPAREN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_17
## %bb.16:
	movq	_REG_EPAREN@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_17:
	movq	_REG_NOERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_21
## %bb.18:
	cmpq	$0, (%r13)
	je	LBB0_21
## %bb.19:
	movq	%r13, %rdi
	callq	_re_compile_fastmap
	cmpl	$-2, %eax
	jne	LBB0_21
## %bb.20:
	movq	(%r13), %rdi
	callq	_free
	movq	$0, (%r13)
	jmp	LBB0_21
LBB0_22:
	movq	_REG_ESPACE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_RE_SYNTAX_POSIX_EXTENDED,4,2   ## @RE_SYNTAX_POSIX_EXTENDED
	.comm	_RE_SYNTAX_POSIX_BASIC,4,2      ## @RE_SYNTAX_POSIX_BASIC
	.comm	_BYTEWIDTH,4,2                  ## @BYTEWIDTH
	.comm	_REG_ICASE,4,2                  ## @REG_ICASE
	.comm	_CHAR_SET_SIZE,4,2              ## @CHAR_SET_SIZE
	.comm	_REG_ESPACE,8,3                 ## @REG_ESPACE
	.comm	_REG_NEWLINE,4,2                ## @REG_NEWLINE
	.comm	_RE_DOT_NEWLINE,4,2             ## @RE_DOT_NEWLINE
	.comm	_RE_HAT_LISTS_NOT_NEWLINE,4,2   ## @RE_HAT_LISTS_NOT_NEWLINE
	.comm	_REG_NOSUB,4,2                  ## @REG_NOSUB
	.comm	_REG_ERPAREN,8,3                ## @REG_ERPAREN
	.comm	_REG_EPAREN,8,3                 ## @REG_EPAREN
	.comm	_REG_NOERROR,8,3                ## @REG_NOERROR
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regcomp                        ; -- Begin function regcomp
	.p2align	2
_regcomp:                               ; @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	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_EXTENDED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_EXTENDED@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RE_SYNTAX_POSIX_EXTENDED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RE_SYNTAX_POSIX_EXTENDED@GOTPAGEOFF]
Lloh4:
	adrp	x10, _RE_SYNTAX_POSIX_BASIC@GOTPAGE
Lloh5:
	ldr	x10, [x10, _RE_SYNTAX_POSIX_BASIC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w2
	csel	x8, x10, x9, eq
	ldr	w21, [x8]
	stp	xzr, xzr, [x0, #32]
	str	xzr, [x0, #24]
Lloh7:
	adrp	x8, _BYTEWIDTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BYTEWIDTH@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w0, w9, w8
	bl	_malloc
	str	x0, [x19]
Lloh10:
	adrp	x8, _REG_ICASE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_ICASE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.1:
Lloh13:
	adrp	x24, _CHAR_SET_SIZE@GOTPAGE
Lloh14:
	ldr	x24, [x24, _CHAR_SET_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	w0, w8, #2
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_16
; %bb.2:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x23, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_TOLOWER
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	w0, [x8, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x8, [x24]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ISUPPER
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	b	LBB0_5
LBB0_8:
	str	xzr, [x19, #8]
LBB0_9:
Lloh15:
	adrp	x8, _REG_NEWLINE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_NEWLINE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.10:
Lloh18:
	adrp	x8, _RE_DOT_NEWLINE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RE_DOT_NEWLINE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	bic	w8, w21, w8
Lloh21:
	adrp	x9, _RE_HAT_LISTS_NOT_NEWLINE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RE_HAT_LISTS_NOT_NEWLINE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w21, w8, w9
	mov	w8, #1
	b	LBB0_12
LBB0_11:
	mov	w8, #0
LBB0_12:
Lloh24:
	adrp	x9, _REG_NOSUB@GOTPAGE
Lloh25:
	ldr	x9, [x9, _REG_NOSUB@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w22
	cset	w9, ne
	stp	w8, w9, [x19, #16]
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_byte_regex_compile
Lloh27:
	adrp	x8, _REG_ERPAREN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REG_ERPAREN@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _REG_EPAREN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _REG_EPAREN@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x20, x9, x0, eq
Lloh33:
	adrp	x8, _REG_NOERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _REG_NOERROR@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_17
; %bb.13:
	ldr	x8, [x19]
	cbz	x8, LBB0_17
; %bb.14:
	mov	x0, x19
	bl	_re_compile_fastmap
	cmn	w0, #2
	b.ne	LBB0_17
; %bb.15:
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
	b	LBB0_17
LBB0_16:
Lloh36:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh38:
	ldr	x20, [x8]
LBB0_17:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_RE_SYNTAX_POSIX_EXTENDED,4,2   ; @RE_SYNTAX_POSIX_EXTENDED
	.comm	_RE_SYNTAX_POSIX_BASIC,4,2      ; @RE_SYNTAX_POSIX_BASIC
	.comm	_BYTEWIDTH,4,2                  ; @BYTEWIDTH
	.comm	_REG_ICASE,4,2                  ; @REG_ICASE
	.comm	_CHAR_SET_SIZE,4,2              ; @CHAR_SET_SIZE
	.comm	_REG_ESPACE,8,3                 ; @REG_ESPACE
	.comm	_REG_NEWLINE,4,2                ; @REG_NEWLINE
	.comm	_RE_DOT_NEWLINE,4,2             ; @RE_DOT_NEWLINE
	.comm	_RE_HAT_LISTS_NOT_NEWLINE,4,2   ; @RE_HAT_LISTS_NOT_NEWLINE
	.comm	_REG_NOSUB,4,2                  ; @REG_NOSUB
	.comm	_REG_ERPAREN,8,3                ; @REG_ERPAREN
	.comm	_REG_EPAREN,8,3                 ; @REG_EPAREN
	.comm	_REG_NOERROR,8,3                ; @REG_NOERROR
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
.subsections_via_symbols
