	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roff_evalstrcond
_roff_evalstrcond:                      ## @roff_evalstrcond
	.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, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movslq	(%rsi), %rax
	leaq	1(%rdi,%rax), %rbx
	movb	(%rdi,%rax), %r14b
	movsbl	%r14b, %r13d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rcx
	incq	%rax
	movb	1(%rcx), %cl
	xorl	%r15d, %r15d
	testb	%cl, %cl
	je	LBB0_8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	%cl, (%rbx)
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%r14b, %cl
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movzbl	1(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_2
## %bb.5:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_6:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_7:
	movq	%rbx, %rdi
	callq	_strlen
	addq	%rbx, %rax
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_9:
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_strchr
	testq	%rax, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_7
## %bb.10:
	movb	(%rax), %r14b
	jmp	LBB0_13
LBB0_11:
	movl	$1, %r15d
LBB0_12:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_13:
	cmpb	$1, %r14b
	sbbq	$-1, %rax
LBB0_14:
	subl	%r12d, %eax
	movl	%eax, (%r13)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_roff_evalstrcond
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roff_evalstrcond
_roff_evalstrcond:                      ; @roff_evalstrcond
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldrsw	x8, [x1]
	add	x21, x0, x8
	ldrsb	w22, [x21], #1
	mov	x0, x21
	mov	x1, x22
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.1:
	ldrb	w8, [x0, #1]!
	cbz	w8, LBB0_6
; %bb.2:
	and	w9, w22, #0xff
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x21]
	cmp	w10, w8, uxtb
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, w8, uxtb
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrb	w8, [x0, #1]!
	cbnz	w8, LBB0_3
LBB0_6:
	mov	w9, #0
	b	LBB0_11
LBB0_7:
	sxtb	w1, w9
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.8:
	mov	w8, #0
	ldrb	w9, [x0]
	b	LBB0_11
LBB0_9:
	mov	x0, x21
	bl	_strlen
	mov	w8, #0
	add	x9, x21, x0
	b	LBB0_12
LBB0_10:
	mov	w8, #1
LBB0_11:
	cmp	w9, #0
	cinc	x9, x0, ne
LBB0_12:
	sub	w9, w9, w20
	str	w9, [x19]
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_roff_evalstrcond
.subsections_via_symbols
