	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_remove_question_suffixes
_r_remove_question_suffixes:            ## @r_remove_question_suffixes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_r_has_min_length
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movl	$0, (%rax)
	movl	12(%rbx), %eax
	movl	16(%rbx), %ecx
	movl	%eax, 8(%rbx)
	movl	%ecx, 12(%rbx)
	movl	%ecx, 20(%rbx)
	movq	_a_14@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	12(%rbx), %eax
	movl	%eax, 24(%rbx)
	movq	_s_53@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	movl	$1, (%rax)
LBB0_5:
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_r_fix_endings
	testl	%eax, %eax
	cmovnsl	%r14d, %eax
	cmovel	%r14d, %eax
	movl	$1, %r14d
	cmovsl	%eax, %r14d
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_14,4,2                       ## @a_14
	.comm	_s_53,4,2                       ## @s_53
	.no_dead_strip	_r_remove_question_suffixes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_remove_question_suffixes
_r_remove_question_suffixes:            ; @r_remove_question_suffixes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_r_has_min_length
	mov	x19, x0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x8, [x20]
	str	wzr, [x8]
	ldp	w8, w9, [x20, #12]
	stp	w8, w9, [x20, #8]
	str	w9, [x20, #20]
Lloh0:
	adrp	x8, _a_14@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_14@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #3
	bl	_find_among_b
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x20, #12]
	str	w8, [x20, #24]
Lloh3:
	adrp	x8, _s_53@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_53@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #3
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8]
LBB0_4:
	ldr	w8, [x20, #8]
	str	w8, [x20, #12]
	mov	x0, x20
	bl	_r_fix_endings
	cmp	w0, #0
	csel	w8, w0, w19, lt
	csel	w8, w19, w8, eq
	csinc	w19, w8, wzr, lt
	b	LBB0_6
LBB0_5:
	mov	x19, x0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_a_14,4,2                       ; @a_14
	.comm	_s_53,4,2                       ; @s_53
	.no_dead_strip	_r_remove_question_suffixes
.subsections_via_symbols
