	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpmatch                        ## -- Begin function rpmatch
	.p2align	4, 0x90
_rpmatch:                               ## @rpmatch
	.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
	movq	%rdi, %r14
	movq	_YESEXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nl_langinfo
	movq	_REG_EXTENDED@GOTPCREL(%rip), %r15
	movq	_REG_NOSUB@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	(%r15), %edx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_regcomp
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_NOEXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nl_langinfo
	movl	(%r13), %edx
	orl	(%r15), %edx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_regcomp
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	xorl	%r12d, %r12d
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	negq	%rax
	sbbl	%r12d, %r12d
	jmp	LBB0_5
LBB0_3:
	movl	$1, %r12d
LBB0_5:
	leaq	-44(%rbp), %rdi
	callq	_regfree
	movq	%r15, %rbx
LBB0_6:
	movq	%rbx, %rdi
	callq	_regfree
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YESEXPR,4,2                    ## @YESEXPR
	.comm	_REG_EXTENDED,4,2               ## @REG_EXTENDED
	.comm	_REG_NOSUB,4,2                  ## @REG_NOSUB
	.comm	_NOEXPR,4,2                     ## @NOEXPR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpmatch                        ; -- Begin function rpmatch
	.p2align	2
_rpmatch:                               ; @rpmatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _YESEXPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YESEXPR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_nl_langinfo
	mov	x1, x0
Lloh3:
	adrp	x20, _REG_EXTENDED@GOTPAGE
Lloh4:
	ldr	x20, [x20, _REG_EXTENDED@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh5:
	adrp	x21, _REG_NOSUB@GOTPAGE
Lloh6:
	ldr	x21, [x21, _REG_NOSUB@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w2, w9, w8
	add	x0, sp, #12
	bl	_regcomp
	cbz	x0, LBB0_2
; %bb.1:
	mov	w19, #-1
	b	LBB0_9
LBB0_2:
Lloh7:
	adrp	x8, _NOEXPR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NOEXPR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_nl_langinfo
	mov	x1, x0
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w2, w9, w8
	add	x0, sp, #8
	bl	_regcomp
	cbz	x0, LBB0_4
; %bb.3:
	mov	w19, #-1
	add	x0, sp, #12
	b	LBB0_8
LBB0_4:
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cbz	x0, LBB0_6
; %bb.5:
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	cmp	x0, #0
	csetm	w19, ne
	b	LBB0_7
LBB0_6:
	mov	w19, #1
LBB0_7:
	add	x0, sp, #12
	bl	_regfree
	add	x0, sp, #8
LBB0_8:
	bl	_regfree
LBB0_9:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_YESEXPR,4,2                    ; @YESEXPR
	.comm	_REG_EXTENDED,4,2               ; @REG_EXTENDED
	.comm	_REG_NOSUB,4,2                  ; @REG_NOSUB
	.comm	_NOEXPR,4,2                     ; @NOEXPR
.subsections_via_symbols
