	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_one_pattern
_match_one_pattern:                     ## @match_one_pattern
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movq	%rdx, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	_GREP_PATTERN@GOTPCREL(%rip), %rsi
	movq	_GREP_PATTERN_HEAD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rsi), %rax
	je	LBB0_2
## %bb.1:
	cmpq	%rdx, %rax
	setne	%bl
	movq	_GREP_CONTEXT_HEAD@GOTPCREL(%rip), %rsi
	cmpl	%ecx, (%rsi)
	sete	%cl
	xorl	%r14d, %r14d
	cmpb	%cl, %bl
	je	LBB0_37
LBB0_2:
	cmpq	%rdx, %rax
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	jne	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %r12
	movq	_header_field@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpq	%rax, %r12
	setb	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	8(%rbx), %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rsi
	movq	8(%rax,%rcx), %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_strncmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_37
## %bb.4:
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	andq	$-2, %rax
	cmpq	$128, %rax
	jne	LBB0_28
## %bb.5:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strip_timestamp
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r15
	jmp	LBB0_7
LBB0_6:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	_REG_NOTBOL@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	cmpq	%r15, %rbx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jae	LBB0_31
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_patmatch
	testl	%eax, %eax
	je	LBB0_31
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %r15d
	cmpq	$0, 16(%r12)
	je	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %eax
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rcx
	subq	%rbx, %rcx
	cmpq	%rax, %rcx
	jge	LBB0_24
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_die
	movl	(%r12), %eax
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	cltq
	movsbl	-1(%rax,%rbx), %edi
	callq	_word_char
	testq	%rax, %rax
	jne	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	4(%r12), %rax
	movq	-56(%rbp), %rcx
	subq	%rbx, %rcx
	cmpq	%rax, %rcx
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movsbl	(%rbx,%rax), %edi
	callq	_word_char
	testq	%rax, %rax
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r12), %eax
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r12), %eax
	cmpl	4(%r12), %eax
	jne	LBB0_29
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	cltq
	leaq	(%rbx,%rax), %rcx
	incq	%rcx
	cmpq	-56(%rbp), %rcx
	jae	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	%rax, %rbx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	incq	%rbx
	callq	_word_char
	movq	-56(%rbp), %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	cmpq	%r15, %rbx
	jb	LBB0_22
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	4(%r12), %rdx
	testq	%rdx, %rdx
	js	LBB0_13
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rdx, %rcx
	jge	LBB0_14
	jmp	LBB0_13
LBB0_26:
	movl	%r15d, %r14d
	jmp	LBB0_31
LBB0_28:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_29:
	movl	%r15d, %r14d
LBB0_30:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_31:
	movq	(%r12), %rax
	movq	_GREP_PATTERN_HEAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_34
## %bb.32:
	testl	%ecx, %ecx
	je	LBB0_34
## %bb.33:
	movq	-56(%rbp), %rax
	movb	%cl, (%rax)
LBB0_34:
	testl	%r14d, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_36
## %bb.35:
	subl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%ebx, (%rax)
	addl	%ebx, 4(%rax)
	jmp	LBB0_37
LBB0_36:
	xorl	%r14d, %r14d
LBB0_37:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GREP_PATTERN,8,3               ## @GREP_PATTERN
	.comm	_GREP_PATTERN_HEAD,8,3          ## @GREP_PATTERN_HEAD
	.comm	_GREP_CONTEXT_HEAD,4,2          ## @GREP_CONTEXT_HEAD
	.comm	_header_field,8,3               ## @header_field
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regexp returned nonsense"

	.comm	_REG_NOTBOL,4,2                 ## @REG_NOTBOL
	.no_dead_strip	_match_one_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_one_pattern
_match_one_pattern:                     ; @match_one_pattern
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x19, x4
	mov	x26, x2
	mov	x20, x1
	mov	x21, x0
	str	x2, [sp, #8]
Lloh0:
	adrp	x9, _GREP_PATTERN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GREP_PATTERN@GOTPAGEOFF]
	ldr	x8, [x0]
Lloh2:
	ldr	x10, [x9]
Lloh3:
	adrp	x27, _GREP_PATTERN_HEAD@GOTPAGE
Lloh4:
	ldr	x27, [x27, _GREP_PATTERN_HEAD@GOTPAGEOFF]
	ldr	x9, [x27]
	cmp	x8, x10
	b.eq	LBB0_2
; %bb.1:
	cmp	x8, x9
	cset	w10, ne
Lloh5:
	adrp	x11, _GREP_CONTEXT_HEAD@GOTPAGE
Lloh6:
	ldr	x11, [x11, _GREP_CONTEXT_HEAD@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	cmp	w11, w3
	cset	w11, eq
	cmp	w10, w11
	b.eq	LBB0_4
LBB0_2:
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x23, [x21, #8]
Lloh8:
	adrp	x24, _header_field@GOTPAGE
Lloh9:
	ldr	x24, [x24, _header_field@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	x23, x0
	cset	w0, lo
	bl	_assert
	ldr	x8, [x24]
	ldr	x9, [x21, #8]
	add	x8, x8, x9, lsl #4
	ldp	x1, x23, [x8]
	mov	x0, x20
	mov	x2, x23
	bl	_strncmp
	cbz	x0, LBB0_30
LBB0_4:
	mov	w26, #0
	b	LBB0_29
LBB0_5:
	mov	w24, #0
	mov	x23, x20
LBB0_6:
Lloh10:
	adrp	x25, l_.str@PAGE
Lloh11:
	add	x25, x25, l_.str@PAGEOFF
Lloh12:
	adrp	x28, _REG_NOTBOL@GOTPAGE
Lloh13:
	ldr	x28, [x28, _REG_NOTBOL@GOTPAGEOFF]
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x26
	mov	x3, x19
	mov	x4, x22
	bl	_patmatch
	mov	x26, x0
	cbz	w0, LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_25
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19]
	tbnz	w8, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [sp, #8]
	sub	x9, x9, x23
	cmp	x9, x8
	b.ge	LBB0_22
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_die
	ldr	w8, [x19]
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x23, w8, sxtw
	ldursb	w0, [x8, #-1]
	bl	_word_char
	cbnz	x0, LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x8, [x19, #4]
	ldr	x9, [sp, #8]
	sub	x9, x9, x23
	cmp	x9, x8
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrsb	w0, [x23, x8]
	bl	_word_char
	cbz	x0, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_25
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x8, w8
	add	x8, x23, x8
	add	x9, x8, #1
	ldr	x10, [sp, #8]
	cmp	x9, x10
	b.hs	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x23, x8
LBB0_20:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x23], #1
	bl	_word_char
	ldr	x26, [sp, #8]
	cmp	x0, #0
	ccmp	x23, x26, #2, ne
	b.lo	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	orr	w22, w8, w22
	cmp	x23, x26
	b.lo	LBB0_7
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x10, [x19, #4]
	tbnz	w10, #31, LBB0_11
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x9, x10
	b.ge	LBB0_12
	b	LBB0_11
LBB0_24:
	mov	w26, #0
LBB0_25:
	ldr	x8, [x21]
	ldr	x9, [x27]
	cmp	x8, x9
	ccmp	w24, #0, #4, eq
	b.eq	LBB0_27
; %bb.26:
	ldr	x8, [sp, #8]
	strb	w24, [x8]
LBB0_27:
	cbz	w26, LBB0_29
; %bb.28:
	sub	w8, w23, w20
	ldr	d0, [x19]
	dup.2s	v1, w8
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_29:
	mov	x0, x26
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_30:
	add	x23, x20, x23
	ldr	x8, [x21, #8]
	and	x8, x8, #0xfffffffffffffffe
	cmp	x8, #128
	b.ne	LBB0_32
; %bb.31:
	add	x1, sp, #8
	mov	x0, x23
	bl	_strip_timestamp
	mov	x24, x0
	ldr	x26, [sp, #8]
	b	LBB0_6
LBB0_32:
	mov	w24, #0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GREP_PATTERN,8,3               ; @GREP_PATTERN
	.comm	_GREP_PATTERN_HEAD,8,3          ; @GREP_PATTERN_HEAD
	.comm	_GREP_CONTEXT_HEAD,4,2          ; @GREP_CONTEXT_HEAD
	.comm	_header_field,8,3               ; @header_field
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regexp returned nonsense"

	.comm	_REG_NOTBOL,4,2                 ; @REG_NOTBOL
	.no_dead_strip	_match_one_pattern
.subsections_via_symbols
