	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regmatch_strtol                ## -- Begin function regmatch_strtol
	.p2align	4, 0x90
_regmatch_strtol:                       ## @regmatch_strtol
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	js	LBB0_7
## %bb.2:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rbx, %rdi
	callq	_regmatch_len
	cmpl	$19, %eax
	jg	LBB0_4
## %bb.3:
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_regmatch_cpy
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_regmatch_dup
LBB0_5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_strtol
	movl	%eax, %r13d
	leaq	-80(%rbp), %rax
	cmpq	%rax, %rbx
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_free
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_bufsz,4,2                      ## @bufsz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regmatch_strtol                ; -- Begin function regmatch_strtol
	.p2align	2
_regmatch_strtol:                       ; @regmatch_strtol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_4
; %bb.2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x0, x22
	bl	_regmatch_len
	cmp	w0, #19
	b.gt	LBB0_5
; %bb.3:
	add	x1, sp, #4
	mov	x0, x22
	mov	x2, x21
	bl	_regmatch_cpy
	b	LBB0_6
LBB0_4:
	mov	w19, #0
	b	LBB0_8
LBB0_5:
	mov	x0, x22
	mov	x1, x21
	bl	_regmatch_dup
LBB0_6:
	mov	x21, x0
	mov	x1, x20
	mov	x2, x19
	bl	_strtol
	mov	x19, x0
	add	x8, sp, #4
	cmp	x21, x8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_free
LBB0_8:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_bufsz,4,2                      ; @bufsz
.subsections_via_symbols
