	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc_input_unmark
_mpc_input_unmark:                      ## @mpc_input_unmark
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movl	4(%rdi), %edx
	movl	8(%rdi), %ecx
	leal	-1(%rdx), %eax
	movl	%eax, 4(%rdi)
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	decl	%esi
	sarl	%esi
	addl	%esi, %edx
	decl	%edx
	cmpl	%edx, %ecx
	jle	LBB0_4
## %bb.2:
	movq	_MPC_INPUT_MARKS_MIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%esi, %ecx
	jle	LBB0_4
## %bb.3:
	cmpl	%esi, %eax
	cmovgl	%eax, %esi
	movl	%esi, 8(%rbx)
	movq	40(%rbx), %rdi
	shll	$2, %esi
	callq	_realloc
	movq	%rax, 40(%rbx)
	movq	32(%rbx), %rdi
	movl	8(%rbx), %esi
	callq	_realloc
	movq	%rax, 32(%rbx)
LBB0_4:
	movq	16(%rbx), %rax
	movq	_MPC_INPUT_PIPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	cmpl	$0, 4(%rbx)
	jne	LBB0_7
## %bb.6:
	movq	24(%rbx), %rdi
	callq	_free
	movq	$0, 24(%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPC_INPUT_MARKS_MIN,4,2        ## @MPC_INPUT_MARKS_MIN
	.comm	_MPC_INPUT_PIPE,8,3             ## @MPC_INPUT_PIPE
	.no_dead_strip	_mpc_input_unmark
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc_input_unmark
_mpc_input_unmark:                      ; @mpc_input_unmark
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x0
	ldp	w10, w9, [x0, #4]
	sub	w8, w10, #1
	str	w8, [x0, #4]
	cmp	w8, #0
	csel	w10, w10, w8, lt
	add	w10, w8, w10, asr #1
	cmp	w9, w10
	b.le	LBB0_4
; %bb.2:
Lloh0:
	adrp	x10, _MPC_INPUT_MARKS_MIN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MPC_INPUT_MARKS_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.le	LBB0_4
; %bb.3:
	cmp	w8, w10
	csel	w8, w8, w10, gt
	str	w8, [x19, #8]
	ldr	x0, [x19, #40]
	lsl	w1, w8, #2
	bl	_realloc
	str	x0, [x19, #40]
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #8]
	bl	_realloc
	str	x0, [x19, #32]
LBB0_4:
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _MPC_INPUT_PIPE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPC_INPUT_PIPE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_7
; %bb.6:
	ldr	x0, [x19, #24]
	bl	_free
	str	xzr, [x19, #24]
LBB0_7:
	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	_MPC_INPUT_MARKS_MIN,4,2        ; @MPC_INPUT_MARKS_MIN
	.comm	_MPC_INPUT_PIPE,8,3             ; @MPC_INPUT_PIPE
	.no_dead_strip	_mpc_input_unmark
.subsections_via_symbols
