	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc_input_rewind
_mpc_input_rewind:                      ## @mpc_input_rewind
	.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_4
## %bb.1:
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	movslq	4(%rdi), %rcx
	movl	-4(%rax,%rcx,4), %esi
	movl	%esi, 16(%rdi)
	movq	8(%rdi), %rax
	movq	24(%rdi), %rdx
	movl	-4(%rdx,%rcx,4), %ecx
	movl	%ecx, 32(%rdi)
	movq	_MPC_INPUT_FILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	20(%rbx), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fseek
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mpc_input_unmark               ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPC_INPUT_FILE,8,3             ## @MPC_INPUT_FILE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_mpc_input_rewind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc_input_rewind
_mpc_input_rewind:                      ; @mpc_input_rewind
	.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_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #40]
	ldrsw	x9, [x0, #4]
	lsl	x9, x9, #2
	sub	x9, x9, #4
	ldr	w1, [x8, x9]
	str	w1, [x0, #16]
	ldr	x8, [x0, #24]
	ldr	w8, [x8, x9]
	str	w8, [x0, #32]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _MPC_INPUT_FILE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MPC_INPUT_FILE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19, #20]
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_fseek
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mpc_input_unmark
LBB0_4:
	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_FILE,8,3             ; @MPC_INPUT_FILE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_mpc_input_rewind
.subsections_via_symbols
