	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function procmatch_match
_procmatch_match:                       ## @procmatch_match
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 32(%rdi)
	je	LBB0_8
## %bb.1:
	movq	_first_match@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	cmpl	$0, (%r14)
	je	LBB0_4
## %bb.3:
	cmpq	$0, 8(%r14)
	jle	LBB0_5
LBB0_4:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_5:
	movq	_Bflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_printqueue
LBB0_7:
	movq	_Aflag@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
LBB0_8:
	cmpq	$0, 16(%r14)
	je	LBB0_14
## %bb.9:
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_printline
	movq	(%rbx), %rax
	movq	_MAX_MATCHES@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jl	LBB0_13
## %bb.10:
	movq	_vflag@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_procline
	xorl	%ecx, %ecx
	cmpl	$0, (%r12)
	sete	%cl
	cmpl	%ecx, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_printline
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jge	LBB0_11
LBB0_13:
	movq	_first_match@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$1, (%r14)
	movq	$0, 8(%r14)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_first_match,4,2                ## @first_match
	.comm	_Bflag,8,3                      ## @Bflag
	.comm	_Aflag,4,2                      ## @Aflag
	.comm	_MAX_MATCHES,8,3                ## @MAX_MATCHES
	.comm	_vflag,4,2                      ## @vflag
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"--"

	.no_dead_strip	_procmatch_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function procmatch_match
_procmatch_match:                       ; @procmatch_match
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
Lloh0:
	adrp	x21, _first_match@GOTPAGE
Lloh1:
	ldr	x21, [x21, _first_match@GOTPAGEOFF]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	w8, [x21]
	cbnz	w8, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_5
LBB0_4:
Lloh2:
	adrp	x0, l_str@PAGE
Lloh3:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_5:
Lloh4:
	adrp	x8, _Bflag@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Bflag@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.6:
	bl	_printqueue
LBB0_7:
Lloh7:
	adrp	x8, _Aflag@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Aflag@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_14
; %bb.9:
	mov	x0, x20
	mov	w1, #58
	bl	_printline
	ldr	x8, [x20]
Lloh10:
	adrp	x22, _MAX_MATCHES@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MAX_MATCHES@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.lt	LBB0_13
; %bb.10:
Lloh12:
	adrp	x23, _vflag@GOTPAGE
Lloh13:
	ldr	x23, [x23, _vflag@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x20]
	mov	x0, x20
	bl	_procline
	ldr	w8, [x23]
	cmp	w8, #0
	cset	w8, eq
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	w1, #58
	bl	_printline
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_11
LBB0_13:
	str	wzr, [x21]
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #8]
LBB0_14:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_first_match,4,2                ; @first_match
	.comm	_Bflag,8,3                      ; @Bflag
	.comm	_Aflag,4,2                      ; @Aflag
	.comm	_MAX_MATCHES,8,3                ; @MAX_MATCHES
	.comm	_vflag,4,2                      ; @vflag
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"--"

	.no_dead_strip	_procmatch_match
.subsections_via_symbols
