	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patmatch
_patmatch:                              ## @patmatch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%r8d, %r9d
	movq	%rcx, %r8
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r8, %rcx
	movl	%r9d, %r8d
	callq	_pcre1match
	jmp	LBB0_5
LBB0_2:
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:
	movq	%r8, %rcx
	movl	%r9d, %r8d
	callq	_pcre2match
	jmp	LBB0_5
LBB0_4:
	subl	%esi, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$1, %ecx
	callq	_regexec_buf
LBB0_5:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_patmatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patmatch
_patmatch:                              ; @patmatch
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x5, x4
	mov	x4, x3
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x3, x4
	mov	x4, x5
	bl	_pcre1match
	b	LBB0_5
LBB0_2:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x3, x4
	mov	x4, x5
	bl	_pcre2match
	b	LBB0_5
LBB0_4:
	sub	w2, w2, w1
	mov	w3, #1
	bl	_regexec_buf
LBB0_5:
	cmp	w0, #0
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_patmatch
.subsections_via_symbols
